Difference between revisions of "Template:JRE Line Symbol"

From blackwiki
Jump to navigation Jump to search
imported>Chiro08
imported>Ibicdlcod
m
Line 1: Line 1:
<includeonly>{{#if: {{{size|}}}|<span style="display:inline-block; position:relative; vertical-align:middle; width:{{#expr: {{{size|20}}} * 4 / 5}}px; height:{{#expr: {{{size|20}}} * 4 / 5}}px; border:{{#expr: {{{size|20}}} / 10}}px solid {{ja-rail-color|{{{name|{{{1}}}}}}}}; border-radius:10%; background:white; text-align:center; color:black; font-weight:Bold; font-size:{{#expr: {{{size|20}}} / 2}}px;"><span style="position: absolute; white-space:nowrap; width:{{#expr: {{{size|20}}} * 4 / 5}}px; height:{{#expr: {{{size|20}}} / 2}}px; line-height:{{#expr: {{{size|20}}} / 2}}px; top:{{#expr: {{{size|20}}} * 3 / 20}}px; left:0; text-align:center; {{#switch: {{{name|{{{1}}}}}}|MO=font-size:90%;}}">{{{name|{{{1}}}}}}</span></span>|<span style="display:inline-block; position:relative; vertical-align:middle; width:{{#expr: {{{fontsize|10}}} * 8 / 5}}px; height:{{#expr: {{{fontsize|10}}} * 8 / 5}}px; border:{{#expr: {{{fontsize|10}}} / 5}}px solid {{ja-rail-color|{{{name|{{{1}}}}}}}}; border-radius:10%; background:white; text-align:center; color:black; font-weight:Bold; font-size:{{{fontsize|10}}}px;"><span style="position: absolute; white-space:nowrap; width:{{#expr: {{{fontsize|10}}} * 8 / 5}}px; height:{{{fontsize|10}}}px; line-height:{{{fontsize|10}}}px; top:{{#expr: {{{fontsize|10}}} * 3 / 10}}px; left:0; text-align:center; {{#switch: {{{name|{{{1}}}}}}|MO=font-size:90%;}}">{{{name|{{{1}}}}}}</span></span>}}</includeonly><noinclude>{{doc}}</noinclude>
+
<includeonly>{{#if: {{{size|}}}|<span style="display:inline-block; position:relative; vertical-align:middle; width:{{#expr: {{{size|20}}} * 4 / 5}}px; height:{{#expr: {{{size|20}}} * 4 / 5}}px; border:{{#expr: {{{size|20}}} / 10}}px solid {{ja-rail-color|{{{name|{{{1}}}}}}}}; border-radius:10%; background:white; text-align:center; color:black; font-weight:Bold; font-size:{{#expr: {{{size|20}}} / 2}}px;"><span style="position: absolute; white-space:nowrap; width:{{#expr: {{{size|20}}} * 4 / 5}}px; height:{{#expr: {{{size|20}}} / 2}}px; line-height:{{#expr: {{{size|20}}} / 2}}px; top:{{#expr: {{{size|20}}} * 3 / 20}}px; left:0; text-align:center; {{#switch: {{{name|{{{1}}}}}}|MO=font-size:80%;}}">{{{name|{{{1}}}}}}</span></span>|<span style="display:inline-block; position:relative; vertical-align:middle; width:{{#expr: {{{fontsize|10}}} * 8 / 5}}px; height:{{#expr: {{{fontsize|10}}} * 8 / 5}}px; border:{{#expr: {{{fontsize|10}}} / 5}}px solid {{ja-rail-color|{{{name|{{{1}}}}}}}}; border-radius:10%; background:white; text-align:center; color:black; font-weight:Bold; font-size:{{{fontsize|10}}}px;"><span style="position: absolute; white-space:nowrap; width:{{#expr: {{{fontsize|10}}} * 8 / 5}}px; height:{{{fontsize|10}}}px; line-height:{{{fontsize|10}}}px; top:{{#expr: {{{fontsize|10}}} * 3 / 10}}px; left:0; text-align:center; {{#switch: {{{name|{{{1}}}}}}|MO=font-size:80%;}}">{{{name|{{{1}}}}}}</span></span>}}</includeonly><noinclude>{{doc}}</noinclude>

Revision as of 13:03, 26 October 2017

Template documentation[view] [edit] [history] [purge]

{{JRE Line Symbol|name=|size=}}

Shortcut {{JRLS|(name)|size=}}

Parameters

name

size (px)

Default: 20(px)

Examples

{{JRE Line Symbol|name=JB}}

JB


{{JRLS|JK}} [[Keihin-Tōhoku Line]]

JK Keihin-Tōhoku Line


{{JRLS|JM|size=40}}

JM

[[Yokosuka Line|{{JRLS|JO|size=25}}]]

JO


Line Code Example
Jr Tokaido {{JRLS|JT}} JT
Jr yOkosuka {{JRLS|JO}} JO
Jr Keihin-tohoku {{JRLS|JK}} JK
Jr yokoHama {{JRLS|JH}} JH
Jr Nambu {{JRLS|JN}} JN
Jr tsurumI {{JRLS|JI}} JI
Jr Yamanote {{JRLS|JY}} JY
Jr Chuo {{JRLS|JC}} JC
Jr soBu {{JRLS|JB}} JB
Jr Utsunomiya {{JRLS|JU}} JU
Jr sAikyo {{JRLS|JA}} JA
Jr Joban {{JRLS|JJ}} JJ
jr Joban Local {{JRLS|JL}} JL
Jr kEiyo {{JRLS|JE}} JE
Jr Musashino {{JRLS|JM}} JM
Jr Shonan-shinjuku {{JRLS|JS}} JS
tokyo MOnorail {{JRLS|MO}} MO

See also