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 13: Line 13:
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:{{SUBPAGENAME}}|Draft
  |
| <!--(Draft Talk page) -->
| <!--Talk subsubpage-->''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 user subpages.''
  | <!--(User subpage) -->''The {{tl|subpages}} template is designed to be used within article clusters and their related pages.  It will not function on user subpages.''
Line 31: Line 29:
  | {{#ifeq:{{NAMESPACE}}|Template talk
  | {{#ifeq:{{NAMESPACE}}|Template talk
                                       |<!--(template talk page)''The {{tl|subpages}} template is designed to be used within article clusters and their related pages.  It will not function on template talk pages.'' -->
                                       |<!--(template talk page)''The {{tl|subpages}} template is designed to be used within article clusters and their related pages.  It will not function on template talk pages.'' -->
                                       |<!--(template page)-->''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. It will not function on template pages.''  }} }} }} }} }} }}<!--
                                       |<!--(template page)-->''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. It will not function on template pages.''  }} }} }} }} }} }}
<!--


***The following section specifically establishes parameters for the subpage template on all pages except subsubpages and their talk pages as well as the metadata template.***
***The following section specifically establishes parameters for the subpage template on all pages except subsubpages and their talk pages as well as the metadata template.***
Line 49: Line 48:
***The following section specifically identifies if there is a metadata page. If not it places a message on the page. ***
***The following section specifically identifies if there is a metadata page. If not it places a message on the page. ***


-->{{ {{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}  
-->{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}  
       |x0
       |
       |{{#ifexist: {{../../Metadata|info=pagename}}
       |{{#ifexist: {{../../Metadata|info=pagename}}
             |x0
             |
             |{{#ifexist:{{{{BASEPAGENAME}}|info=pagename}}
             |{{#ifexist:{{{{BASEPAGENAME}}|info=pagename}}
                   |x0
                   |
                   |no metadata template}} }} }} }}
                   |{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
                        |{{no metadata template}}
                        | {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
                          | {{#ifeq:{{NAMESPACE}}|Talk
                          | {{#ifeq:{{SUBPAGENAME}}|Draft
                          | <!--(Draft Talk page) -->{{no metadata template}}
                          | <!--Talk subsubpage-->''Please continue discussion at [[../../]], or return to the [[{{PAGENAME}}|{{SUBPAGENAME}}]] subsubpage.'' }}
                          |{{no metadata template}} }}
                          |{{no metadata template}} }} }} }} }} }}

Revision as of 19:09, 17 March 2008

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