ထႅမ်းပလဵတ်ႉ:Routebox entry
(လုၵ်ႉတီး ထႅမ်းပလဵတ်ႉ:RbE ၼႆႈသေ ၶိုၼ်းပိၼ်ႇဝၢႆႇမႃး)
{{{1}}}
ၽိုၼ်ၵႅမ်မိုဝ်းဢၼ်ၼႆႉ ပဵၼ်ဢၼ်ၶဝ်ႈပႃးမႃးတီႈ ထႅမ်းပလဵတ်ႉ:Routebox entry/doc။ (မႄးထတ်း | ပိုၼ်း)
ၶေႃႈၽၢင်ႉ တႃႈ ၽူႈမႄးထတ်းၶဝ် - Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
ၶေႃႈၽၢင်ႉ တႃႈ ၽူႈမႄးထတ်းၶဝ် - Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
This template makes a color box for {{Rail-interchange}} entries and has the eventual goal of being incorporated into {{Routebox}}.
Usage
မႄးထတ်းA bare routebox has the following order of parameters: {{Routebox entry|text|bg color|text color|border|border color|radius|mouseover}}
. In this, the template name may be substituted for the shorter RbE
.
Parameter | Nutshell | Description | Default |
---|---|---|---|
1 | Text | The Route ID, the text that gets displayed. | None, required input. |
2 | Background colour | Either a RGB HEX code (including #) or colour name understood by HTML/CSS is required. Examples of inputs: #FF00FF, blue | #BBBBBB (light grey) |
3 | Text colour | Either a RGB HEX code (including #) or colour name understood by HTML/CSS is required. Examples of inputs: #FF00FF, blue | #FFFFFF (white) |
b | Border | The colour of the border. Accepts
|
none (same as background) |
bcolor | Border colour | Like parameters 2 and 3, this requires an 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. | Same colour as 2 . |
r | Radius | The radius settings of the label. Accepts
|
none |
mo | Mouse-over text | 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. | No default. |
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
မႄးထတ်း- ထႅမ်းပလဵၵ်ႉ:Rail-interchange, the main template where this template is called from.
- ထႅမ်းပလဵၵ်ႉ:Rail-interchange/doc, the documentation for the template above, where many examples of what you can achieve with this template can be found.