Template:Subpages9: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(remove size hog, only need this once)
Line 30: Line 30:
|style="background-color: #FFFFff; border-bottom:2px solid #eeeeee"| 
|style="background-color: #FFFFff; border-bottom:2px solid #eeeeee"| 
|-  
|-  
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Talk||{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} | {{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} }} }} }}
|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}


}}{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/Draft|{{#ifeq:{{NAMESPACE}}|Talk||{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}}  {{Draft header}}{{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:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Talk||{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0| | }} }} }}


}}{{#ifeq:{{PAGENAME}} |{{BASEPAGENAME}}/Unused|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}}
}}{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}/Draft|{{#ifeq:{{NAMESPACE}}|Talk||  {{Draft header}}{{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: {{NAMESPACE}}:{{BASEPAGENAME}}|Talk:{{BASEPAGENAME}}| {{ #ifeq: {{SUBPAGENAME}}|Draft|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{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}}/Unused|


}}{{ #ifeq: {{../../Info|info=pagename}}/Signed articles|{{BASEPAGENAME}}|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Signed Article Header}}
}}{{ #ifeq: {{NAMESPACE}}:{{BASEPAGENAME}}|Talk:{{BASEPAGENAME}}| {{ #ifeq: {{SUBPAGENAME}}|Draft| {{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}}/Related|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{related header3|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: {{../../Info|info=pagename}}/Signed articles|{{BASEPAGENAME}}| {{Signed Article Header}}


}}{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Bibliography|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{biblio header|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}}/Related| {{related header3|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}}/Links|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{links header3|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}}/Bibliography| {{biblio header|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}}/Tables|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{tables header|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}}/Links| {{links header3|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}}/Gallery|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Gallery header3|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}}/Tables| {{tables header|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}}/Timelines|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{timelines header|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}}/Gallery| {{Gallery header3|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}}/Tutorials|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Tutorials header|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}}/Timelines| {{timelines header|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}}/Debate guide|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Debate guide header|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}}/Tutorials| {{Tutorials header|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}}/News guide|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{News guide header|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}}/Debate guide| {{Debate guide header|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}}/Signed articles|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Signed articles header|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}}/News guide| {{News guide header|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}}/Discography|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Discography header|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}}/Signed articles| {{Signed articles header|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}}/Other1|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Other1|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=status}}}}
}}{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Discography| {{Discography header|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}}/Other2|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Other2 header|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}}/Other1| {{Other1|group= {{{{BASEPAGENAME}}/Info|info=cat1}}|group2= {{{{BASEPAGENAME}}/Info|info=cat2}}|group3={{{{BASEPAGENAME}}/Info|info=cat3}}|abc={{{{BASEPAGENAME}}/Info|info=abc}}|approved= {{{{BASEPAGENAME}}/Info|info=status}}}}


}}{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other3|{{Cell_style|pagename= {{{{BASEPAGENAME}}/Info|info=pagename}}|status= {{{{BASEPAGENAME}}/Info|info=status}}}} {{Other3 header|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}}/Other2| {{Other2 header|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}}/Other3| {{Other3 header|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}}}}}}
|}</div>
|}</div>
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Talk||{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|{{approved3|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}}}}| {{Construction2}} }} }} }}
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Talk||{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|{{approved3|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}}}}| {{Construction2}} }} }} }}

Revision as of 20:50, 27 July 2007

Main Article Draft Related articles Bibliography External links  
Template:Cell style

Placement

Use on the top of pages as an index mechanism for subpages.

Usage

See example on Chiropractic an approved article. See New York City an article that is not currently approved.

Wikitext
{{Subpages9}}
Appearance


Anatomical

Parameters

When used on the main article the template will transclude the {{Approved}} template if the article has been approved or transclude the {{Construction}} template if the article is still a developing. Consequently the subpages9 templates uses the same parameters.

Consequently when the subpages9 template is used on the main article, it may need one or more of the following parameters. See {{Approved}} fo9r a more detailed explanation of their usage.

{{Subpages9
|editor=
|editor2=
|editor3=
|group=
|group2=
|group3=
|abc=
|status=
}}

Templates via transclusion are used on all the subpages, although not all of these templates use variable parameters. The following templates are transcluded for each subpage. (this is still a work in progress, any parameters important for each subpage will be added pending this template moving beyond a testing phase.

Style templates

The folowing templates are used to control the style elements of the tab buttons.

  • {{Subpagetab}} - designates the variables for the selected tab.
  • {{Subpagetab2}} - designates the variables for the unselected tab.

Credits