Template:Subpage list: Difference between revisions
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 107: | Line 107: | ||
!example | !example | ||
|- | |- | ||
|For approved article||button on A|| {{Subpage list|button=button on A}} |style="background:#{{Subpage list|button=button on A}}"|Example | |For approved article||button on A|| {{Subpage list|button=button on A}} |style="background:#{{Subpage list|button=button on A}}"||Example | ||
|- | |- | ||
|For unapproved article||button on NA||{{Subpage list|button=button on NA}}|style="background:#{{Subpage list|button=button on NA}}"|Example | |For unapproved article||button on NA||{{Subpage list|button=button on NA}}|style="background:#{{Subpage list|button=button on NA}}"||Example | ||
|- | |- | ||
|For a button that is not selected||button off ||{{Subpage list|button=button off}}|style="background:#{{Subpage list|button=button off}}"|Example | |For a button that is not selected||button off ||{{Subpage list|button=button off}}|style="background:#{{Subpage list|button=button off}}"||Example | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 19:30, 26 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
|
|
|
|
Colours used in the subpages template:
Button type | field name | designated color | example |
---|---|---|---|
For approved article | button on A | style="background:#C4DFC4" | Example |
For unapproved article | button on NA | style="background:#C4D2DF" | Example |
For a button that is not selected | button off | style="background:#CCCCCC" | Example |