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:
{{{!}}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;"
{{#ifexist:Template:{{BASEPAGENAME}}/Metadata
{{!}}[[Category:Articles_with_Ambiguous_Status]]
    |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}|{{BASEPAGENAME}}
*The '''''pagename''''' field in the metadata template is either '''''incorrect or absent'''''. 
            |{{metadata error catch}}
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=cat1}}| |*At least '''one workgroup''' needs to be assigned.}}
             |{{Editor error catch}} }}
{{#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>
    |{{No metadata template}}}}
{{!}}}
 
 
{{{!}}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}}
      |
      |{{#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}}

Revision as of 09: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 with the exception of the metadata template for each article.