Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 243: Line 243:
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
               |<!--(All subpage Talk pages)-->{{#ifeq:{{{subpagename|}}}|Draft
               |<!--(All subpage Talk pages)-->{{#ifeq:{{{subpagename|}}}|Draft
                   | <!--(Draft Talk page) -->{{#ifeq:{{{status|}}}|0|{{#if:{{{ToA editor| }}}|<!--
                   | <!--(Draft 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 the article is already approved***
                                                |<!--(ToApprove information here if approval is being updated)-->
 
                                                |<!--(Draft talk page info when approved but not reapproving)-->}}
-->'''ToApprove template will go here.''' }}}}
                                        |<!--(Article not approved: in theory the draft page will not exist unless the article has been approved)-->}}
                   | <!--(All subpage Talk pages other than draft)-->}}
                   | <!--(All subpage Talk pages other than draft)-->}}
               | {{#ifeq:{{{namespace|}}}|Talk
               | {{#ifeq:{{{namespace|}}}|Talk
                   | <!--(Article Talk page)-->{{#ifeq:{{{status|}}}|0| |{{#if:{{{ToA editor| }}}|<!--
                   | <!--(Article Talk page)-->{{#ifeq:{{{status|}}}|0
 
                                    |<!--(not used: a redirect to the draft page talk is here after approval)-->
***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. ***
                                    |{{#if:{{{ToA editor| }}}
 
                                                |<!--(ToApprove information here if being approved for the first time)-->
-->'''ToApprove template will go here.''' }}}}
                                                |}}}}
           | {{#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)-->
 
'''General article properties'''
:pagename = {{{pagename|}}}
:variant = {{{variant|}}}
 
'''Required for checklist'''
:abc ={{{abc|}}}
:cat_check =  {{{cat_check|}}}
:status = {{{status|}}}
:underlinked =  {{{underlinked|}}}
:cleanup =  {{{cleanup|}}}
:by ={{{by|}}}
:cat1 ={{{group|}}}
:cat2 = {{{group2|}}}
:cat3 = {{{group3|}}}
 
'''Required for the ''{{tl|ToApprove}}'' template'''
:article url =  {{{article url|}}}
:subpage url =  {{{subpage url|}}}
:cluster =  {{{cluster|}}}
:now = {{{now|}}}
:ToA editor = {{{ToA editor|}}}
:ToA editor2 ={{{ToA editor2|}}}
:ToA editor3 = {{{ToA editor3|}}}
:date = {{{date|}}}
 
'''Required for the ''{{tl|Approved}}'' template'''
:The status parameter in the checklist (see above) of approved versions must be set to 0 (zero).
::A editor = {{{A editor|}}}
::A editor2 = {{{A editor2|}}}
::A editor3 ={{{A editor3|}}}
                               | }} }} }} }}</includeonly>
                               | }} }} }} }}</includeonly>
<noinclude>
<noinclude>

Revision as of 17:04, 10 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).