Template:Subpage list: Difference between revisions
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 160: | Line 160: | ||
|''button on A'' | |''button on A'' | ||
| {{Subpage list|button=button on A}} | | {{Subpage list|button=button on A}} | ||
|style="background:#{{Subpage list|button=button on A}}"| | |style="background:#{{Subpage list|button=button on A}}"| | ||
|- | |- | ||
|For unapproved article | |For unapproved article | ||
|''button on NA'' | |''button on NA'' | ||
|{{Subpage list|button=button on NA}} | |{{Subpage list|button=button on NA}} | ||
|style="background:#{{Subpage list|button=button on NA}}"| | |style="background:#{{Subpage list|button=button on NA}}"| | ||
|- | |- | ||
|For a button that is not selected | |For a button that is not selected | ||
|''button off '' | |''button off '' | ||
|{{Subpage list|button=button off}} | |{{Subpage list|button=button off}} | ||
|style="background:#{{Subpage list|button=button off}}"| | |style="background:#{{Subpage list|button=button off}}"| | ||
|- | |- | ||
|For template background | |For template background | ||
|''background '' | |''background '' | ||
|{{Subpage list|button=background}} | |{{Subpage list|button=background}} | ||
|style="background:#{{Subpage list|button=background}}"| | |style="background:#{{Subpage list|button=background}}"| | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 00:04, 31 March 2008
This master list of buttons is used to define the buttons on the {{subpages}} navigation box template. In edit mode two fields are required:
- #A= name of subpage as viewed on tabs
- #B= same name but with underscored spaces as used by url links.
- If the #B parameter is left blank it will not be included in the unused subpage list on the talk page.
The first three buttons are hardwired as default by the subpages template, the others are optional. Any subpagedefined as "Default" will be placed at the top of the {{subpages}} template whether the subpage exists in the cluster or not (i.e. could be a red link button). Those labelled as "Optional" will only appear in the {{subpages}} template if they exist in the cluster (i.e. will only show blue links).
Buttons labelled "Button available" 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
|
|
|
|
|
|
|
|
Colors used in the subpages template:
Button type | field name | designated color | example of the color selected |
---|---|---|---|
For approved article | button on A | C4DFC4 | |
For unapproved article | button on NA | C4D2DF | |
For a button that is not selected | button off | CCCCCC | |
For template background | background | f3f3f3 |