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 143: Line 143:
                     |<!--(the metadata template)-->{{metadata2|basepagename={{{basepagename|}}} |pagename={{{pagename|}}} |subpagename={{{subpagename|}}} |fullpagename={{{fullpagename|}}}}}
                     |<!--(the metadata template)-->{{metadata2|basepagename={{{basepagename|}}} |pagename={{{pagename|}}} |subpagename={{{subpagename|}}} |fullpagename={{{fullpagename|}}}}}
                     |<!--All subpage Talk pages-->{{#ifeq:{{{subpagename|}}}|Draft
                     |<!--All subpage Talk pages-->{{#ifeq:{{{subpagename|}}}|Draft
                   | <!--(Draft Talk Page) -->{{#ifeq:{{{status|}}}|0
                   | <!--(Draft Talk Page) -->{{To Approve Info|status={{{status|}}}|ToA editor={{{ToA editor| }}}}}
                                        |{{Talk Checklist}}{{Draft Talk Page}}{{#if:{{{ToA editor| }}}
                                                |<!--(ToApprove information here if approval is being updated)-->{{To Approve Info}}
                                                |<!--(Draft talk page info when approved but not reapproving)-->}}
                                        |<!--(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}} }}
                   | <!--(All subpage Talk pages other than draft)-->{{All Subpage Talk}} }}
               | {{#ifeq:{{{namespace|}}}|Talk
               | {{#ifeq:{{{namespace|}}}|Talk
                 | <!--(Article Talk page)-->{{#ifeq:{{{status|}}}|0
                 | <!--(Article Talk page)-->{{To Approve Info|status={{{status|}}}|ToA editor={{{ToA editor| }}}}}
                                  |<!--(not used: a redirect to the draft page talk is here after approval)-->
                      | }} }} }} }}</includeonly><noinclude>
                                  |{{Article Talk Page}}{{Talk Checklist}}{{#if:{{{ToA editor| }}}
                                                |<!--(ToApprove information here if being approved for the first time)-->{{To Approve Info}}
                                                |}}}}
                      | }} }} }} }}</includeonly><noinclude>
==Usage==
==Usage==



Revision as of 10:34, 12 March 2008

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).