imported>Chris Day |
imported>John Stephenson |
(46 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 |
| }}<noinclude>
| | |20B = Recipes |
| {{subpages}}
| | |21A = Citable Version |
| The page contains all the variable parameters for the subpage navigation template.
| | |21B = Citable Version |
| | | |22A = Button available |
| ==Usage== | | |22B = |
| 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.
| | |23A = Button available |
| | | |23B = |
| In the future, it will be possible to control the colours and styles of the button/tab's.
| | |24A = Button available |
| | | |24B = |
| ==Master list of buttons==
| | |25A = Button available |
| | | |25B = |
| This master list of buttons is used to define the buttons on the {{[[Template:Subpages4|subpages4]]}} navigation box template.
| | |26A = Button available |
| *'''#A'''= name of subpage
| | |26B = |
| *'''#B'''= name seen on the button
| | |27A = Button available |
| *'''#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.
| | |27B = |
| | | |28A = Button available |
| 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]]
| | |28B = |
| {{col-begin}}
| | |29A = Button available |
| {{col-break}}
| | |29B = |
| :1A = '''[[CZ:{{Subpage list|button=1A}}|{{Subpage list|button=1A}}]]'''
| | |30A = Button available |
| :1B = {{Subpage list|button=1B}}
| | |30B = |
| :1C = {{Subpage list|button=1C}}
| | |button on A =C4DFC4 |
| | | |button on NA =C4D2DF |
| :2A = '''[[CZ:{{Subpage list|button=2A}}|{{Subpage list|button=2A}}]]'''
| | |button off =CCCCCC |
| :2B = {{Subpage list|button=2B}}
| | |background= f3f3f3 |
| :2C = {{Subpage list|button=2C}}
| | }}<noinclude>{{TlDoc}}</noinclude> |
| | |
| :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> | |