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; 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:{{#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>

Revision as of 02:57, 21 May 2017

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