Template:TOC bar/doc

From BotE Wiki
Revision as of 21:33, 16 September 2013 by Vuto (talk | contribs) (new)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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}}
Contents
section1 · section2 · section3


Race colours

{{TOC bar|race=1|section1|section2|section3}}
Contents
section1 · section2 · section3


Manually defined

{{TOC bar|background=FFD39B|frame=FF4040|frame-px=3|section1|section2|section3}}
Contents
section1 · section2 · section3