Difference between revisions of "Template:Keisei Line Symbol"

From blackwiki
Jump to navigation Jump to search
imported>Chiro08
imported>Chiro08
 
Line 1: Line 1:
<includeonly><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:solid {{#expr: {{{size|20}}} / 10}}px {{{color|{{Ja-rail-color|{{{name|{{{1}}}}}}|{{{ns|}}}}}}}}; border-radius:50%; background:White; text-align:center; font-weight:Bold; color:{{{fontcolor|{{{color|{{Ja-rail-color|{{{name|{{{1}}}}}}|{{{ns|}}}}}}}}}}};"><span style="position:absolute; width:{{#expr: {{{size|20}}} * 4 / 5}}px; height:{{#expr: {{{size|20}}} / 2}}px; font-size:{{#expr: {{{size|20}}} / 2}}px; line-height:{{#expr: {{{size|20}}} / 2}}px; top:{{#expr:{{{size|20}}} * 3 / 20}}px; left:0;">{{{name|{{{1}}}}}}</span></span></includeonly><noinclude>{{doc}}</noinclude>
+
<includeonly><span style="display:inline-block; position:relative; vertical-align:middle; width:{{size-calc|{{{size|20}}}|20|* 4 / 5|0|70}}; height:{{size-calc|{{{size|20}}}|20|* 4 / 5|0|70}}; border:solid {{size-calc|{{{size|20}}}|20|/ 10|0|70}} {{{color|{{Ja-rail-color|{{{name|{{{1}}}}}}|{{{ns|}}}}}}}}; border-radius:50%; background:White; text-align:center; font-weight:Bold; color:{{{fontcolor|{{{color|{{Ja-rail-color|{{{name|{{{1}}}}}}|{{{ns|}}}}}}}}}}};"><span style="position:absolute; width:{{size-calc|{{{size|20}}}|20|* 4 / 5|0|70}}; height:{{size-calc|{{{size|20}}}|20|/ 2|0|70}}; font-size:{{size-calc|{{{size|20}}}|20|/ 2|0|70}}; line-height:{{size-calc|{{{size|20}}}|20|/ 2|0|70}}; top:{{size-calc|{{{size|20}}}|20|* 3 / 20|0|70}}; left:0;">{{{name|{{{1}}}}}}</span></span></includeonly><noinclude>{{doc}}</noinclude>

Latest revision as of 04:31, 1 February 2018

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

{{Keisei Line Symbol|name=|ns=|size=}}

Shortcut {{KSLS|(name)|ns=|size=}}

Parameters

name

size (px)

Default: 20(px)

Examples

{{KSLS|KS|ns=N}} Narita SKY ACCESS Line

KS Narita SKY ACCESS Line


[[Shin-Keisei Line|{{KSLS|SL|size=25}}]]

SL


Line Code Example
KeiSei line {{KSLS|KS}} KS
KeiSei line (Narita sky access) {{KSLS|KS|ns=N}} KS
HokuSo line {{KSLS|HS}} HS
Shin-keisei Line {{KSLS|SL}} SL
Shibayama Railway {{KSLS|SR}} SR

See also