Template:Subpages2: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 5: Line 5:
-->{|class=noprint align=right width=120px cellpadding="1" cellspacing="0" border="0" style="background-color: #ffffff"
-->{|class=noprint align=right width=120px cellpadding="1" cellspacing="0" border="0" style="background-color: #ffffff"
|align="top" align="right"|
|align="top" align="right"|
{|width=110px border="0" cellpadding="1" cellspacing="3" style=" border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff; {{ #ifexist: {{Metadata/../../|info=pagename}}
{|width=110px border="0" cellpadding="1" cellspacing="3" style=" border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff; {{ #ifexist: {{../../Metadata|info=pagename}}
   |{{#ifeq:{{Metadata/../../|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}"
   |{{#ifeq:{{../../Metadata|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}"
{{!}}align=center  {{!}}<font size=1>'''Cluster'''</font>
{{!}}align=center  {{!}}<font size=1>'''Cluster'''</font>
{{ #ifeq: {{#expr: {{#len:{{Metadata/../../|info=pagename}}}} > 20 }} | 1  
{{ #ifeq: {{#expr: {{#len:{{../../Metadata|info=pagename}}}} > 20 }} | 1  
               |'''[[{{Metadata/../../|info=pagename}}|Main Article]]'''  
               |'''[[{{../../Metadata|info=pagename}}|Main Article]]'''  
               |'''[[{{Metadata/../../|info=pagename}}]]''' }}
               |'''[[{{../../Metadata|info=pagename}}]]''' }}
{{#ifexist:{{Metadata/../../|info=pagename}}/Draft
{{#ifexist:{{../../Metadata|info=pagename}}/Draft
                   |<br><font size=1>''[[{{Metadata/../../|info=pagename}}/Draft|Draft Page]]''</font>
                   |<br><font size=1>''[[{{../../Metadata|info=pagename}}/Draft|Draft Page]]''</font>
                   | }}
                   | }}
   |{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
   |{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
Line 23: Line 23:
                   |<br><font size=1>''[[{{{{BASEPAGENAME}}|info=pagename}}/Draft|Draft Page]]''</font>
                   |<br><font size=1>''[[{{{{BASEPAGENAME}}|info=pagename}}/Draft|Draft Page]]''</font>
                   | }}
                   | }}
           |  {{#ifeq:{{Metadata/{{BASEPAGENAME}}|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}"
           |  {{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}"
{{!}}align=center  {{!}}<font size=1>'''Cluster'''</font>
{{!}}align=center  {{!}}<font size=1>'''Cluster'''</font>
{{ #ifeq: {{#expr: {{#len:{{Metadata/{{BASEPAGENAME}}|info=pagename}}}} > 20 }} | 1  
{{ #ifeq: {{#expr: {{#len:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}} > 20 }} | 1  
                   |'''[[{{Metadata/{{BASEPAGENAME}}|info=pagename}}|Main Article]]'''  
                   |'''[[{{{{BASEPAGENAME}}/Metadata|info=pagename}}|Main Article]]'''  
                   |'''[[{{Metadata/{{BASEPAGENAME}}|info=pagename}}]]''' }}
                   |'''[[{{{{BASEPAGENAME}}/Metadata|info=pagename}}]]''' }}
{{#ifexist:{{Metadata/{{BASEPAGENAME}}|info=pagename}}/Draft
{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Draft
                   |<br><font size=1>''[[{{Metadata/{{BASEPAGENAME}}|info=pagename}}/Draft|Draft Page]]''</font>
                   |<br><font size=1>''[[{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Draft|Draft Page]]''</font>
                   | }} }} }}<!--
                   | }} }} }}<!--


Line 47: Line 47:
{| align="right" border="0" cellpadding="2" cellspacing="0"
{| align="right" border="0" cellpadding="2" cellspacing="0"
{{#ifeq:{{NAMESPACE}}|Talk||{{!}}{{clickurl|image=Print icon.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}
{{#ifeq:{{NAMESPACE}}|Talk||{{!}}{{clickurl|image=Print icon.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}
{{ #ifexist: {{Metadata/../../|info=pagename}}
{{ #ifexist: {{../../Metadata|info=pagename}}
           |{{!}} {{click|image=Compare icon.png|link=Talk:{{Metadata/../../|info=pagename}}/Approval |width=17px|height=17px}}
           |{{!}} {{click|image=Compare icon.png|link=Talk:{{../../Metadata|info=pagename}}/Approval |width=17px|height=17px}}


{{!}}{{click|image=Attention_niels_epting.png|link={{Metadata/../../|info=pagename}}/Unused|width=17px|height=17px}}
{{!}}{{click|image=Attention_niels_epting.png|link={{../../Metadata|info=pagename}}/Unused|width=17px|height=17px}}


{{!}}{{click|image=Information_icon.svg.png|link=Template:{{Metadata/../../|info=pagename}}/Info|width=17px|height=17px}}
{{!}}{{click|image=Information_icon.svg.png|link=Template:{{../../Metadata|info=pagename}}/Metadata|width=17px|height=17px}}
           |{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
           |{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
                 |{{!}} {{click|image=Compare icon.png|link=Talk:{{{{BASEPAGENAME}}|info=pagename}}/Approval |width=17px|height=17px}}
                 |{{!}} {{click|image=Compare icon.png|link=Talk:{{{{BASEPAGENAME}}|info=pagename}}/Approval |width=17px|height=17px}}
Line 58: Line 58:
{{!}}{{click|image=Attention_niels_epting.png|link={{{{BASEPAGENAME}}|info=pagename}}/Unused|width=17px|height=17px}}
{{!}}{{click|image=Attention_niels_epting.png|link={{{{BASEPAGENAME}}|info=pagename}}/Unused|width=17px|height=17px}}


{{!}}{{click|image=Information_icon.svg.png|link=Template:Metadata/{{{{BASEPAGENAME}}|info=pagename}}|width=17px|height=17px}}
{{!}}{{click|image=Information_icon.svg.png|link=Template:{{{{BASEPAGENAME}}|info=pagename}}/Metadata|width=17px|height=17px}}


                 |{{!}} {{click|image=Compare icon.png|link=Talk:{{BASEPAGENAME}}/Approval |width=17px|height=17px}}
                 |{{!}} {{click|image=Compare icon.png|link=Talk:{{BASEPAGENAME}}/Approval |width=17px|height=17px}}
Line 64: Line 64:
{{!}}{{click|image=Attention_niels_epting.png|link={{BASEPAGENAME}}/Unused|width=17px|height=17px}}
{{!}}{{click|image=Attention_niels_epting.png|link={{BASEPAGENAME}}/Unused|width=17px|height=17px}}


{{!}}{{click|image=Information_icon.svg.png|link=Template:Metadata/{{BASEPAGENAME}}|width=17px|height=17px}}}}}}
{{!}}{{click|image=Information_icon.svg.png|link=Template:{{BASEPAGENAME}}/Metadata|width=17px|height=17px}}}}}}


|{{click|image=Pictogram_voting_question.png|link=CZ:Subpage Pilot |width=17px|height=17px}}
|{{click|image=Pictogram_voting_question.png|link=CZ:Subpage Pilot |width=17px|height=17px}}
Line 75: Line 75:
-->{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
-->{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
| {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
| {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
  | <!--(Article)-->{{#ifeq:{{Metadata/{{BASEPAGENAME}}|info=status}}|0|{{approved2|group= {{Metadata/{{BASEPAGENAME}}|info=cat1}}|group2= {{Metadata/{{BASEPAGENAME}}|info=cat2}}|group3={{Metadata/{{BASEPAGENAME}}|info=cat3}}|abc={{Metadata/{{BASEPAGENAME}}|info=abc}}|status= {{Metadata/{{BASEPAGENAME}}|info=status}}|editor= {{Metadata/{{BASEPAGENAME}}|info=A editor}}|editor2= {{Metadata/{{BASEPAGENAME}}|info=A editor2}}|editor3= {{Metadata/{{BASEPAGENAME}}|info=A editor3}}}}{{Checklist3|group= {{Metadata/{{BASEPAGENAME}}|info=cat1}}|group2= {{Metadata/{{BASEPAGENAME}}|info=cat2}}|group3={{Metadata/{{BASEPAGENAME}}|info=cat3}}|abc={{Metadata/{{BASEPAGENAME}}|info=abc}}|status= {{Metadata/{{BASEPAGENAME}}|info=status}} }}|}}
  | <!--(Article)-->{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0|{{approved2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}}|editor= {{{{BASEPAGENAME}}/Metadata|info=A editor}}|editor2= {{{{BASEPAGENAME}}/Metadata|info=A editor2}}|editor3= {{{{BASEPAGENAME}}/Metadata|info=A editor3}}}}{{Checklist3|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }}|}}
  |   {{#ifeq:{{SUBPAGENAME}}|Draft
  |   {{#ifeq:{{SUBPAGENAME}}|Draft
  | <!--(Draft)-->{{Draft header2|status = {{Metadata/{{BASEPAGENAME}}|info=status}} }} {{#ifeq: {{Metadata/{{BASEPAGENAME}}|info=status}}|0||{{Checklist3|group= {{Metadata/{{BASEPAGENAME}}|info=cat1}}|group2= {{Metadata/{{BASEPAGENAME}}|info=cat2}}|group3={{Metadata/{{BASEPAGENAME}}|info=cat3}}|abc={{Metadata/{{BASEPAGENAME}}|info=abc}}|status= {{Metadata/{{BASEPAGENAME}}|info=status}} }} }}
  | <!--(Draft)-->{{Draft header2|status = {{{{BASEPAGENAME}}/Metadata|info=status}} }} {{#ifeq: {{{{BASEPAGENAME}}/Metadata|info=status}}|0||{{Checklist3|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }} }}
  | {{ #ifexist: {{Metadata/../../|info=pagename}}
  | {{ #ifexist: {{../../Metadata|info=pagename}}
  | <!--(signed article)-->{{Signed Article Header}}  
  | <!--(signed article)-->{{Signed Article Header}}  
    | {{#ifeq:{{SUBPAGENAME}}|Unused
    | {{#ifeq:{{SUBPAGENAME}}|Unused
   | <!--Unused subpages--> {{Unused subpages}}  
   | <!--Unused subpages--> {{Unused subpages}}  
   | <!--(All subpage articles)-->{{ {{SUBPAGENAME}} header2|group= {{Metadata/{{BASEPAGENAME}}|info=cat1}}|group2= {{Metadata/{{BASEPAGENAME}}|info=cat2}}|group3={{Metadata/{{BASEPAGENAME}}|info=cat3}}|abc={{Metadata/{{BASEPAGENAME}}|info=abc}}|status= {{Metadata/{{BASEPAGENAME}}|info=status}} }}    }} }} }} }}
   | <!--(All subpage articles)-->{{ {{SUBPAGENAME}} header2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|abc={{{{BASEPAGENAME}}/Metadata|info=abc}}|status= {{{{BASEPAGENAME}}/Metadata|info=status}} }}    }} }} }} }}
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:{{SUBPAGENAME}}|Draft
  | {{#ifeq:{{SUBPAGENAME}}|Draft
  | <!--(Draft Talk page) always place the checklist here if the page exists-->{{Checklist2|group= {{Metadata/{{BASEPAGENAME}}|info=cat1}}|group2= {{Metadata/{{BASEPAGENAME}}|info=cat2}}|group3={{Metadata/{{BASEPAGENAME}}|info=cat3}}|abc={{Metadata/{{BASEPAGENAME}}|info=abc}}|cat_check = {{Metadata/{{BASEPAGENAME}}|info=cat_check}}|status = {{Metadata/{{BASEPAGENAME}}|info=status}}|underlinked = {{Metadata/{{BASEPAGENAME}}|info=underlinked}}|cleanup = {{Metadata/{{BASEPAGENAME}}|info=cleanup}}|by = {{Metadata/{{BASEPAGENAME}}|info=by}} }}
  | <!--(Draft Talk page) always place the checklist here if the page exists-->{{Checklist2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|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}} }}
  | <!--not currently used--> (All subpage articles Talk) }}
  | <!--not currently used--> (All subpage articles Talk) }}
  | {{#ifeq:{{NAMESPACE}}|User
  | {{#ifeq:{{NAMESPACE}}|User
Line 92: Line 92:
  | <!--not currently used--> (User subpage talk) }} }}  
  | <!--not currently used--> (User subpage talk) }} }}  
  | {{#ifeq:{{NAMESPACE}}|Talk
  | {{#ifeq:{{NAMESPACE}}|Talk
  | <!--(Article Talk page) always place the checklist here if the page exists.  Basically the same as the draft talk page.-->{{Checklist2|group= {{Metadata/{{BASEPAGENAME}}|info=cat1}}|group2= {{Metadata/{{BASEPAGENAME}}|info=cat2}}|group3={{Metadata/{{BASEPAGENAME}}|info=cat3}}|abc={{Metadata/{{BASEPAGENAME}}|info=abc}}|cat_check = {{Metadata/{{BASEPAGENAME}}|info=cat_check}}|status = {{Metadata/{{BASEPAGENAME}}|info=status}}|underlinked = {{Metadata/{{BASEPAGENAME}}|info=underlinked}}|cleanup = {{Metadata/{{BASEPAGENAME}}|info=cleanup}}|by = {{Metadata/{{BASEPAGENAME}}|info=by}} }}
  | <!--(Article Talk page) always place the checklist here if the page exists.  Basically the same as the draft talk page.-->{{Checklist2|group= {{{{BASEPAGENAME}}/Metadata|info=cat1}}|group2= {{{{BASEPAGENAME}}/Metadata|info=cat2}}|group3={{{{BASEPAGENAME}}/Metadata|info=cat3}}|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}} }}
  | {{#ifeq:{{NAMESPACE}}|User
  | {{#ifeq:{{NAMESPACE}}|User
  | <!--not currently used--> (User page)  
  | <!--not currently used--> (User page)  
  | {{#ifeq:{{NAMESPACE}}|User talk
  | {{#ifeq:{{NAMESPACE}}|User talk
  |<!--not currently used--> (User talk page)
  |<!--not currently used--> (User talk page)
  |  {{#ifeq:Metadata/{{{{BASEPAGENAME}}|info=pagename}}|{{BASEPAGENAME}}
  |  {{#ifeq:{{{{BASEPAGENAME}}|info=pagename}}/Metadata|{{BASEPAGENAME}}
                        |<!--(metadata page)-->{{Metadata}}
                        |<!--(metadata page)-->{{Metadata}}
                                         | {{#ifeq:{{NAMESPACE}}|Template
                                         | {{#ifeq:{{NAMESPACE}}|Template

Revision as of 08:43, 6 August 2007

Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

This is a central location for all information relating to the

Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata cluster. It is critical to keep this page updated since the {{subpages}} and related templates use this information for the placement of categories and header templates in the cluster.

General article properties

pagename =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

variant =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

Required for checklist

abc =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cat_check =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

status =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

underlinked =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cleanup =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

by =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cat1 =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cat2 =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cat3 =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

Required for the {{ToApprove}} template

article url =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

subpage url =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cluster =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

now =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

ToA editor =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

ToA editor2 =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

ToA editor3 =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

ToA editor4 =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

date =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

Required for the {{Approved}} template

The status parameter in the checklist (see above) of approved versions must be set to 0 (zero).
A editor =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

A editor2 =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

A editor3 =
Cluster

[[Template:Subpages2/Metadata]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

Usage

Examples of this templates use can be found at the Anthropology cluster (not approved) and the Life cluster (approved).