Template:Subpage list

From Citizendium
Revision as of 12:08, 30 July 2007 by imported>Chris Day (add one empty button field)
Jump to navigation Jump to search

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

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