Template:RouteBox/doc
Lua error: Internal error: The interpreter exited with status 1.
This template is similar to {{Color box}}, but provides for both wikilinks and text color and omits the contrasting border.
Usage
{{RouteBox|text|link|box color|text color|bold=}}
|
can be abbreviated to {{rbox|…}}
|
|
text (bold) to be displayed in the box |
|
any valid wikilink; [[ and ]] are not required; can be omitted if no link is wanted
|
|
background color of the box; default is black; can be omitted if text color is not specified
|
|
optional; default is white |
|
optional; default is yes |
Examples
{{RouteBox|Line|Line}} → Line
{{rbox|Circle line|Circle line (London Underground)|#{{rcr|London Underground|Circle}}|#{{rcr|London Underground|Piccadilly}}}} → <span style="background-color:#Lua error: Internal error: The interpreter exited with status 1.; border:0.1em solid #Lua error: Internal error: The interpreter exited with status 1.;"> <span style="color:#Lua error: Internal error: The interpreter exited with status 1.; font-weight:bold; font-size:inherit; white-space:nowrap;">Circle line
{{RouteBox|Text||bold=no}} → Text
Variants
| Template | Description | Example |
|---|---|---|
| {{Color box}} | Color box size with black borders and text color. Standard size. | <span class="legend-color" style="Lua error: Internal error: The interpreter exited with status 1."> or <span class="legend-color" style="Lua error: Internal error: The interpreter exited with status 1.color:white;"> ORANGE |
| {{Color box striped}} | Striped color box. Standard size. | <span class="legend-color" style="background:repeating-linear-gradient(-45deg, orange 0 2px, white 0 4px); border:1px solid #000000; text-align:center; color:Lua error: Internal error: The interpreter exited with status 1.;"> |
| {{RouteBox}} | Borderless color box with text color and wikilinks. | ORANGE |
| {{Colorbull}} | Colored bullet with wikilinks. | <span style="color:orange; font-size:100%; line-height:1;" title="Lua error: Internal error: The interpreter exited with status 1.">■ |
| {{Legend inline}} | Color box size with black borders. Standard size. | <span class="legend-color mw-no-invert" style="Lua error: Internal error: The interpreter exited with status 1."> |
| {{Color sample}} | Color box size with black borders. Smaller size. | <span style="display:inline-block;width:1em;vertical-align: middle;height:1em;border:1.62px solid black;background:orange;" title="Lua error: Internal error: The interpreter exited with status 1."> |
| {{Swatch inline}} | Lua error: Internal error: The interpreter exited with status 1. | |
| {{Background color}} | orangeExpression error: Unexpected < operator. | |
| {{Rail color box}} | A version with more display options. Part of Module:Adjacent stations | Lua error: Internal error: The interpreter exited with status 1., Lua error: Internal error: The interpreter exited with status 1. |
| {{Diagonal split color box}} | Color box split diagonally. Standard size. | <div style="line-height:0.98;font-size:0.99em;margin-right:0.125em;text-align:right;color:Lua error: Internal error: The interpreter exited with status 1.;"> <div style="line-height:0.99;font-size:0.98em;float:left;margin-left:0.125em;text-align:left;color:Lua error: Internal error: The interpreter exited with status 1.;">
|
TemplateData
TemplateData for RouteBox
Lua error: Internal error: The interpreter exited with status 1.
Adds a colored box with no border.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| text | 1 | text (bold by default) to be displayed in the box
| String | suggested |
| link | 2 | The name of the page to link towards; can be omitted if no link is wanted
| Page name | optional |
| box color | 3 | background color of the box; can be omitted if text color is not specified
| String | suggested |
| text color | 4 | color of the text
| String | optional |
| bold | bold | bolds the text; enabled by default
| String | optional |