قالب:RouteBox/doc
هذه صفحة توثيق فرعية لـ قالب:RouteBox. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
This template is similar to {{Colorbox}} and {{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
|
|
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)|#{{LUL color|Circle}}|#{{LUL color|Piccadilly}}}}
→ Circle line
{{RouteBox|Text||bold=no}}
→ Text
Variants
- {{Colorbox}}, a small color box with grey borders and wikilinks. (e.g. or ORANGE )
- {{Color box}}, a small color box with black borders and text color. (e.g. or ORANGE )
- {{RouteBox}}, a borderless version with text color and wikilinks. (e.g. ORANGE )
- {{Colorbull}}, a colored bullet with wikilinks. (e.g. ■)