Template talk:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
imported>Chris Day
No edit summary
Line 4: Line 4:
==checklist66==
==checklist66==


<code>
<pre>
{{#ifeq:{{SUBPAGENAME}}|Approval|[[Category:Articles to Approve]]
{{#ifeq:{{SUBPAGENAME}}|Approval|[[Category:Articles to Approve]]
         {{#if:{{{group2|}}}
         {{#if:{{{group2|}}}
Line 10: Line 10:
                     |[[Category:{{{group}}} to Approve]][[Category:{{{group2}}} to Approve]][[Category:{{{group3}}} to Approve]]
                     |[[Category:{{{group}}} to Approve]][[Category:{{{group2}}} to Approve]][[Category:{{{group3}}} to Approve]]
                     |[[Category:{{{group}}} to Approve]][[Category:{{{group2}}} to Approve]]}}
                     |[[Category:{{{group}}} to Approve]][[Category:{{{group2}}} to Approve]]}}
               |[[Category:{{{group}}} to Approve]]}} |}}</includeonly>
               |[[Category:{{{group}}} to Approve]]}} |}}
{{{!}}class=noprint width=95% border="0" cellpadding="5" cellspacing="0" style="text-align: left; border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #eeeeee; border-collapse:collapse"
{{{!}}class=noprint width=95% border="0" cellpadding="5" cellspacing="0" style="text-align: left; border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #eeeeee; border-collapse:collapse"
{{!}}style="background:lightgreen"{{!}} [[Image:toapprove.png|left|50px]] '''[[User:{{{ToA editor}}}|{{{ToA editor}}}]]''' <!--
{{!}}style="background:lightgreen"{{!}} [[Image:toapprove.png|left|50px]] '''[[User:{{{ToA editor}}}|{{{ToA editor}}}]]''' <!--
Line 54: Line 54:
                             |}} }} }}
                             |}} }} }}
{{!}}}  
{{!}}}  
</code>
</pre>


==test==
==test==

Revision as of 02:40, 6 October 2007

checklist poisons the subpages function

Checklist 66 seems to interfere with the function of the subpages template on the subsubpage. Chris Day (talk) 03:37, 6 October 2007 (CDT)

checklist66

{{#ifeq:{{SUBPAGENAME}}|Approval|[[Category:Articles to Approve]]
         {{#if:{{{group2|}}}
               |{{#if:{{{group3|}}}
                    |[[Category:{{{group}}} to Approve]][[Category:{{{group2}}} to Approve]][[Category:{{{group3}}} to Approve]]
                    |[[Category:{{{group}}} to Approve]][[Category:{{{group2}}} to Approve]]}}
               |[[Category:{{{group}}} to Approve]]}} |}}
{{{!}}class=noprint width=95% border="0" cellpadding="5" cellspacing="0" style="text-align: left; border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #eeeeee; border-collapse:collapse"
{{!}}style="background:lightgreen"{{!}} [[Image:toapprove.png|left|50px]] '''[[User:{{{ToA editor}}}|{{{ToA editor}}}]]''' <!--

***This determines what is up for approval; the whole cluster, a subpage, the article or both.***

-->{{#if:{{{cluster|}}}
              |has nominated the whole '''{{BASEPAGENAME}} Cluster''' for approval including [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of the article as well as all the subpages. 
              |{{#if:{{{article url|}}}
                    |{{#if:{{{subpage url|}}}
                            |has nominated [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of the article as well as [{{{subpage url}}} one subpage] for approval.
                            |has nominated [{{{article url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of this article for approval.}}
                    |{{#if:{{{subpage url|}}}
                            |has nominated [{{{subpage url}}} {{#if:{{{now|}}}|the version dated {{{now}}}|this version}}] of a subpage in this cluster for approval.
                            |will be nominating this article for approval in the near future. }} }} }} <!--

***This code adds the approval editors names, upto four can be added.***

-->{{#if:{{{ToA editor2|}}}
          |{{#if:{{{ToA editor3|}}}
               |Two other editors currently support the approval ([[User:{{{ToA editor2}}}|{{{ToA editor2}}}]] and [[User:{{{ToA editor3}}}|{{{ToA editor3}}}]]).
               |One other editor currently supports the approval ([[User:{{{ToA editor2}}}|{{{ToA editor2}}}]]).}} 
          |Other editors may also sign to support approval.}} <!--

***This code adds the workgroup names, upto three can be used from the metadata page.***

-->The {{#if:{{{group}}}
          |{{#if:{{{group2|}}}
               |{{#if:{{{group3|}}}
                    |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]], [[CZ:{{{group2}}} Workgroup|{{{group2}}} Workgroup]] and [[CZ:{{{group3}}} Workgroup|{{{group3}}} Workgroup]] are
                    |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] and [[CZ:{{{group2}}} Workgroup|{{{group2}}} Workgroup]] are}}
               |[[CZ:{{{group}}} Workgroup|{{{group}}} Workgroup]] is}}
          |an unknown workgroup is}} overseeing this approval. <!--

***This code adds the date for approval unless no url has been specificed.***

-->{{#if:{{{cluster|}}}
              |Unless this notice is removed, the article will be approved on  '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.'''  
              |{{#if:{{{article url|}}}
                    |Unless this notice is removed, the article will be approved on  '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.'''
                    |{{#if:{{{subpage url|}}}
                            |Unless this notice is removed, the article will be approved on  '''{{#if: {{{date}}}|{{{date}}}|{{AddDays|3}}}}.'''
                            |}} }} }}
{{!}}} 

test

{{{basepagename|}}} {{{basepagename}}} {{{fullpagename|}}} {{{fullpagename}}} {{{pagename|}}} {{{pagename}}}
{{{name|}}} {{{name}}} {{{subpagename|}}} {{{subpagename}}} {{{namespace|}}} {{{namespace}}}
{{{type|}}} {{{type}}} {{{pagename}}} {{{pagename}}} {{{variant}}} {{{variant}}}
{{{abc}}} {{{abc}}} {{{cat_check}}} {{{cat_check}}} {{{status}}} {{{status}}}
{{{underlinked}}} {{{underlinked}}} {{{cleanup}}} {{{cleanup}}} {{{by}}} {{{by}}}
{{{group}}} {{{group}}}
{{SUBPAGENAME}} Subpage style {{FULLPAGENAME}} Template talk:Subpage style {{BASEPAGENAME}} Subpage style
{{PAGENAME}} Subpage style [[/]] Template talk:Subpage style/ [[../]] [[../]]
[[../../]] [[../../]] {{/}} Template talk:Subpage style/ {{../}} {{../}}
{{../../}} {{../../}} {{NAMESPACE}} Template talk