Difference between revisions of "Template:HK-MTR route title"
Jump to navigation
Jump to search
Template documentation
imported>Jc86035 m ({{rail color}}) |
imported>Jc86035 m (ce) |
||
| Line 1: | Line 1: | ||
<div style="width:100%; text-align:center;font-weight:bold"><span class="fn">{{{engname}}}</span><br /><span class="nickname">{{nobold|{{lang|zh-Hant-HK|{{{chiname}}}}}}}</span></div>{{#if:{{{line|}}} | <div style="width:100%; text-align:center;font-weight:bold"><span class="fn">{{{engname}}}</span><br /><span class="nickname">{{nobold|{{lang|zh-Hant-HK|{{{chiname}}}}}}}</span></div>{{#if:{{{line|}}} | ||
| − | |<div style="width:100%; height:6px; background:#{{rcr|MTR| | + | |<div style="width:100%; height:6px; background:#{{rcr|MTR|{{{line|}}}}};"></div>}}{{#if:{{{line2|}}} |
| − | |<div style="width:100%; height:6px; background:#{{rcr|MTR| | + | |<div style="width:100%; height:6px; background:#{{rcr|MTR|{{{line2|}}}}};"></div>}}{{#if:{{{line3|}}} |
| − | |<div style="width:100%; height:6px; background:#{{rcr|MTR| | + | |<div style="width:100%; height:6px; background:#{{rcr|MTR|{{{line3|}}}}};"></div>}}{{#if:{{{line4|}}} |
| − | |<div style="width:100%; height:6px; background:#{{rcr|MTR| | + | |<div style="width:100%; height:6px; background:#{{rcr|MTR|{{{line4|}}}}};"></div>}}<noinclude> |
{{documentation|content= | {{documentation|content= | ||
This template is used in conjunction with {{tl|infobox rail line}} to create the title section in the infobox. | This template is used in conjunction with {{tl|infobox rail line}} to create the title section in the infobox. | ||
Latest revision as of 11:49, 18 August 2018
{{{engname}}}
{{{chiname}}}
{{{chiname}}}
This template is used in conjunction with {{infobox rail line}} to create the title section in the infobox.
Usage
{{Infobox rail line
| name = {{HK-MTR route title
| engname =
| chiname =
| line =
| line2 =
| line3 =
| line4 =
}}
| image =
| caption =
| type =
| system = [[MTR]]
| locale = [[Districts of Hong Kong|Districts]]:
| stations =
| open =
| close =
| linelength =
| gauge =
| el =
| map =
}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |