Template:Subpage list: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(remove button)
imported>Chris Day
(remove usage text)
Line 51: Line 51:
|17B = Signed Articles
|17B = Signed Articles
|    17C = Optional
|    17C = Optional
}}<noinclude>
|18A = Approval
{{subpages}}
|18B = Approval&nbsp;notes
The page contains all the variable parameters for the subpage navigation template.
|   18C = Optional
 
}}
==Usage==
Currently, this template has a master list button and their variables, including the actual subpage name that is targeted by the button and the text seen on the button; these two are not always the same. Any button can also be set to either a ''default'' or an ''optional'' status. Default buttons will always appear in the navigation box even if there is that subpage does not exist in the article cluster.
 
In the future, it will be possible to control the colours and styles of the button/tab's.
 
==Master list of buttons==
 
This master list of buttons is used to define the buttons on the {{[[Template:Subpages4|subpages4]]}} navigation box template.
*'''#A'''= name of subpage
*'''#B'''= name seen on the button
*'''#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.
 
Additional buttons can be added for new subpage names but only 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]]
{{col-begin}}
{{col-break}}
:1A = '''[[CZ:{{Subpage list|button=1A}}|{{Subpage list|button=1A}}]]'''
:1B = {{Subpage list|button=1B}}
:1C = {{Subpage list|button=1C}}
 
: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}}
{{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>

Revision as of 13:39, 30 July 2007