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
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{!}}width="90%" align=center cellpadding="1" style="background:#F6E0BC;border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"
<!--
{{!}}[[Category:Articles_with_Ambiguous_Status]]
*The '''''pagename''''' field in the metadata template is either '''''incorrect or absent'''''. 
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=cat1}}| |*At least '''one workgroup''' needs to be assigned.}}
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}| |*An article '''status''' between 0-4 needs to be assigned.}}<br><center><big>Please '''''update''''' the [http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''metadata template here''']</big></center>
{{!}}}
 
 
{{{!}}width="90%" align=center cellpadding="1" style="background:#F6E0BC;border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"
{{!}}[[Category:Incompatible editor status]]
<center>The '''''status''''' or '''''A editor''''' fields in the metadata template are either '''''incorrect or absent'''''. (article/subpage version)</center> 
{{#ifeq: {{{{BASEPAGENAME}}/Metadata|info=A editor}}|
          |{{#ifeq: {{{{BASEPAGENAME}}/Metadata|info=status}}|0
                  |
*If the article has been approved please add the approving editor to the '''''A editor''''' field.
*Otherwise, please change the '''''status''''' from ''0"" to an appropriate value between 1 and 4 in the metadata template.
                  | }}
          |{{#ifeq: {{{{BASEPAGENAME}}/Metadata|info=status}}|0
                  |
                  |
*If the article has been approved please change the '''''status''''' field to "0".
*Otherwise, please remove the editor name from the '''''A editor''''' field in the metadata template}} }}
<br><center><big>Please '''''update''''' the [http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''metadata template here''']</big></center>
{{!}}}                                       


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


{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
-->{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
         |{{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
         |{{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
                       |<!--(Article)-->
                       |<!--(Article)-->
Line 56: Line 17:
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:[[../]]|{{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.-->
                          | <!--Talk subsubpage-->''Please continue discussion at [[../../]], or return to the [[{{PAGENAME}}|{{SUBPAGENAME}}]] subsubpage.''
                          | {{#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 subpage-->''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) -->''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) --><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>
                         |{{#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)--><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>}} }} }}
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:{{NAMESPACE}}|Talk
  | <!--(Article Talk page) -->
  | <!--(Article Talk page) -->
  | {{#ifeq:{{NAMESPACE}}|User
  |<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 page)-->''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. It will not function on user pages.''[[Category:Misplaced subpage]]
 
| {{#ifeq:{{NAMESPACE}}|User talk
***The following section adds error templates to the top of pages. Errors caught include, no metadata page, a misspelled pagename field or a mismatch between the status and approving editor fields (Must have a status of "0" if an approving editor is shown). The tree below resolves such that the no metadata template is only placed on subpages, the article and its talk page and the metadata page***
|<!--(User talk page)-->''The {{tl|subpages}} template is designed to be used within article clusters and their related pages. It will not function on user talk pages.''[[Category:Misplaced subpage]]
 
| {{#ifeq:{{NAMESPACE}}|Template talk
-->{{#ifexist:Template:{{BASEPAGENAME}}/Metadata
                                      |<!--(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.'' [[Category:Misplaced subpage]]
    |{{ {{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
                                      |<!--(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 with the exception of the metadata template for each article.''[[Category:Misplaced subpage]]  }} }} }} }} }} }}
            |Editor error catch
<!--
            |{{#ifexist:{{BASEPAGENAME}}
                      |metadata error catch
                      |Orphan subpage}} }} }}
    |{{#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.***


-->{{{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}} |subpage_style|x0}}|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subpage|pagename= {{{{BASEPAGENAME}}/Metadata|info=pagename}}|variant= {{{{BASEPAGENAME}}/Metadata|info=variant}}|abc= {{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check= {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked= {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup= {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by= {{{{BASEPAGENAME}}/Metadata|info=by}}|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3= {{{{BASEPAGENAME}}/Metadata|info=cat3}}|article url= {{{{BASEPAGENAME}}/Metadata|info=article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info=subpage url}}|cluster= {{{{BASEPAGENAME}}/Metadata|info=cluster}}|now= {{{{BASEPAGENAME}}/Metadata|info=now}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info=ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info=ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info=ToA editor3}}|date= {{{{BASEPAGENAME}}/Metadata|info=date}}|A editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|A editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|A editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}} }}<!--
-->{{{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}} |subpage_style|x0}}|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subpage|pagename= {{{{BASEPAGENAME}}/Metadata|info=pagename}}|variant= {{{{BASEPAGENAME}}/Metadata|info=variant}}|abc= {{{{BASEPAGENAME}}/Metadata|info=abc}}|cat_check= {{{{BASEPAGENAME}}/Metadata|info=cat_check}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|underlinked= {{{{BASEPAGENAME}}/Metadata|info=underlinked}}|cleanup= {{{{BASEPAGENAME}}/Metadata|info=cleanup}}|by= {{{{BASEPAGENAME}}/Metadata|info=by}}|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3= {{{{BASEPAGENAME}}/Metadata|info=cat3}}|article url= {{{{BASEPAGENAME}}/Metadata|info=article url}}|subpage url= {{{{BASEPAGENAME}}/Metadata|info=subpage url}}|cluster= {{{{BASEPAGENAME}}/Metadata|info=cluster}}|now= {{{{BASEPAGENAME}}/Metadata|info=now}}|ToA editor= {{{{BASEPAGENAME}}/Metadata|info=ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}/Metadata|info=ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}/Metadata|info=ToA editor3}}|date= {{{{BASEPAGENAME}}/Metadata|info=date}}|A editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|A editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|A editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}}|basepagenamee={{BASEPAGENAMEE}}|background=ffffff }}<!--


***The following section specifically functions on subsubpages.***
***The following section specifically functions on subsubpages. For technical reasons this template is not fully function on the subsubpage talk pages.***


-->{{{{ #ifexist: {{../../Metadata|info=pagename}}
-->{{{{ #ifexist: {{../../Metadata|info=pagename}}
|subpage_style|x0}}|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subsubpage|pagename= {{../../Metadata|info=pagename}}|variant= {{../../Metadata|info=variant}}|abc= {{../../Metadata|info=abc}}|cat_check= {{../../Metadata|info=cat_check}}|status= {{../../Metadata|info=status}}|underlinked= {{../../Metadata|info=underlinked}}|cleanup= {{../../Metadata|info=cleanup}}|by= {{../../Metadata|info=by}}|group= {{../../Metadata|info=cat1}}|group2= {{../../Metadata|info=cat2}}|group3= {{../../Metadata|info=cat3}}|article url= {{../../Metadata|info=article url}}|subpage url= {{../../Metadata|info=subpage url}}|cluster= {{../../Metadata|info=cluster}}|now= {{../../Metadata|info=now}}|ToA editor= {{../../Metadata|info=ToA editor}}|ToA editor2= {{../../Metadata|info=ToA editor2}}|ToA editor3= {{../../Metadata|info=ToA editor3}}|date= {{../../Metadata|info=date}}|A editor= {{../../Metadata|info=A editor}}|A editor2= {{../../Metadata|info=A editor2}}|A editor3= {{../../Metadata|info=A editor3}} }}
|subpage_style|x0}}|namespace={{NAMESPACE}}|subpagename={{SUBPAGENAME}}|basepagename={{BASEPAGENAME}}|fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= subsubpage|pagename= {{../../Metadata|info=pagename}}|variant= {{../../Metadata|info=variant}}|abc= {{../../Metadata|info=abc}}|cat_check= {{../../Metadata|info=cat_check}}|status= {{../../Metadata|info=status}}|underlinked= {{../../Metadata|info=underlinked}}|cleanup= {{../../Metadata|info=cleanup}}|by= {{../../Metadata|info=by}}|group= {{../../Metadata|info=cat1}}|group2= {{../../Metadata|info=cat2}}|group3= {{../../Metadata|info=cat3}}|article url= {{../../Metadata|info=article url}}|subpage url= {{../../Metadata|info=subpage url}}|cluster= {{../../Metadata|info=cluster}}|now= {{../../Metadata|info=now}}|ToA editor= {{../../Metadata|info=ToA editor}}|ToA editor2= {{../../Metadata|info=ToA editor2}}|ToA editor3= {{../../Metadata|info=ToA editor3}}|date= {{../../Metadata|info=date}}|A editor= {{../../Metadata|info=A editor}}|A editor2= {{../../Metadata|info=A editor2}}|A editor3= {{../../Metadata|info=A editor3}}|background=ffffff }}

Latest revision as of 23:04, 19 March 2008

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