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
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--
<!--


***The following section adds a comment at the top of any page that cannot use the subpages template. It also places a comment at the top of subpage and subsubpage talk pages encouraging the use of the clusters primary talk page.***
***The following section adds a comment at the top of any page that cannot use the subpages template. It also places a comment at the top of subpage and subsubpage talk pages encouraging the use of the clusters primary talk page (at either Talk:Article or Talk:Article/Draft depending on the status of approval.***


-->{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
-->{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
Line 17: Line 17:
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:[[../../]]|Talk:{{BASEPAGENAME}}
  |{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}<!--redirect to the article talk page. This depends on a redirect being established from the talk page to the draft talk page after approval for the subsubpage talk page.-->
                           | {{#ifeq:{{SUBPAGENAME}}|Draft||<!--Talk subpage-->''Please continue discussion at [[../]], or return to the [[{{PAGENAME}}|{{SUBPAGENAME}}]] subpage.''}}
                           | {{#ifeq:{{SUBPAGENAME}}|Draft||<!--Talk subpage-->''Please continue discussion at the {{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0|[[{{TALKSPACE}}:{{BASEPAGENAME}}/Draft|main talk page]]|[[{{TALKSPACE}}:{{BASEPAGENAME}}|main talk page]]}}, or return to the [[{{PAGENAME}}|{{SUBPAGENAME}}]] subpage.''}}
                           | <!--Talk subsubpage-->''Please continue discussion at [[../../]], or return to the [[{{PAGENAME}}|{{SUBPAGENAME}}]] subsubpage.'' }}
                           |<!--Talk subsubpage--><center> '''''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. <br><font color="red">However, it cannot function on sub-subpage talk pages.</font>.'''''</center>''Please continue discussion at [[../../]], or return to the [[{{PAGENAME}}|{{SUBPAGENAME}}]] subsubpage.''}}
  | {{#ifeq:{{NAMESPACE}}|User
  | {{#ifeq:{{NAMESPACE}}|User
  | <!--(User subpage) --><center> '''''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. <br><font color="red">It will not function on {{NAMESPACE}} pages</font>.'''''</center>[[Category:Misplaced subpage]] <br>
  | <!--(User subpage) --><center> '''''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. <br><font color="red">It will not function on {{NAMESPACE}} pages</font>.'''''</center>[[Category:Misplaced subpage]] <br>
Line 34: Line 34:


-->{{#ifexist:Template:{{BASEPAGENAME}}/Metadata
-->{{#ifexist:Template:{{BASEPAGENAME}}/Metadata
     |{{ {{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}|{{BASEPAGENAME}}
     |{{ {{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
             |Editor error catch
             |Editor error catch
             |metadata error catch}} }}
             |{{#ifexist:{{BASEPAGENAME}}
                      |metadata error catch
                      |Orphan subpage}} }} }}
     |{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
     |{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
         |{{ {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
         |{{ {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}

Latest revision as of 00:04, 20 March 2008

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