Template:Subpage list: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
imported>Chris Day
No edit summary
Line 1: Line 1:
{{#switch: {{{button}}}
{{#switch: {{{button}}}
|1A = Related
|1A = Related
|1B = Related Articles
|1B = Related Articles
|    1C = Default
|    1C = Default
|2A = Bibliography
|2A = Bibliography
Line 7: Line 7:
|    2C = Default
|    2C = Default
|3A = Links
|3A = Links
|3B = External Links
|3B = External Links
|    3C = Default
|    3C = Default
|4A = Works
|4A = Works
Line 43: Line 43:
|    14C = Optional
|    14C = Optional
|15A = Debate guide
|15A = Debate guide
|15B = Debate Guide
|15B = Debate Guide
|    15C = Optional
|    15C = Optional
|16A = News guide
|16A = News guide
|16B = News Guide
|16B = News Guide
|    16C = Optional
|    16C = Optional
|17A = Signed articles
|17A = Signed articles
|17B = Signed Articles
|17B = Signed Articles
|    17C = Optional
|    17C = Optional
|18A =Button available
|18A =Button available
Line 77: Line 77:


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]]
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]]
{{col-begin}}
 
{{col-break}}
:1A = '''[[CZ:{{Subpage list|button=1A}}|{{Subpage list|button=1A}}]]'''
:1A = '''[[CZ:{{Subpage list|button=1A}}|{{Subpage list|button=1A}}]]'''
:1B = {{Subpage list|button=1B}}
:1B = {{Subpage list|button=1B}}
Line 99: Line 98:
:5C = {{Subpage list|button=5C}}
:5C = {{Subpage list|button=5C}}


{{col-break}}
:6A = '''[[CZ:{{Subpage list|button=6A}}|{{Subpage list|button=6A}}]]'''
:6A = '''[[CZ:{{Subpage list|button=6A}}|{{Subpage list|button=6A}}]]'''
:6B = {{Subpage list|button=6B}}
:6B = {{Subpage list|button=6B}}
Line 120: Line 118:
:10C = {{Subpage list|button=10C}}
:10C = {{Subpage list|button=10C}}


{{col-break}}
:11A = '''[[CZ:{{Subpage list|button=11A}}|{{Subpage list|button=11A}}]]'''
:11A = '''[[CZ:{{Subpage list|button=11A}}|{{Subpage list|button=11A}}]]'''
:11B = {{Subpage list|button=11B}}
:11B = {{Subpage list|button=11B}}
Line 141: Line 138:
:15C = {{Subpage list|button=15C}}
:15C = {{Subpage list|button=15C}}


{{col-break}}
:16A = '''[[CZ:{{Subpage list|button=16A}}|{{Subpage list|button=16A}}]]'''
:16A = '''[[CZ:{{Subpage list|button=16A}}|{{Subpage list|button=16A}}]]'''
:16B = {{Subpage list|button=16B}}
:16B = {{Subpage list|button=16B}}
Line 161: Line 157:
:20B = {{Subpage list|button=20B}}
:20B = {{Subpage list|button=20B}}
:20C = {{Subpage list|button=20C}}
:20C = {{Subpage list|button=20C}}
{{col-end}}


==Button colours==
==Button colours==

Revision as of 11:33, 30 July 2007

The {{subpages}} template is designed to be used within article clusters and their related pages.
It will not function on Template pages.

The page contains all the variable parameters for the subpage navigation template.

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 {{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 {{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 {{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 {{unused subpages}} template.

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: How to add subpage types

1A = Related
1B = Related Articles
1C = Default
2A = Bibliography
2B = Bibliography
2C = Default
3A = Links
3B = External Links
3C = Default
4A = Works
4B = Works
4C = Optional
5A = Discography
5B = Discography
5C = Optional
6A = Filmography
6B = Filmography
6C = Optional
7A = Tables
7B = Tables
7C = Optional
8A = Timelines
8B = Timelines
8C = Optional
9A = Gallery
9B = Gallery
9C = Optional
10A = Audio
10B = Audio
10C = Optional
11A = Video
11B = Video
11C = Optional
12A = Code
12B = Code
12C = Optional
13A = Tutorials
13B = Tutorials
13C = Optional
14A = Student
14B = Student
14C = Optional
15A = Debate guide
15B = Debate Guide
15C = Optional
16A = News guide
16B = News Guide
16C = Optional
17A = Signed articles
17B = Signed Articles
17C = Optional
18A = Button available
18B =
18C =
19A = Button available
19B =
19C =
20A = Button available
20B =
20C =

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