Template:Subpage list: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>John Stephenson
m (Protected "Template:Subpage list": important template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(89 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#switch: {{{button}}}
{{#switch: {{{button}}}
|1A = Related
|1A = Related Articles
|1B = Related Articles
|1B = Related Articles
|    1C = Default
|2A = Bibliography
|2A = Bibliography
|2B = Bibliography
|2B = Bibliography
|    2C = Default
|3A = External Links
|3A = Links
|3B = External Links
|3B = External Links
|    3C = Default
|4A = Works
|4A = Tables
|4B = Works
|4B = Tables
|5A = Discography
|    4C = Optional
|5B = Discography
|5A = Gallery
|6A = Filmography
|5B = Gallery
|6B = Filmography
|    5C = Optional
|7A = Catalogs
|6A = Approval
|7B = Catalogs
|6B = Approval notes
|8A = Timelines
|    6C = Optional
|8B = Timelines
|7A = Tutorials
|9A = Gallery
|7B = Tutorials
|9B = Gallery
|    7C = Optional
|10A = Audio
|8A = Debate guide
|10B = Audio
|8B = Debate Guide
|11A = Video
|    8C = Optional
|11B = Video
|9A = News guide
|12A = Code
|9B = News Guide
|12B = Code
|    9C = Optional
|13A = Tutorials
|10A = Signed articles
|13B = Tutorials
|10B = Signed Articles
|14A = Student Level
|    10C = Optional
|14B = Student Level
|11A = Discography
|15A = Signed Articles
|11B = Discography
|15B = Signed Articles
|    11C = Optional
|16A = Function
|12A = Timelines
|16B = Function
|12B = Timelines
|17A = Addendum
|    12C = Optional
|17B = Addendum
|13A = Other2
|18A = Debate Guide
|13B = Other2
|18B = Debate Guide
|    13C = Optional
|19A = Advanced
|14A = Other3
|19B = Advanced
|14B = Other3
|20A = Recipes
|    14C = Optional
|20B = Recipes
|15A = Other4
|21A = Citable Version
|15B = Other4
|21B = Citable Version
|    15C = Optional
|22A = Button available
|16A = FREE BUTTON
|22B =
|16B = FREE BUTTON
|23A = Button available
|    16C =
|23B =
}}<noinclude>
|24A = Button available
{{subpages}}
|24B =
==Usage==
|25A = Button available
Master list to define the buttons on the {{[[Template:Subpages|subpages]]}} navigation box template.
|25B =
*'''#A'''= name of subpage
|26A = Button available
*'''#B'''= name seen on the button
|26B =
*'''#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 {{[[Template:Subpages|subpages]]}} template whether the subpage exists or not (''i.e.'' could be a red link button).  Those labelled as "Optional" will only appear in the {{[[Template:Subpages|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 {{[[Template:Unused subpages|unused subpages]]}} template.
|27A = Button available
<pre>
|27B =
|1A = Related
|28A = Button available
|1B = Related&nbsp;Articles
|28B =
|   1C = Default
|29A = Button available
|2A = Bibliography
|29B =
|2B = Bibliography
|30A = Button available
|   2C = Default
|30B =
|3A = Links
|button on A =C4DFC4
|3B = External&nbsp;Links
|button on NA =C4D2DF
|    3C = Default
|button off =CCCCCC
|4A = Tables
|background= f3f3f3
|4B = Tables
}}<noinclude>{{TlDoc}}</noinclude>
|    4C = Optional
|5A = Gallery
|5B = Gallery
|    5C = Optional
|6A = Approval
|6B = Approval notes
|   6C = Optional
|7A = Tutorials
|7B = Tutorials
|   7C = Optional
|8A = Debate guide
|8B = Debate&nbsp;Guide
|   8C = Optional
|9A = News guide
|9B = News&nbsp;Guide
|   9C = Optional
|10A = Signed articles
|10B = Signed&nbsp;Articles
|   10C = Optional
|11A = Discography
|11B = Discography
|   11C = Optional
|12A = Timelines
|12B = Timelines
|   12C = Optional
|13A = Other2
|13B = Other2
|   13C = Optional
|14A = Other3
|14B = Other3
|   14C = Optional
|15A = Other4
|15B = Other4
|   15C = Optional
|16A = FREE BUTTON
|16B = FREE BUTTON
|    16C =
</pre></noinclude>

Latest revision as of 06:43, 13 August 2013

This documentation is transcluded from Template:Subpage list/doc (edit | history)

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
  • #B= same name but using non breaking spaces. Used in the subpages tab.
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

1 = Related Articles
2 = Bibliography
3 = External Links
4 = Works
5 = Discography

6 = Filmography
7 = Catalogs
8 = Timelines
9 = Gallery
10 = Audio

11 = Video
12 = Code
13 = Tutorials
14 = Student Level
15 = Signed Articles

16 = Function
17 = Addendum
18 = Debate Guide
19 = Advanced
20 = Recipes

21 = Citable Version
22 = Button available
23 = Button available

24 = Button available
25 = Button available

26 = Button available
27 = Button available
28 = Button available

29 = Button available
30 = Button available

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