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 208: Line 208:
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
       | {{#ifeq: {{{basepagename|}}}/{{{subpagename|}}}|{{{name|}}}
               |<!--All subpage Talk pages-->(All subpage Talk pages) {{#ifeq:{{{subpagename|}}}|Draft
               |<!--All subpage Talk pages-->(All subpage Talk pages) {{#ifeq:{{{subpagename|}}}|Draft
                   | <!--(Draft Talk page) -->
                   | <!--(Draft Talk page) -->{{#ifeq:{{{status|}}}|0
                   | <!--(All subpage Talk pages other than draft)--> }}
                                        |{{#if:{{{ToA editor| }}}
                                                |<!--(ToApprove information here if approval is being updated)-->
                                                |<!--(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)-->}}
               | {{#ifeq:{{{namespace|}}}|Talk
               | {{#ifeq:{{{namespace|}}}|Talk
                   | <!--(Article Talk page)-->
                   | <!--(Article Talk page)-->{{#ifeq:{{{status|}}}|0
                                    |<!--(not used: a redirect to the draft page talk is here after approval)-->
                                    |{{#if:{{{ToA editor| }}}
                                                |<!--(ToApprove information here if being approved for the first time)-->
                                                |}}}}
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
              |<!--(the metadata template)-->{{metadata}}
              |<!--(the metadata template)-->
                               | }} }} }} }}</includeonly>
                               | }} }} }} }}</includeonly><noinclude>
<noinclude>
==Usage==
==Usage==



Revision as of 00:55, 11 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).