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)))
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#switch: {{{button}}}
{{#switch: {{{button}}}
|1A = Related Articles
|1A = Related Articles
|1B = Related_Articles
|1B = Related Articles
|2A = Bibliography
|2A = Bibliography
|2B = Bibliography
|2B = Bibliography
|3A = External Links
|3A = External Links
|3B = External_Links
|3B = External Links
|4A = Works
|4A = Works
|4B = Works
|4B = Works
Line 27: Line 27:
|13B =  Tutorials
|13B =  Tutorials
|14A =  Student Level
|14A =  Student Level
|14B =  Student_Level
|14B =  Student Level
|15A = Signed Articles
|15A = Signed Articles
|15B = Signed_Articles
|15B = Signed Articles
|16A = Function
|16A = Function
|16B = Function
|16B = Function
|17A = Addendum
|17A = Addendum
|17B = Addendum
|17B = Addendum
|18A =Debate Guide
|18A = Debate Guide
|18B = Debate_Guide
|18B = Debate Guide
|19A =Isotopes
|19A = Advanced
|19B = Isotopes
|19B = Advanced
|20A =Button available
|20A = Recipes
|20B =  
|20B = Recipes
|button on A =#C4DFC4
|21A = Citable Version
|button on NA =#C4D2DF
|21B = Citable Version
|button off =#CCCCCC
|22A = Button available
}}<noinclude>
|22B =
This master list of buttons is used to define the buttons on the {{[[Template:Subpages|subpages]]}} navigation box template.
|23A = Button available
In edit mode two fields are required:
|23B =
*'''#A'''= name of subpage as viewed on tabs
|24A = Button available
*'''#B'''= same name but with underscored spaces as used by url links.
|24B =
::<small>If the #B parameter is left blank it will not be included in the unused subpage list on the talk page.</small>
|25A = Button available
 
|25B =
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 {{[[Template:Subpages|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 {{[[Template:Subpages|subpages]]}} template if they exist in the cluster (''i.e.'' will only show blue links).
|26A = Button available
 
|26B =
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: [[CZ:Subpage_Pilot#How_to_add_subpage_types|How to add subpage types]]
|27A = Button available
{{col-begin}}
|27B =
{{col-break}}
|28A = Button available
:1 = '''[[CZ:{{Subpage list|button=1A}}|{{Subpage list|button=1A}}]]'''
|28B =
 
|29A = Button available
:2 = '''[[CZ:{{Subpage list|button=2A}}|{{Subpage list|button=2A}}]]'''
|29B =
 
|30A = Button available
:3 = '''[[CZ:{{Subpage list|button=3A}}|{{Subpage list|button=3A}}]]'''
|30B =
 
|button on A =C4DFC4
:4 = '''[[CZ:{{Subpage list|button=4A}}|{{Subpage list|button=4A}}]]'''
|button on NA =C4D2DF
 
|button off =CCCCCC
:5 = '''[[CZ:{{Subpage list|button=5A}}|{{Subpage list|button=5A}}]]'''
|background= f3f3f3
 
}}<noinclude>{{TlDoc}}</noinclude>
{{col-break}}
:6 = '''[[CZ:{{Subpage list|button=6A}}|{{Subpage list|button=6A}}]]'''
 
:7 = '''[[CZ:{{Subpage list|button=7A}}|{{Subpage list|button=7A}}]]'''
 
:8 = '''[[CZ:{{Subpage list|button=8A}}|{{Subpage list|button=8A}}]]'''
 
:9 = '''[[CZ:{{Subpage list|button=9A}}|{{Subpage list|button=9A}}]]'''
 
:10 = '''[[CZ:{{Subpage list|button=10A}}|{{Subpage list|button=10A}}]]'''
 
{{col-break}}
:11 = '''[[CZ:{{Subpage list|button=11A}}|{{Subpage list|button=11A}}]]'''
 
:12 = '''[[CZ:{{Subpage list|button=12A}}|{{Subpage list|button=12A}}]]'''
 
:13 = '''[[CZ:{{Subpage list|button=13A}}|{{Subpage list|button=13A}}]]'''
 
:14 = '''[[CZ:{{Subpage list|button=14A}}|{{Subpage list|button=14A}}]]'''
 
:15 = '''[[CZ:{{Subpage list|button=15A}}|{{Subpage list|button=15A}}]]'''
 
{{col-break}}
:16 = '''[[CZ:{{Subpage list|button=16A}}|{{Subpage list|button=16A}}]]'''
 
:17 = '''[[CZ:{{Subpage list|button=17A}}|{{Subpage list|button=17A}}]]'''
 
:18 = '''[[CZ:{{Subpage list|button=18A}}|{{Subpage list|button=18A}}]]'''
 
:19 = '''[[CZ:{{Subpage list|button=19A}}|{{Subpage list|button=19A}}]]'''
 
:20 = '''[[CZ:{{Subpage list|button=20A}}|{{Subpage list|button=20A}}]]'''
{{col-end}}
 
Colours used in the subpages template:
 
{|class="wikitable"
!Button type
!field name
!designated color
!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 a button that is not selected||button off ||{{Subpage list|button=button off}}|style="background:{{Subpage list|button=button off}}"|Example
|}
</noinclude>

Latest revision as of 07: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