Template:Subpages9: Difference between revisions
imported>Chris Day (no need for tab templates when have perfectly good header templates) |
imported>Chris Day |
||
Line 56: | Line 56: | ||
==Parameters== | ==Parameters== | ||
When used on the ''main article'' the template will transclude the {{[[Template:Approved|Approved]]}} template if the article has been approved or transclude the {{[[Template:Construction|Construction]]}} template if the article is still a developing. Consequently the subpages9 templates uses the same parameters. | |||
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. | |||
*{{[[Template:Draft header|Draft header]]}} | |||
*{{[[Template:Related header|Related header]]}} | |||
*{{[[Template:Biblio header|Biblio header]]}} | |||
*{{[[Template:Links header|Links header]]}} | |||
*{{[[Template:Tables header|Tables header]]}} | |||
*{{[[Template:Timelines header|Timelines header]]}} | |||
*{{[[Template:Tutorials header|Tutorials header]]}} | |||
*{{[[Template:Debate guide header|Debate guide header]]}} | |||
*{{[[Template:Discography header|Discography header]]}} | |||
*{{[[Template:Gallery header|Gallery header]]}} | |||
*{{[[Template:Signed articles header|Signed articles header]]}} | |||
*{{[[Template:News guide header|News guide header]]}} | |||
==Style templates== | |||
The folowing templates are used to control the style elements of the tab buttons. | |||
*{{[[Template:Subpagetab|Subpagetab]]}} - designates the variables for the selected tab. | |||
*{{[[Template:Subpagetab2|Subpagetab2]]}} - designates the variables for the unselected tab. | |||
==Credits== | ==Credits== |
Revision as of 22:53, 17 July 2007
Main Article | Draft | Related articles | Bibliography | External links | |||||||||||||||||
|
Placement
Use on the top of pages as an index mechanism for subpages.
Usage
See example on Anthropology.
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.
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.
- {{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