Template:Subpage list: Difference between revisions
imported>Chris Day (→Usage) |
imported>Chris Day (→Usage) |
||
Line 67: | Line 67: | ||
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. | 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 button/tab | In the future, it will be possible to control the colours and styles of the button/tab's. | ||
==Master list of buttons== | ==Master list of buttons== |
Revision as of 12:47, 27 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 =