Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(66 back)
Line 188: Line 188:
         | <!--(Article)-->{{#ifeq:{{{status|}}}|0||{{#if:{{{ToA editor| }}}|<!--
         | <!--(Article)-->{{#ifeq:{{{status|}}}|0||{{#if:{{{ToA editor| }}}|<!--


***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section.***
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section. Does not add the template to an approved version (in that case adds the template to the draft version) ***


-->'''ToApprove template will go here.''' }} }}
-->{{Checklist66|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cluster= {{{cluster|}}}|article url= {{{article url|}}}|subpage url= {{{subpage url|}}}|now= {{{now|}}}|date= {{{date|}}}|ToA editor= {{{ToA editor|}}}|ToA editor2= {{{ToA editor2|}}}|ToA editor3= {{{ToA editor3|}}} }} }} }}
             | {{ #ifeq: {{{type}}}|subsubpage
             | {{ #ifeq: {{{type}}}|subsubpage
                               | {{#ifeq:{{{namespace|}}}|Talk
                               | {{#ifeq:{{{namespace|}}}|Talk
Line 200: Line 200:
                                                |<!--(timeline sub-subpage)-->(timeline sub-subpage)
                                                |<!--(timeline sub-subpage)-->(timeline sub-subpage)
                                                             |(other sub-subpage) }} }} }} }}
                                                             |(other sub-subpage) }} }} }} }}
                  |(All Subpage articles)  {{#ifeq:{{{subpagename|}}}|Draft
                  |{{#ifeq:{{{subpagename|}}}|Unused
                        | <!--(Draft)--> (Draft)
                        |<!--Unused subpages-->
                                       |{{#ifeq:{{{subpagename|}}}|Unused
                                       |{{#if:{{{ToA editor| }}}|<!--
                     | <!--Unused subpages--> (Unused subpages)
 
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section. It adds the ToApprove template to all subpages except for the unused subpages page***
 
-->{{Checklist66|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cluster= {{{cluster|}}}|article url= {{{article url|}}}|subpage url= {{{subpage url|}}}|now= {{{now|}}}|date= {{{date|}}}|ToA editor= {{{ToA editor|}}}|ToA editor2= {{{ToA editor2|}}}|ToA editor3= {{{ToA editor3|}}} }} }}{{#ifeq:{{{subpagename|}}}|Draft
                     |<!--(Draft)-->
                     | {{#ifeq:{{{subpagename|}}}|Approval
                     | {{#ifeq:{{{subpagename|}}}|Approval
                                               |<!--(approval subpage)--> (approval subpage)         
                                               |<!--(approval subpage)-->        
                                               |<!--(All other subpage articles but not approval, unused or draft)--> (All Subpage articles except draft, approval and unused pages) }} }} }} }} }}
                                               |<!--(All other subpage articles but not approval, unused or draft)-->}} }} }} }} }}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
               |<!--(All subpage Talk pages)-->(All subpage Talk pages) {{#ifeq:{{{subpagename|}}}|Draft
               |<!--(All subpage Talk pages)-->{{#ifeq:{{{subpagename|}}}|Draft
                   | <!--(Draft Talk page) --> (Draft Talk page)
                   | <!--(Draft Talk page) -->{{#ifeq:{{{status|}}}|0|{{#if:{{{ToA editor| }}}|<!--
                   | <!--(All subpage Talk pages other than draft)--> (All subpage Talk pages other than draft)}}
 
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section. AND the article is already approved***
 
-->{{Checklist66|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cluster= {{{cluster|}}}|article url= {{{article url|}}}|subpage url= {{{subpage url|}}}|now= {{{now|}}}|date= {{{date|}}}|ToA editor= {{{ToA editor|}}}|ToA editor2= {{{ToA editor2|}}}|ToA editor3= {{{ToA editor3|}}} }} }}}}
                   | <!--(All subpage Talk pages other than draft)-->}}
               | {{#ifeq:{{{namespace|}}}|Talk
               | {{#ifeq:{{{namespace|}}}|Talk
                   | <!--(Article Talk page)--> (Article Talk page)
                   | <!--(Article Talk page)-->{{#ifeq:{{{status|}}}|0| |{{#if:{{{ToA editor| }}}|<!--
 
***This To Approve template is only activated in the cluster when an editor adds their name to the metadata ToApprove section. And when this is the first time the article is being approved. ***
 
-->{{Checklist66|group= {{{group|}}}|group2= {{{group2|}}}|group3={{{group3|}}}|abc={{{abc|}}}|cluster= {{{cluster|}}}|article url= {{{article url|}}}|subpage url= {{{subpage url|}}}|now= {{{now|}}}|date= {{{date|}}}|ToA editor= {{{ToA editor|}}}|ToA editor2= {{{ToA editor2|}}}|ToA editor3= {{{ToA editor3|}}} }} }}}}
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
              |<!--(the metadata template)-->This is a central location for all information relating to the ''{{{pagename|}}} cluster''. It is critical to keep this page updated since the {{tl|subpages}} and related templates use this information for the placement of categories and header templates in the cluster.
              |<!--(the metadata template)-->This is a central location for all information relating to the ''{{{pagename|}}} cluster''. It is critical to keep this page updated since the {{tl|subpages}} and related templates use this information for the placement of categories and header templates in the cluster.

Revision as of 04:15, 6 October 2007


Usage

See CZ:Using the Subpages template for information on how to use this template. See CZ:Subpages for an introduction to the concept and our use of subpages.

Examples of this templates use can be found at the Test article cluster (unapproved) and the Biology cluster (approved).