Template:Subpages3: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 1: Line 1:
{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
        |{{ {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
                      |no metadata template
                      |{{ #ifexist: {{../../Metadata|info=pagename}}
                        |x0
                          |no metadata template}} }} }}
        | {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
          | {{ {{#ifeq:{{NAMESPACE}}|Talk
          |x0
          |{{#ifeq:{{NAMESPACE}}|User
          |x0
                                |{{#ifeq:{{SUBPAGENAME}}|Metadata
                        |{{#ifeq:{{NAMESPACE}}|Template talk
                                                |x0
                                                |no metadata template}}
                                        |x0}} }} }} }}
          | {{ {{#ifeq:{{NAMESPACE}}|Talk
          | no metadata template
          | x0}} }} }} }}
{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
         |{{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
         |{{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
Line 38: Line 17:
                           | <!--Talk subpage-->''Please continue discussion at [[../]], or return to the [[{{PAGENAME}}|{{SUBPAGENAME}}]] subsubpage.''}}
                           | <!--Talk subpage-->''Please continue discussion at [[../]], or return to the [[{{PAGENAME}}|{{SUBPAGENAME}}]] subsubpage.''}}
  | {{#ifeq:{{NAMESPACE}}|User
  | {{#ifeq:{{NAMESPACE}}|User
  | <!--(User subpage) -->''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. It will not function on {{NAMESPACE}} pages.''[[Category:Misplaced subpage]]  
  | <!--(User subpage) -->''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. It will not function on {{NAMESPACE}} pages.''[[Category:Misplaced subpage]] <br><br>
                         |{{#ifeq:{{SUBPAGENAME}}|Metadata
                         |{{#ifeq:{{SUBPAGENAME}}|Metadata
              | {{#ifeq:{{NAMESPACE}}|Template talk
              | {{#ifeq:{{NAMESPACE}}|Template talk
                                       |<!--(talk metadata page)-->''Please continue discussion at [[Talk:{{BASEPAGENAME}}]], or return to the [[{{BASEPAGENAME}}/Metadata]] page.''  
                                       |<!--(talk metadata page)-->''Please continue discussion at [[Talk:{{BASEPAGENAME}}]], or return to the [[{{BASEPAGENAME}}/Metadata]] page.''  
                                       |<!--(metadata page)--> }}
                                       |<!--(metadata page)--> }}
                               |<!--(User subpage talk)-->''The {{tl|subpages}} template is designed to be used within article clusters and their related pages.  It will not function on the talk page for user subpages.'' [[Category:Misplaced subpage]]}} }} }}
                               |<!--(User subpage talk)-->''The {{tl|subpages}} template is designed to be used within article clusters and their related pages.  It will not function on the talk page for user subpages.'' [[Category:Misplaced subpage]]<br><br>}} }} }}
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:{{NAMESPACE}}|Talk
  | <!--(Article Talk page) -->
  | <!--(Article Talk page) -->
  | '''''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. It will not function on {{NAMESPACE}} pages.'''''[[Category:Misplaced subpage]] }} }} }}<!--
  | '''''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. It will not function on {{NAMESPACE}} pages.'''''[[Category:Misplaced subpage]] <br><br> }} }} }}<!--




-->{{#ifexist:Template:{{BASEPAGENAME}}/Metadata
-->{{#ifexist:Template:{{BASEPAGENAME}}/Metadata
     |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}|{{BASEPAGENAME}}
     |{{ {{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}|{{BASEPAGENAME}}
             |{{Editor error catch}}
             |Editor error catch
            |{{metadata error catch}} }}
            |metadata error catch}} }}
    |}}<!--
    |{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
        |{{ {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
                      |no metadata template
                      |{{ #ifexist: {{../../Metadata|info=pagename}}
                        |x0
                          |no metadata template}} }} }}
        | {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
          | {{ {{#ifeq:{{NAMESPACE}}|Talk
          |x0
          |{{#ifeq:{{NAMESPACE}}|User
          |x0
                                |{{#ifeq:{{SUBPAGENAME}}|Metadata
                        |{{#ifeq:{{NAMESPACE}}|Template talk
                                                |x0
                                                |no metadata template}}
                                        |x0}} }} }} }}
          | {{ {{#ifeq:{{NAMESPACE}}|Talk
          | no metadata template
          | x0}} }} }} }} }}<!--


***The following section specifically establishes parameters for the subpage template on all pages except subsubpages and their talk pages.***
***The following section specifically establishes parameters for the subpage template on all pages except subsubpages and their talk pages.***

Revision as of 10:08, 18 March 2008

The {{subpages}} template is designed to be used within article clusters and their related pages. It will not function on Template pages.