Difference between revisions of "Template:HK-MTR route title"
Jump to navigation
Jump to search
imported>Dayton12345 |
imported>Dayton12345 |
||
| Line 1: | Line 1: | ||
<div style="width:100%; text-align:center;font-weight:bold"><span class="fn">{{{engname}}}</span><br /><span class="nickname">{{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">{{lang|zh-Hant-HK|{{{chiname}}}}}</span></div>{{#if:{{{line|}}} | ||
| − | |<div style="width:100%; height:6px; background:#{{HK-MTR color|{{uc:{{{line|}}}}}}};"></div>}} | + | |<div style="width:100%; height:6px; background:#{{HK-MTR color|{{uc:{{{line|}}}}}}};"></div>}}{{#if:{{{line2|}}} |
| − | <div style="width:100%; height:6px; background:#{{HK-MTR color|{{uc:{{{line2|}}}}}}};"></div>{{#if:{{{line3|}}} | + | |<div style="width:100%; height:6px; background:#{{HK-MTR color|{{uc:{{{line2|}}}}}}};"></div>}}{{#if:{{{line3|}}} |
|<div style="width:100%; height:6px; background:#{{HK-MTR color|{{uc:{{{line3|}}}}}}};"></div>}}{{#if:{{{line4|}}} | |<div style="width:100%; height:6px; background:#{{HK-MTR color|{{uc:{{{line3|}}}}}}};"></div>}}{{#if:{{{line4|}}} | ||
|<div style="width:100%; height:6px; background:#{{HK-MTR color|{{uc:{{{line4|}}}}}}};"></div>}}<noinclude> | |<div style="width:100%; height:6px; background:#{{HK-MTR color|{{uc:{{{line4|}}}}}}};"></div>}}<noinclude> | ||
Revision as of 07:38, 13 August 2017
{{{engname}}}
{{{chiname}}}
{{{chiname}}}
50px Template documentation
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. |