Difference between revisions of "Template:HK-MTR route title"
Jump to navigation
Jump to search
Template documentation
imported>Dayton12345 |
imported>CaradhrasAiguo (debold by default) |
||
| 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">{{nobold|{{lang|zh-Hant-HK|{{{chiname}}}}}}}</span></div>{{#if:{{{line|}}} |
|<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:{{{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|}}} | ||
Revision as of 03:25, 19 June 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. |