Template:Subpage list: Difference between revisions
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 67: | Line 67: | ||
*'''#C''' = Indicates if the button represents a "Default" or "Optional" subpage, or a non functional button. Any subpage labelled "Default" will be placed at the top of the {{[[Template:Subpages4|subpages4]]}} template whether the subpage exists or not (''i.e.'' could be a red link button). Those labelled as "Optional" will only appear in the {{[[Template:Subpages|subpages]]}} template if they exist (''i.e.'' will only show blue links). If the #C parameter is left blank it will be ignored as a button, even by the {{[[Template:Unused subpages|unused subpages]]}} template. | *'''#C''' = Indicates if the button represents a "Default" or "Optional" subpage, or a non functional button. Any subpage labelled "Default" will be placed at the top of the {{[[Template:Subpages4|subpages4]]}} template whether the subpage exists or not (''i.e.'' could be a red link button). Those labelled as "Optional" will only appear in the {{[[Template:Subpages|subpages]]}} template if they exist (''i.e.'' will only show blue links). If the #C parameter is left blank it will be ignored as a button, even by the {{[[Template:Unused subpages|unused subpages]]}} template. | ||
Additional buttons can be added for new subpage names but only after they have been approved by either the Editor-in-Chief or the Editorial Council. For a description of the full process see the following guide: [[CZ:Subpage_Pilot#How_to_add_subpage_types|How to add subpage types]] | |||
{{col-begin}} | {{col-begin}} | ||
{{col-break}} | {{col-break}} |
Revision as of 13:34, 30 July 2007
The {{subpages}} template is designed to be used within article clusters and their related pages.
It will not function on Template pages.
The page contains all the variable parameters for the subpage navigation template.
Usage
Currently, this template has a master list button and their variables, including the actual subpage name that is targeted by the button and the text seen on the button; these two are not always the same. Any button can also be set to either a default or an optional status. Default buttons will always appear in the navigation box even if there is that subpage does not exist in the article cluster.
In the future, it will be possible to control the colours and styles of the button/tab's.
Master list of buttons
This master list of buttons is used to define the buttons on the {{subpages4}} navigation box template.
- #A= name of subpage
- #B= name seen on the button
- #C = Indicates if the button represents a "Default" or "Optional" subpage, or a non functional button. Any subpage labelled "Default" will be placed at the top of the {{subpages4}} template whether the subpage exists or not (i.e. could be a red link button). Those labelled as "Optional" will only appear in the {{subpages}} template if they exist (i.e. will only show blue links). If the #C parameter is left blank it will be ignored as a button, even by the {{unused subpages}} template.
Additional buttons can be added for new subpage names but only after they have been approved by either the Editor-in-Chief or the Editorial Council. For a description of the full process see the following guide: How to add subpage types
|
|
|
|
Button colours
Tab based
To be continued, currently an experimental idea.
- Button ON
- Body
- body on A =
- body on NA =
- Lines
- top on =
- left on =
- right on =
- bottom on = (same as body on with A and NA variable)
- Button OFF
- Body
- body off =
- Lines
- top off =
- left off =
- right off =
- bottom off =
- Table
- Body
- body A = (same as body on for Button ON)
- body NA = (same as body on for Button ON)
- Lines
- top =
- left =
- right =
- bottom =