Vorlage:RouteBox

Aus Wikivoyage

 {{{1}}} 

Dokumentation für die Vorlage {{RouteBox}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Adds a colored box with no border.
ParameterBeschreibungTypStatus
text1
text (bold by default) to be displayed in the box
Beispiel
Circle line
Mehrzeiliger Textvorgeschlagen
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
Mehrzeiliger Textvorgeschlagen
text color4
color of the text
Standard
white
Beispiel
blue
Mehrzeiliger Textoptional
borderborder
color of the border; enabled by default
Standard
{{{3}}}
Beispiel
black
Mehrzeiliger Textoptional
boldbold
bolds the text; enabled by default
Standard
yes
Beispiel
no
Mehrzeiliger Textoptional

Format: inline

Adds a colored box with no border.

Vorlagenparameter

Diese Vorlage bevorzugt Inline-Formatierung von Parametern.

ParameterBeschreibungTypStatus
text1

text (bold by default) to be displayed in the box

Beispiel
Circle line
Mehrzeiliger Textvorgeschlagen
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
Mehrzeiliger Textvorgeschlagen
text color4

color of the text

Standard
white
Beispiel
blue
Mehrzeiliger Textoptional
borderborder

color of the border; enabled by default

Standard
{{{3}}}
Beispiel
black
Mehrzeiliger Textoptional
boldbold

bolds the text; enabled by default

Standard
yes
Beispiel
no
Mehrzeiliger Textoptional

Verwendung

{{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

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