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 142: Line 142:
                   |V<!--(Draft Talk Page) -->{{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}}
                   |V<!--(Draft Talk Page) -->{{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}}
                   |W{{All Subpage Talk}} }} }}
                   |W{{All Subpage Talk}} }} }}
                 |X<!--(Article Talk page)-->{{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}} }} }}
                 |X<!--(Article Talk page)-->{{To Approve Info|status={{{status|}}}|namespace={{{namespace|}}}|subpagename={{{subpagename|}}}|ToA editor={{{ToA editor| }}}}} }} }}</includeonly><noinclude>
 
{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
| {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
|<!--(Article)--> article
|{{#ifeq:{{SUBPAGENAME}}|Draft
|<!--(Draft)-->draft
        |{{ #ifexist: {{../../Metadata|info=pagename}}
        |<!--(all subsubpages--> {{#ifeq: {{../../Metadata|info=pagename}}/Signed Articles|{{BASEPAGENAME}}
                                    |<!--(signed article)-->signed article
                    | {{#ifeq: {{../../Metadata|info=pagename}}/Catalogs|{{BASEPAGENAME}}
                              |<!--(Catalog sub-subpage)-->catalog subsub
                                              | {{#ifeq: {{../../Metadata|info=pagename}}/Timelines|{{BASEPAGENAME}}
                                              |<!--(timeline sub-subpage)-->timeline subsub
                                                            | what comes out here? 1}} }} }}
          |<!--(All subpage articles)--> {{#ifeq:{{SUBPAGENAME}}|Approval
                                  |<!--(approval subpage)-->approval page
                                  | what cones out here, two?}} }} }} }}
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
| {{#ifeq:{{NAMESPACE}}|Talk
| {{#ifeq:{{SUBPAGENAME}}|Draft
| <!--(Draft Talk page) -->draft talk page
| <!--not currently used-->what comes out here three }}
| {{#ifeq:{{NAMESPACE}}|User
| <!--not currently used--> (User subpage)
                        |{{#ifeq:{{SUBPAGENAME}}|Metadata
              |<!--(metadata page)-->Metadata
                              |<!--not currently used--> (User subpage talk and other tempaltes?) }} }} }}
| {{#ifeq:{{NAMESPACE}}|Talk
| <!--(Article Talk page) -->article talk page
| {{#ifeq:{{NAMESPACE}}|User
| <!--not currently used--> (User page)
| {{#ifeq:{{NAMESPACE}}|User talk
|<!--not currently used--> (User talk page)
| (template talk page) }} }} }} }} }}
</includeonly><noinclude>
==Usage==
==Usage==



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