Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(add conditional checklist66 to the outside article)
imported>Chris Day
(add conditional checklist66 to the outside article)
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) ***


-->{{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|}}} }} }} }}
-->{{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|}}} }} }} }}
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
                  |(All Subpage articles)  {{#ifeq:{{{subpagename|}}}|Unused
                        | <!--(Draft)--> (Draft)
                        |<!--Unused subpages--> (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)-->  (approval subpage)           

Revision as of 01:16, 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).