{{{1}}} 

Dokumentation für die Vorlage {{Routebox entry}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Makes a color box for Rail-interchange entries.
ParameterBeschreibungTypStatus
Text1
The Route ID, the text that gets displayed.
Einzeiliger Texterforderlich
Background colour2
including #) or colour name understood by HTML/CSS is required.
Standard
#BBBBBB
Beispiel
#FF00FF, blue
Einzeiliger Textoptional
Text colour3
Either a RGB HEX code (including #) or colour name understood by HTML/CSS is required.
Standard
#FFFFFF
Beispiel
#FF00FF, blue
Einzeiliger Textoptional
Borderb
The colour of the border. Accepts text / t – Same colour as text; bg, none and n – Same colour as background; custom / c – A custom colour which is defined in bcolor. Don't use the parameter if you want to add a border with the same colour as the background or text.
Vorgeschlagene Werte
  • text
  • custom
  • none
Standard
none
Einzeiliger Textoptional
Border colourbcolor
Like parameters 2 and 3, this requires a RGB HEX code including the # consisting of 6 hexadecimal values (0-F). This parameter requires b to be set to custom / c in order to have effect. Defining this parameter without setting the background to custom, you're making the template input longer than necessary without it having any result on the output.
Standard
Same colour as <code>2</code>
Einzeiliger Textoptional
Radiusr
The radius settings of the label. Accepts cube / none / n – no round-over, edge / e – slight round-over on the corners, circle / c – full round-over on the corners.
Vorgeschlagene Werte
  • none
  • edge
  • circle
Standard
none
Einzeiliger Textoptional
Mouse-over textmo
Text displayed when the mouse pointer is hovering over the label. If not defined, no mouse-over will show. If something different is defined, then that string will be used.
Einzeiliger Textoptional

Format: inline

Makes a color box for Rail-interchange entries.

Vorlagenparameter

Diese Vorlage bevorzugt Inline-Formatierung von Parametern.

ParameterBeschreibungTypStatus
Text1

The Route ID, the text that gets displayed.

Einzeiliger Texterforderlich
Background colour2

including #) or colour name understood by HTML/CSS is required.

Standard
#BBBBBB
Beispiel
#FF00FF, blue
Einzeiliger Textoptional
Text colour3

Either a RGB HEX code (including #) or colour name understood by HTML/CSS is required.

Standard
#FFFFFF
Beispiel
#FF00FF, blue
Einzeiliger Textoptional
Borderb

The colour of the border. Accepts text / t – Same colour as text; bg, none and n – Same colour as background; custom / c – A custom colour which is defined in bcolor. Don't use the parameter if you want to add a border with the same colour as the background or text.

Vorgeschlagene Werte
text custom none
Standard
none
Einzeiliger Textoptional
Border colourbcolor

Like parameters 2 and 3, this requires a RGB HEX code including the # consisting of 6 hexadecimal values (0-F). This parameter requires b to be set to custom / c in order to have effect. Defining this parameter without setting the background to custom, you're making the template input longer than necessary without it having any result on the output.

Standard
Same colour as <code>2</code>
Einzeiliger Textoptional
Radiusr

The radius settings of the label. Accepts cube / none / n – no round-over, edge / e – slight round-over on the corners, circle / c – full round-over on the corners.

Vorgeschlagene Werte
none edge circle
Standard
none
Einzeiliger Textoptional
Mouse-over textmo

Text displayed when the mouse pointer is hovering over the label. If not defined, no mouse-over will show. If something different is defined, then that string will be used.

Einzeiliger Textoptional

Examples

  • Bare minimum; only defining text:
{{RbE|Line}} Line 
  • Bare minimum with colour:
{{Routebox entry|Circle line|yellow|black}} Circle line 
  • Text, colours and radius settings defined:
{{Routebox entry|A|white|#FE372E|r=c|b=t|mo=Réseau Express Régional Line A}} A 
  • Everything defined:
{{Routebox entry|P|white|#F5D05C|r=e|b=t|mo=Transilien, Paris Est}} P 

See also

Hinweise