Template:Subpage list: Difference between revisions
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 40: | Line 40: | ||
|20A =Button available | |20A =Button available | ||
|20B = | |20B = | ||
|button on A = | |button on A =C4DFC4 | ||
|button on NA =C4D2DF | |button on NA =C4D2DF | ||
|button off =CCCCCC | |button off =CCCCCC | ||
|background= f3f3f3 | |||
}}<noinclude> | }}<noinclude> | ||
This master list of buttons is used to define the buttons on the {{[[Template:Subpages|subpages]]}} navigation box template. | This master list of buttons is used to define the buttons on the {{[[Template:Subpages|subpages]]}} navigation box template. | ||
Line 99: | Line 100: | ||
{{col-end}} | {{col-end}} | ||
Colors used in the subpages template: | |||
{|class="wikitable" | {|class="wikitable" | ||
Line 105: | Line 106: | ||
!field name | !field name | ||
!designated color | !designated color | ||
!example | !example of the color selected | ||
|- | |- | ||
|For approved article | |For approved article | ||
Line 121: | Line 122: | ||
|{{Subpage list|button=button off}} | |{{Subpage list|button=button off}} | ||
|style="background:#{{Subpage list|button=button off}}"|Example | |style="background:#{{Subpage list|button=button off}}"|Example | ||
|- | |||
|For template background | |||
|''background '' | |||
|{{Subpage list|button=background}} | |||
|style="background:#{{Subpage list|button=background}}"|Example | |||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 19:45, 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
|
|
|
|
Colors used in the subpages template:
Button type | field name | designated color | example of the color selected |
---|---|---|---|
For approved article | button on A | C4DFC4 | Example |
For unapproved article | button on NA | C4D2DF | Example |
For a button that is not selected | button off | CCCCCC | Example |
For template background | background | f3f3f3 | Example |