Template:Subpages4: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
 
(185 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!--
<!--


The following code is the subpages template that includes the subroutines to choose the default and optional buttons
***The following code is the part of the subpages template that includes the subroutines to choose the default and optional buttons for the subpages navigation box***


-->{|align=right width="110px" 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="100px" border="0" cellpadding="1" cellspacing="3" style="background:#B8DAE5"
{|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: {{../../Info|info=pagename}}
|align=center|<font size=1>'''Cluster'''</font>
  |{{#ifeq:{{../../Info|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}"
<!--
{{!}}align=center  {{!}}<font size=1>'''Cluster'''</font>
{{{!}} align="right" border="0" cellpadding="0" cellspacing="0"
{{!}}{{click|image=Subpages.png|link=CZ:Subpage Pilot |width=17px|height=17px}}
{{!}}}
{{ #ifeq: {{#expr: {{#len:{{../../Info|info=pagename}}}} > 20 }} | 1
              |'''[[{{../../Info|info=pagename}}|Main Article]]'''
              |'''[[{{../../Info|info=pagename}}]]''' }}
{{#ifexist:{{../../Info|info=pagename}}/Draft
                  |<br><font size=1>''[[{{../../Info|info=pagename}}/Draft|Draft Page]]''</font>
                  | }}
  |{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
          |  {{#ifeq:{{{{BASEPAGENAME}}|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}"
{{!}}align=center {{!}}<font size=1>'''Cluster'''</font>
{{{!}} align="right" border="0" cellpadding="0" cellspacing="0"
{{!}}{{click|image=Subpages.png|link=CZ:Subpage Pilot |width=17px|height=17px}}
{{!}}}
{{ #ifeq: {{#expr: {{#len:{{{{BASEPAGENAME}}|info=pagename}}}} > 20 }} | 1
                  |'''[[{{{{BASEPAGENAME}}|info=pagename}}|Main Article]]'''
                  |'''[[{{{{BASEPAGENAME}}|info=pagename}}]]''' }}
{{#ifexist:{{{{BASEPAGENAME}}|info=pagename}}/Draft
                  |<br><font size=1>''[[{{{{BASEPAGENAME}}|info=pagename}}/Draft|Draft Page]]''</font>
                  | }}
          |  {{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|background:#C4DFC4| background:#C4D2DF}}"
{{!}}align=center  {{!}}<font size=1>'''Cluster'''</font>
{{{!}} align="right" border="0" cellpadding="0" cellspacing="0"
{{!}}{{click|image=Subpages.png|link=CZ:Subpage Pilot |width=17px|height=17px}}
{{!}}}
{{ #ifeq: {{#expr: {{#len:{{{{BASEPAGENAME}}/Info|info=pagename}}}} > 20 }} | 1
                  |'''[[{{{{BASEPAGENAME}}/Info|info=pagename}}|Main Article]]'''
                  |'''[[{{{{BASEPAGENAME}}/Info|info=pagename}}]]''' }}
{{#ifexist:{{{{BASEPAGENAME}}/Info|info=pagename}}/Draft
                  |<br><font size=1>''[[{{{{BASEPAGENAME}}/Info|info=pagename}}/Draft|Draft Page]]''</font>
                  | }} }} }}<!--


***The following code determine if the article name is longer than twenty characters.  If so, main article is used rather than the actual name.  This means huge names are not crunched into the navigation template. At present the the expr functions to determine string length are not functional in CZ.***
***The following template identifies the subpages in the Template:Subpage list that are tagged as Default. It adds those buttons in the numerical sequence regardless of whether the subpage exists or not.  


-->{{ #ifeq: {{../../Info|info=pagename}}/Signed articles|{{BASEPAGENAME}}|{{ #ifeq: {{#expr: {{#len:{{../../Info|info=pagename}}}} > 20 }} | 1 | '''[[{{../../Info|info=pagename}}|Main Article]]''' | '''[[{{../../Info|info=pagename}}]]''' }}<br><font size=1>''[[Template:{{../../Info|info=pagename}}/Info|Information]]''</font>{{ #ifeq: {{#expr: {{#len:{{BASEPAGENAME}}}} > 20 }} | 1 | '''[[{{BASEPAGENAME}}|Main Article]]''' | '''[[{{BASEPAGENAME}}]]''' }}<br><font size=1>''[[Template:{{BASEPAGENAME}}/Info|Information]]''</font>}}<!--
The subpage list row template is used to create the table cell for each specific button. Also, if the current page is the subpage, it uses the "button on" style template, otherwise the "button off" style template is used. ***


***The next piece of code adds a Link to the draft page if it exists***
-->{{Default button 2}}<!--


-->{{ #ifeq: {{../../Info|info=pagename}}/Signed articles|{{BASEPAGENAME}}|{{#ifexist:{{../../Info|info=pagename}}/Draft|<br><font size=1>''[[{{../../Info|info=pagename}}/Draft|Draft Page]]''</font>}}|{{#ifexist:{{BASEPAGENAME}}/Draft|<br><font size=1>''[[{{BASEPAGENAME}}/Draft|Draft Page]]''</font>}} }}<!--
***The following template identifies the subpages in the Template:Subpage list that are tagged as Optional. If the subpage exists it adds the button after the default buttons in the numerical sequence defined in the subpage list template.  
 
***The following code identifies the subpages in the Template:Subpage list that are tagged as Default. It adds those buttons in the numerical sequence regardless of whether the subpage exists or not.
 
The subpage list row template is used to create the table cell for each specific button. Also, if the current page is the subpage, it uses the "button on" style template, otherwise the "button off" style template is used.***
 
-->{{ #ifeq: {{../../Info|info=pagename}}/Signed articles|{{BASEPAGENAME}}|{{subpages6}}|{{ #ifeq: {{Subpage list|button=1C}}|Default|{{subpage_list_row|{{Subpage list|button=1A}}|{{Subpage list|button=1B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=2C}}|Default|{{subpage_list_row|{{Subpage list|button=2A}}|{{Subpage list|button=2B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=3C}}|Default|{{subpage_list_row|{{Subpage list|button=3A}}|{{Subpage list|button=3B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=4C}}|Default|{{subpage_list_row|{{Subpage list|button=4A}}|{{Subpage list|button=4B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=5C}}|Default|{{subpage_list_row|{{Subpage list|button=5A}}|{{Subpage list|button=5B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=6C}}|Default|{{subpage_list_row|{{Subpage list|button=6A}}|{{Subpage list|button=6B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=7C}}|Default|{{subpage_list_row|{{Subpage list|button=7A}}|{{Subpage list|button=7B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=8C}}|Default|{{subpage_list_row|{{Subpage list|button=8A}}|{{Subpage list|button=8B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=9C}}|Default|{{subpage_list_row|{{Subpage list|button=9A}}|{{Subpage list|button=9B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=10C}}|Default|{{subpage_list_row|{{Subpage list|button=10A}}|{{Subpage list|button=10B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=11C}}|Default|{{subpage_list_row|{{Subpage list|button=11A}}|{{Subpage list|button=11B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=12C}}|Default|{{subpage_list_row|{{Subpage list|button=12A}}|{{Subpage list|button=12B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=13C}}|Default|{{subpage_list_row|{{Subpage list|button=13A}}|{{Subpage list|button=13B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=14C}}|Default|{{subpage_list_row|{{Subpage list|button=14N}}|{{Subpage list|button=14B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=15C}}|Default|{{subpage_list_row|{{Subpage list|button=15A}}|{{Subpage list|button=15B}} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=16C}}|Default|{{subpage_list_row|{{Subpage list|button=16A}}|{{Subpage list|button=16B}} }} }}<!--
 
***The following code identifies the subpages in the Template:Subpage list that are tagged as optional. If the subpage exists it adds the button after the default buttons in the numerical sequence defined in the subpage list template.  


Again, the subpage list row template is used to create the table cell for each specific button. Also, if the current page is the subpage, it uses the "button on" style template, otherwise the "button off" style template is used.***
Again, the subpage list row template is used to create the table cell for each specific button. Also, if the current page is the subpage, it uses the "button on" style template, otherwise the "button off" style template is used.***


-->{{ #ifeq: {{Subpage list|button=1C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=1A}}|{{subpage_list_row|{{Subpage list|button=1A}}|{{Subpage list|button=1B}} }} }} }}<nowiki>
-->{{Optional_button 2}}
|-
|
{| align="right" border="0" cellpadding="1" cellspacing="0"
{{#ifeq:{{SUBPAGENAME}}|Unused
    |
    |{{#ifeq:{{NAMESPACE}}|Talk
          |
          |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
              |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}|{{PAGENAME}}
                    | {{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{PAGENAMEE}}/Draft&diff=current&oldid={{REVISIONID}} | width=17px | height=17px}}
                    |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Draft|{{PAGENAME}}
                        |{{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{BASEPAGENAMEE}}&diff=current&oldid={{REVISIONID}} |width=17px|height=17px}}
                        | }} }}
              |}} }} }}
{{#ifeq:{{NAMESPACE}}|Talk||{{!}}{{clickurl|image=Print button.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}
{{ #ifexist: {{../../Metadata|info=pagename}}
          |{{!}}{{click|image=Unused button.png|link={{../../Metadata|info=pagename}}/Unused|width=17px|height=17px}}


</nowiki>{{ #ifeq: {{Subpage list|button=2C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=2A}}|{{subpage_list_row|{{Subpage list|button=2A}}|{{Subpage list|button=2B}} }} }} }}<nowiki>
{{!}}{{click|image=Metadata.png|link=Template:{{../../Metadata|info=pagename}}/Metadata|width=17px|height=17px}}


</nowiki>{{ #ifeq: {{Subpage list|button=3C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=3A}}|{{subpage_list_row|{{Subpage list|button=3A}}|{{Subpage list|button=3B}} }} }} }}<nowiki>
{{!}} {{click|image=Approval button.png|link={{../../Metadata|info=pagename}}/Approval |width=17px|height=17px}}


</nowiki>{{ #ifeq: {{Subpage list|button=4C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=4A}}|{{subpage_list_row|{{Subpage list|button=4A}}|{{Subpage list|button=4B}} }} }} }}<nowiki>
          |{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
                |{{!}}{{click|image=Unused button.png|link={{{{BASEPAGENAME}}|info=pagename}}/Unused|width=17px|height=17px}}


</nowiki>{{ #ifeq: {{Subpage list|button=5C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=5A}}|{{subpage_list_row|{{Subpage list|button=5A}}|{{Subpage list|button=5B}} }} }} }}<nowiki>
{{!}}{{click|image=Metadata.png|link=Template:{{{{BASEPAGENAME}}|info=pagename}}/Metadata|width=17px|height=17px}}


</nowiki>{{ #ifeq: {{Subpage list|button=6C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=6A}}|{{subpage_list_row|{{Subpage list|button=6A}}|{{Subpage list|button=6B}} }} }} }}<nowiki>
{{!}} {{click|image=Approval button.png|link={{{{BASEPAGENAME}}|info=pagename}}/Approval |width=17px|height=17px}}


</nowiki>{{ #ifeq: {{Subpage list|button=7C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=7A}}|{{subpage_list_row|{{Subpage list|button=7A}}|{{Subpage list|button=7B}} }} }} }}<nowiki>
                |{{!}}{{click|image=Unused button.png|link={{BASEPAGENAME}}/Unused|width=17px|height=17px}}


</nowiki>{{ #ifeq: {{Subpage list|button=8C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=8A}}|{{subpage_list_row|{{Subpage list|button=8A}}|{{Subpage list|button=8B}} }} }} }}<nowiki>
{{!}}{{click|image=Metadata.png|link=Template:{{BASEPAGENAME}}/Metadata|width=17px|height=17px}}


</nowiki>{{ #ifeq: {{Subpage list|button=9C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=9A}}|{{subpage_list_row|{{Subpage list|button=9A}}|{{Subpage list|button=9B}} }} }} }}<nowiki>
{{!}} {{click|image=Approval button.png|link={{BASEPAGENAME}}/Approval |width=17px|height=17px}}}}}}
 
|}
</nowiki>{{ #ifeq: {{Subpage list|button=10C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=10A}}|{{subpage_list_row|{{Subpage list|button=10A}}|{{Subpage list|button=10B}} }} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=11C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=11A}}|{{subpage_list_row|{{Subpage list|button=11A}}|{{Subpage list|button=11B}} }} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=12C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=12A}}|{{subpage_list_row|{{Subpage list|button=12A}}|{{Subpage list|button=12B}} }} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=13C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=13A}}|{{subpage_list_row|{{Subpage list|button=13A}}|{{Subpage list|button=13B}} }} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=14C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=14A}}|{{subpage_list_row|{{Subpage list|button=14N}}|{{Subpage list|button=14B}} }} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=15C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=15A}}|{{subpage_list_row|{{Subpage list|button=15A}}|{{Subpage list|button=15B}} }} }} }}<nowiki>
 
</nowiki>{{ #ifeq: {{Subpage list|button=16C}}|Optional|{{#ifexist:{{BASEPAGENAME}}/{{Subpage list|button=16A}}|{{subpage_list_row|{{Subpage list|button=16A}}|{{Subpage list|button=16B}} }} }} }} }}
|-
|<center><font size=1>''[[CZ:Subpage Pilot|About Clusters]]''</font></center>
|-
|<center><font color="#333333" size=1>{{ #ifeq: {{../../Info|info=pagename}}/Signed articles|{{BASEPAGENAME}}|[[{{../../Info|info=pagename}}/Unused|Unused subpages]]|[[{{BASEPAGENAME}}/Unused|Unused subpages]]}}</font></center>
|}
|}
|}<!--
|}<!--
Line 97: Line 92:
***The following code is to place the correct header template above each article subpage***
***The following code is to place the correct header template above each article subpage***


-->{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Talk||{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{{{BASEPAGENAME}}/Info|info=approved}}|yes|{{approved2}}|{{Construction}} }} }} }}
-->{{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
 
| {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}}
}}{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/Draft|{{#ifeq:{{NAMESPACE}}|Talk||{{Draft header2}}{{Checklist3|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }} }}
| <!--(Article)-->{{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|{{approved2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|status= {{{{BASEPAGENAME}}/Info|info=status}}|editor= {{{{BASEPAGENAME}}/Info|info=A editor}}|editor2= {{{{BASEPAGENAME}}/Info|info=A editor2}}|editor3= {{{{BASEPAGENAME}}/Info|info=A editor3}}}}{{Checklist3|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|status= {{{{BASEPAGENAME}}/Info|info=status}} }}|}}
 
|   {{#ifeq:{{SUBPAGENAME}}|Draft
}}{{ #ifeq: {{NAMESPACE}}:{{BASEPAGENAME}}|Talk:{{BASEPAGENAME}}|{{Checklist2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}}|cat_check = {{{{BASEPAGENAME}}/Info|info=cat_check}}|status = {{{{BASEPAGENAME}}/Info|info=status}}|underlinked = {{{{BASEPAGENAME}}/Info|info=underlinked}}|cleanup = {{{{BASEPAGENAME}}/Info|info=cleanup}}|by = {{{{BASEPAGENAME}}/Info|info=by}} }}
| <!--(Draft)-->{{Draft header2|status = {{{{BASEPAGENAME}}/Info|info=status}} }} {{#ifeq: {{{{BASEPAGENAME}}/Info|info=status}}|0||{{Checklist3|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|status= {{{{BASEPAGENAME}}/Info|info=status}} }} }}
 
| {{ #ifexist: {{../../Info|info=pagename}}
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/Unused|{{Unused subpages}}
| {{#ifeq: {{../../Info|info=pagename}}/Signed Articles|{{BASEPAGENAME}}
 
                      |<!--(signed article)-->{{Signed Article Header||group= {{../../Info|info=cat1}}|group2= {{../../Info|info=cat2}}|group3={{../../Info|info=cat3}}|abc={{../../Info|info=abc}}|status= {{../../Info|info=status}} }}
}}{{#ifeq:{{NAMESPACE}}:{{PAGENAME}}/Info |Template:{{BASEPAGENAME}}/Info|{{Info}}
      | {{#ifeq: {{../../Info|info=pagename}}/Tables|{{BASEPAGENAME}}
 
                |<!--(table sub-subpage)-->{{Table Header||group= {{../../Info|info=cat1}}|group2= {{../../Info|info=cat2}}|group3={{../../Info|info=cat3}}|abc={{../../Info|info=abc}}|status= {{../../Info|info=status}} }}
}}{{ #ifeq: {{../../Info|info=pagename}}/Signed articles|{{BASEPAGENAME}}|{{Signed Article Header}}
                | {{#ifeq: {{../../Info|info=pagename}}/Timelines|{{BASEPAGENAME}}
 
                        |<!--(timeline sub-subpage)-->{{Timeline Header||group= {{../../Info|info=cat1}}|group2= {{../../Info|info=cat2}}|group3={{../../Info|info=cat3}}|abc={{../../Info|info=abc}}|status= {{../../Info|info=status}} }}
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=1A}}|{{ {{Subpage list|button=1A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}  
                                      |}} }} }}
 
  | {{#ifeq:{{SUBPAGENAME}}|Unused
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=2A}}|{{ {{Subpage list|button=2A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}  
  | <!--Unused subpages--> {{Unused subpages}}  
 
  | <!--(All subpage articles)-->{{ {{SUBPAGENAME}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|status= {{{{BASEPAGENAME}}/Info|info=status}} }}    }} }} }} }}
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=3A}}|{{ {{Subpage list|button=3A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}  
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
 
| {{#ifeq:{{NAMESPACE}}|Talk
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=4A}}|{{ {{Subpage list|button=4A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}
| {{#ifeq:{{SUBPAGENAME}}|Draft
 
| <!--(Draft Talk page) always place the checklist here if the page exists-->{{Checklist2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|cat_check = {{{{BASEPAGENAME}}/Info|info=cat_check}}|status = {{{{BASEPAGENAME}}/Info|info=status}}|underlinked = {{{{BASEPAGENAME}}/Info|info=underlinked}}|cleanup = {{{{BASEPAGENAME}}/Info|info=cleanup}}|by = {{{{BASEPAGENAME}}/Info|info=by}} }}
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=5A}}|{{ {{Subpage list|button=5A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}
| <!--not currently used--> (All subpage articles Talk) }}
 
| {{#ifeq:{{NAMESPACE}}|User
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=6A}}|{{ {{Subpage list|button=6A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}
| <!--not currently used--> (User subpage)
 
| <!--not currently used--> (User subpage talk) }} }}  
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=7A}}|{{ {{Subpage list|button=7A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}  
| {{#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= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|cat_check = {{{{BASEPAGENAME}}/Info|info=cat_check}}|status = {{{{BASEPAGENAME}}/Info|info=status}}|underlinked = {{{{BASEPAGENAME}}/Info|info=underlinked}}|cleanup = {{{{BASEPAGENAME}}/Info|info=cleanup}}|by = {{{{BASEPAGENAME}}/Info|info=by}} }}
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=8A}}|{{ {{Subpage list|button=8A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}
| {{#ifeq:{{NAMESPACE}}|User
 
| <!--not currently used--> (User page)
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=9A}}|{{ {{Subpage list|button=9A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}
| {{#ifeq:{{NAMESPACE}}|User talk
 
|<!--not currently used--> (User talk page)
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=10A}}|{{ {{Subpage list|button=10A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}
| {{#ifeq:{{{{BASEPAGENAME}}|info=pagename}}/Info|{{BASEPAGENAME}}
 
                        |<!--(metadata page)-->{{Metadata}}
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=11A}}|{{ {{Subpage list|button=11A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}
                                        | {{#ifeq:{{NAMESPACE}}|Template
 
                    | {{Metadata}}
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=12A}}|{{ {{Subpage list|button=12A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}
    | (template talk page) }} }} }} }} }} }} }}<noinclude>
 
===Usage===
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=13A}}|{{ {{Subpage list|button=13A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}
Examples of this templates use can be found at the [[Anthropology]] cluster (not approved) and the [[Life]] cluster (approved).
 
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=14A}}|{{ {{Subpage list|button=14A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}
 
}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=15A}}|{{ {{Subpage list|button=15A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }}


}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/{{Subpage list|button=16A}}|{{ {{Subpage list|button=16A}} header2|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=approved}} }} }}
</noinclude>

Latest revision as of 14:18, 18 August 2007

Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

This is a central location for all information relating to the

Cluster

[[Template:Subpages4/Info]]

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:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

variant =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

Required for checklist

abc =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cat_check =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

status =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

underlinked =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cleanup =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

by =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cat1 =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cat2 =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cat3 =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

Required for the {{ToApprove}} template

article url =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

subpage url =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

cluster =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

now =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

ToA editor =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

ToA editor2 =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

ToA editor3 =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

ToA editor4 =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

date =
Cluster

[[Template:Subpages4/Info]]

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:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

A editor2 =
Cluster

[[Template:Subpages4/Info]]

Related Articles  #
Bibliography  #
External Links  #

Template loop detected: Template:Metadata

A editor3 =
Cluster

[[Template:Subpages4/Info]]

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).