Template:Subpage list: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
imported>John Stephenson
m (Protected "Template:Subpage list": important template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(77 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 = Works
|4B = Works
|4B = Works
|    4C = Optional
|5A = Discography
|5A = Discography
|5B = Discography
|5B = Discography
|    5C = Optional
|6A = Filmography
|6A = Filmography
|6B = Filmography
|6B = Filmography
|    6C = Optional
|7A = Catalogs
|7A = Tables
|7B = Catalogs
|7B = Tables
|    7C = Optional
|8A = Timelines
|8A = Timelines
|8B = Timelines
|8B = Timelines
|    8C = Optional
|9A = Gallery
|9A = Gallery
|9B = Gallery
|9B = Gallery
|    9C = Optional
|10A = Audio
|10A = Audio
|10B = Audio
|10B = Audio
|    10C = Optional
|11A = Video
|11A = Video
|11B = Video
|11B = Video
|    11C = Optional
|12A = Code
|12A = Code
|12B = Code
|12B = Code
|    12C = Optional
|13A = Tutorials
|13A = Tutorials
|13B =  Tutorials
|13B =  Tutorials
|    13C = Optional
|14A =  Student Level
|14A =  Student
|14B =  Student Level
|14B =  Student
|15A = Signed Articles
|    14C = Optional
|15B = Signed Articles
|15A = Debate guide
|16A = Function
|15B = Debate Guide
|16B = Function
|    15C = Optional
|17A = Addendum
|16A = News guide
|17B = Addendum
|16B = News Guide
|18A = Debate Guide
|    16C = Optional
|18B = Debate Guide
|17A = Signed articles
|19A = Advanced
|17B = Signed Articles
|19B = Advanced
|    17C = Optional
|20A = Recipes
|18A =Button available
|20B = Recipes
|18B =  
|21A = Citable Version
|    18C =
|21B = Citable Version
|19A =Button available
|22A = Button available
|19B =  
|22B =
|    19C =
|23A = Button available
|20A =Button available
|23B =
|20B =  
|24A = Button available
|   20C =
|24B =
}}<noinclude>
|25A = Button available
{{subpages}}
|25B =
The page contains all the variables for the subpage template. Currently, button/tab names, colours and style can all be modified by changing these variables. In addition, a button can be set to either a ''default'' or an ''optional'' status within the sugpage navigation box.
|26A = Button available
 
|26B =
==Usage==
|27A = Button available
Master button list to define the buttons on the {{[[Template:Subpages4|subpages4]]}} navigation box template.
|27B =
*'''#A'''= name of subpage
|28A = Button available
*'''#B'''= name seen on the button
|28B =
*'''#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:Subpages4|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 {{[[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.
|29A = Button available
 
|29B =
==Master list of buttons==
|30A = Button available
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: [[CZ:Subpage_Pilot#How_to_add_subpage_types|How to add subpage types]]
|30B =
{{col-begin}}
|button on A =C4DFC4
{{col-break}}
|button on NA =C4D2DF
:1A = '''[[CZ:{{Subpage list|button=1A}}|{{Subpage list|button=1A}}]]'''
|button off =CCCCCC
:1B = {{Subpage list|button=1B}}
|background= f3f3f3
:1C = {{Subpage list|button=1C}}
}}<noinclude>{{TlDoc}}</noinclude>
 
:2A = '''[[CZ:{{Subpage list|button=2A}}|{{Subpage list|button=2A}}]]'''
:2B = {{Subpage list|button=2B}}
:2C = {{Subpage list|button=2C}}
 
:3A = '''[[CZ:{{Subpage list|button=3A}}|{{Subpage list|button=3A}}]]'''
:3B = {{Subpage list|button=3B}}
:3C = {{Subpage list|button=3C}}
 
:4A = '''[[CZ:{{Subpage list|button=4A}}|{{Subpage list|button=4A}}]]'''
:4B = {{Subpage list|button=4B}}
:4C = {{Subpage list|button=4C}}
 
:5A = '''[[CZ:{{Subpage list|button=5A}}|{{Subpage list|button=5A}}]]'''
:5B = {{Subpage list|button=5B}}
:5C = {{Subpage list|button=5C}}
 
{{col-break}}
:6A = '''[[CZ:{{Subpage list|button=6A}}|{{Subpage list|button=6A}}]]'''
:6B = {{Subpage list|button=6B}}
:6C = {{Subpage list|button=6C}}
 
:7A = '''[[CZ:{{Subpage list|button=7A}}|{{Subpage list|button=7A}}]]'''
:7B = {{Subpage list|button=7B}}
:7C = {{Subpage list|button=7C}}
 
:8A = '''[[CZ:{{Subpage list|button=8A}}|{{Subpage list|button=8A}}]]'''
:8B = {{Subpage list|button=8B}}
:8C = {{Subpage list|button=8C}}
 
:9A = '''[[CZ:{{Subpage list|button=9A}}|{{Subpage list|button=9A}}]]'''
:9B = {{Subpage list|button=9B}}
:9C = {{Subpage list|button=9C}}
 
:10A = '''[[CZ:{{Subpage list|button=10A}}|{{Subpage list|button=10A}}]]'''
:10B = {{Subpage list|button=10B}}
:10C = {{Subpage list|button=10C}}
 
{{col-break}}
:11A = '''[[CZ:{{Subpage list|button=11A}}|{{Subpage list|button=11A}}]]'''
:11B = {{Subpage list|button=11B}}
:11C = {{Subpage list|button=11C}}
 
:12A = '''[[CZ:{{Subpage list|button=12A}}|{{Subpage list|button=12A}}]]'''
:12B = {{Subpage list|button=12B}}
:12C = {{Subpage list|button=12C}}
 
:13A = '''[[CZ:{{Subpage list|button=13A}}|{{Subpage list|button=13A}}]]'''
:13B = {{Subpage list|button=13B}}
:13C = {{Subpage list|button=13C}}
 
:14A = '''[[CZ:{{Subpage list|button=14A}}|{{Subpage list|button=14A}}]]'''
:14B = {{Subpage list|button=14B}}
:14C = {{Subpage list|button=14C}}
 
:15A = '''[[CZ:{{Subpage list|button=15A}}|{{Subpage list|button=15A}}]]'''
:15B = {{Subpage list|button=15B}}
:15C = {{Subpage list|button=15C}}
 
{{col-break}}
:16A = '''[[CZ:{{Subpage list|button=16A}}|{{Subpage list|button=16A}}]]'''
:16B = {{Subpage list|button=16B}}
:16C = {{Subpage list|button=16C}}
 
:17A = '''[[CZ:{{Subpage list|button=17A}}|{{Subpage list|button=17A}}]]'''
:17B = {{Subpage list|button=17B}}
:17C = {{Subpage list|button=17C}}
 
:18A = '''[[CZ:{{Subpage list|button=18A}}|{{Subpage list|button=18A}}]]'''
:18B = {{Subpage list|button=18B}}
:18C = {{Subpage list|button=18C}}
 
:19A = '''[[CZ:{{Subpage list|button=19A}}|{{Subpage list|button=19A}}]]'''
:19B = {{Subpage list|button=19B}}
:19C = {{Subpage list|button=19C}}
 
:20A = '''[[CZ:{{Subpage list|button=20A}}|{{Subpage list|button=20A}}]]'''
:20B = {{Subpage list|button=20B}}
:20C = {{Subpage list|button=20C}}
{{col-end}}
 
==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 =
 
===Column based===
</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