Template:Subpages9: Difference between revisions
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 29: | Line 29: | ||
</nowiki>{{#ifexist:{{BASEPAGENAME}}/Other3|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other3|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other3|Other3]]</font> |}} | </nowiki>{{#ifexist:{{BASEPAGENAME}}/Other3|{{#ifeq: {{PAGENAME}} |{{BASEPAGENAME}}/Other3|{{!}}{{subpagetab}} |{{!}}{{Subpagetab2}} }} {{!}} <font size=1>[[{{NAMESPACE}}:{{BASEPAGENAME}}/Other3|Other3]]</font> |}} | ||
|style="background-color: #dddddd; border-bottom:2px solid #aaaaaa"| | |style="background-color: #dddddd; border-bottom:2px solid #aaaaaa"| | ||
|- cellpadding=" | |- cellpadding="20" | ||
{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Talk||{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|{{Cell_style}}{{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}}}}| {{Cell_style}} {{Construction2}} }} }} }} | {{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Talk||{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{{{BASEPAGENAME}}/Info|info=status}}|0|{{Cell_style}}{{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}}}}| {{Cell_style}} {{Construction2}} }} }} }} | ||
Revision as of 14:14, 26 July 2007
Placement
Use on the top of pages as an index mechanism for subpages.
Usage
See example on Chiropractic.
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.
- {{Draft header}}
- {{Related header}}
- {{Biblio header}}
- {{Links header}}
- {{Tables header}}
- {{Timelines header}}
- {{Tutorials header}}
- {{Debate guide header}}
- {{Discography header}}
- {{Gallery header}}
- {{Signed articles header}}
- {{News guide header}}
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
- Chris Day, scripting/tab design/Concept
- Robert King, Concept/Original Layout
- Stephen Ewen, Testing/scripting
- Larry Sanger, CZ/Establishment of Subpages