Difference between revisions of "Template:TOC bar"
From BotE Wiki
(new) |
(No difference)
|
Latest revision as of 21:32, 16 September 2013
This is a template and changes to it will effect other pages. Please consider discussing any changes on the talk page before implementing them. |
The Toc bar template generates a one-line table of content.
{{TOC bar|}}
Parameters
- Unnamed parameters 1 to 10 define the section links.
- With "race" + the race number the frame and background colours can be defined automatically.
- With "background" and "frame" the colours of background and frame can be defined manually.
- Additionally "frame-px" changes the width of the frame.
- With "whiteframe=off" the outer white frame can be deactivated.
- With "NOTOC=off" NOTOC can be deactivated.
Exemplification
Standard
{{TOC bar|section1|section2|section3}}
|
Race colours
{{TOC bar|race=1|section1|section2|section3}}
|
Manually defined
{{TOC bar|background=FFD39B|frame=FF4040|frame-px=3|section1|section2|section3}}
|