Vorlage:RouteBox/Doku

Aus Wikivoyage
Adds a colored box with no border.
ParameterBeschreibungTypStatus
text1
text (bold by default) to be displayed in the box
Beispiel
Circle line
Zeichenfolgevorgeschlagen
link2
The name of the page to link towards; can be omitted if no link is wanted
Beispiel
Circle line (London Underground)
Seitennameoptional
box color3
background color of the box; can be omitted if text color is not specified
Standard
black
Beispiel
yellow
Zeichenfolgevorgeschlagen
text color4
color of the text
Standard
white
Beispiel
blue
Zeichenfolgeoptional
borderborder
color of the border; enabled by default
Standard
{{{3}}}
Beispiel
black
Zeichenfolgeoptional
boldbold
bolds the text; enabled by default
Standard
yes
Beispiel
no
Zeichenfolgeoptional

Format: inline

Verwendung[Bearbeiten]

{{RouteBox|text|link|box color|text color|border=|bold=}}

  • RouteBox: can be abbreviated to {{rbox|…}}
  • text: text (bold) to be displayed in the box
  • link: any valid wikilink; [[ and ]] are not required; can be omitted if no link is wanted
  • box color: background color of the box; default is black; can be omitted if text color is not specified
  • text color: optional; default is white
  • border=: optional; default is box color
  • bold=: optional; default is yes

Beispiele[Bearbeiten]

{{RouteBox|Line|Line}} ergibt:  Line