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 167: Line 167:
              | <!--not currently used--> (template main page)
              | <!--not currently used--> (template main page)
            | <!--not currently used--> (template talk page) }} }} }} }} }} }} }}
            | <!--not currently used--> (template talk page) }} }} }} }} }} }} }}
|}</div></includeonly>
|}</div>{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
      | {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
        | <!--(Article)--> (Article)
            | {{ #ifexist: {{../../Metadata|info=pagename}}
                                | {{#ifeq:{{NAMESPACE}}|Talk
                        | <!--(Talk: Sub subpage)--> (Talk: Sub subpage)
                        |(ALL subsubpages) {{#ifeq: {{../../Metadata|info=pagename}}/Signed Articles|{{BASEPAGENAME}}
                                              |<!--(signed article)-->(signed article)
                              | {{#ifeq: {{../../Metadata|info=pagename}}/Catalogs|{{BASEPAGENAME}}
                                      |<!--(Catalog sub-subpage)-->(Catalog sub-subpage)                                         | {{#ifeq: {{../../Metadata|info=pagename}}/Timelines|{{BASEPAGENAME}}
                                              |<!--(timeline sub-subpage)-->(timeline sub-subpage)
                                                            |(other sub-subpage) }} }} }} }}
                |(All Subpage articles)  {{#ifeq:{{SUBPAGENAME}}|Draft
                      | <!--(Draft)--> (Draft)
                                      |{{#ifeq:{{SUBPAGENAME}}|Unused
                    | <!--Unused subpages--> (Unused subpages)
                    | {{#ifeq:{{SUBPAGENAME}}|Approval
                                              |<!--(approval subpage)-->  (approval subpage)         
                                              |<!--(All other subpage articles but not approval, unused or draft)--> (All Subpage articles except draft, approval and unused pages) }} }} }} }} }}
      | {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
              | {{#ifeq:{{NAMESPACE}}|Talk
                  | {{#ifeq:{{SUBPAGENAME}}|Draft
                  | <!--(Draft Talk page) --> (Draft Talk page)
                  | <!--not currently used--> (All subpage and subsubpage Talk) }}
          | {{#ifeq:{{NAMESPACE}}|User
                  | <!--not currently used--> (User subpage)
                  | <!--not currently used--> (User subpage talk) }} }}
              | {{#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)
          |  {{#ifeq:{{{{BASEPAGENAME}}|info=pagename}}/Metadata|{{BASEPAGENAME}}
                                |<!--not currently used-->(the metadata template)
                                                |  {{#ifeq:{{NAMESPACE}}|Template
            | <!--not currently used--> (template main page)
            | <!--not currently used--> (template talk page) }} }} }} }} }} }} }}</includeonly>
<noinclude>
<noinclude>
==Usage==
==Usage==

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