Template:Subpage list: Difference between revisions
imported>Chris Day (use optional in C field of unused button) |
imported>Chris Day (fill fields otherwise leave alone) |
||
Line 51: | Line 51: | ||
|17B = Signed Articles | |17B = Signed Articles | ||
| 17C = Optional | | 17C = Optional | ||
|18A = Button available | |18A =Button available | ||
|18B = Button available | |18B = Button available | ||
| 18C = Optional | | 18C = Optional | ||
|19A =Button available | |||
|19B = Button available | |||
| 19C = Optional | |||
|20A =Button available | |||
|20B = Button available | |||
| 20C = Optional | |||
}}<noinclude> | }}<noinclude> | ||
{{subpages}} | {{subpages}} | ||
Line 147: | Line 153: | ||
:18B = {{Subpage list|button=18B}} | :18B = {{Subpage list|button=18B}} | ||
:18C = {{Subpage list|button=18C}} | :18C = {{Subpage list|button=18C}} | ||
:19A = '''[[CZ:{{Subpage list|button=19A}}|{{Subpage list|button=19A}}]]''' | |||
:19B = {{Subpage list|button=19B}} | |||
:19C = {{Subpage list|button=19C}} | |||
:20A = '''[[CZ:{{Subpage list|button=20A}}|{{Subpage list|button=20A}}]]''' | |||
:20B = {{Subpage list|button=20B}} | |||
:20C = {{Subpage list|button=20C}} | |||
{{col-end}} | {{col-end}} | ||
Revision as of 12:18, 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.
Buttons labelled FREE can be utlised for new subpages names 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 =