Difference between revisions of "Template:Keisei Station Numbering"

From blackwiki
Jump to navigation Jump to search
imported>Chiro08
(Shortened so that it can be easily read)
imported>Chiro08
(Margin)
 
Line 1: Line 1:
<includeonly><span style="display:inline-block; position:relative; vertical-align:middle; border:{{size-calc|{{{size|}}}|30|/ 12|0|100}} solid {{{color|{{Ja-rail-color|{{{name|{{{1}}}}}}|{{{ns|}}}}}}}}; border-radius:50%; height:{{size-calc|{{{size|30}}}|30|* 5 / 6|0|100}}; width:{{size-calc|{{{size|30}}}|30| * 5 / 6|0|100}}; background:White;"><span style="position:absolute; height:{{size-calc|{{{size|30}}}|30|* 3 / 10|0|100}}; width:{{size-calc|{{{size|30}}}|30|* 5 / 6|0|100}}; top:{{size-calc|{{{size|30}}}|30| / 20|0|100}}; left:0; text-align:center; font-weight:Bold; font-size:{{size-calc|{{{size|30}}}|30|* 3 / 10|0|100}}; line-height:{{size-calc|{{{size|30}}}|30|* 3 / 10|0|100}}; color:{{{color|{{Ja-rail-color|{{{name|{{{1}}}}}}|{{{ns|}}}}}}}}; ">{{{name|{{{1}}}}}}</span><span style="position:absolute; height:{{size-calc|{{{size|30}}}|30|* 12 / 25|0|100}}; width:{{size-calc|{{{size|30}}}|30|* 5 / 6|0|100}}; bottom:{{size-calc|{{{size|30}}}|30|* 3 / 100|0|100}}; left:0; text-align:center; font-weight:Bold; font-size:{{size-calc|{{{size|30}}}|30|* 12 / 25|0|100}}; line-height:{{size-calc|{{{size|30}}}|30|* 12 / 25|0|100}}; color:{{{color|{{Ja-rail-color|{{{name|{{{1}}}}}}|{{{ns|}}}}}}}}">{{{number|{{{2}}}}}}</span></span></includeonly><noinclude>{{doc}}</noinclude>
+
<includeonly><span style="display:inline-block; position:relative; vertical-align:middle; border:{{size-calc|{{{size|}}}|30|/ 12|0|100}} solid {{{color|{{Ja-rail-color|{{{name|{{{1}}}}}}|{{{ns|}}}}}}}}; border-radius:50%; margin:1px; height:{{size-calc|{{{size|30}}}|30|* 5 / 6|0|100}}; width:{{size-calc|{{{size|30}}}|30| * 5 / 6|0|100}}; background:White;"><span style="position:absolute; height:{{size-calc|{{{size|30}}}|30|* 3 / 10|0|100}}; width:{{size-calc|{{{size|30}}}|30|* 5 / 6|0|100}}; top:{{size-calc|{{{size|30}}}|30| / 20|0|100}}; left:0; text-align:center; font-weight:Bold; font-size:{{size-calc|{{{size|30}}}|30|* 3 / 10|0|100}}; line-height:{{size-calc|{{{size|30}}}|30|* 3 / 10|0|100}}; color:{{{color|{{Ja-rail-color|{{{name|{{{1}}}}}}|{{{ns|}}}}}}}}; ">{{{name|{{{1}}}}}}</span><span style="position:absolute; height:{{size-calc|{{{size|30}}}|30|* 12 / 25|0|100}}; width:{{size-calc|{{{size|30}}}|30|* 5 / 6|0|100}}; bottom:{{size-calc|{{{size|30}}}|30|* 3 / 100|0|100}}; left:0; text-align:center; font-weight:Bold; font-size:{{size-calc|{{{size|30}}}|30|* 12 / 25|0|100}}; line-height:{{size-calc|{{{size|30}}}|30|* 12 / 25|0|100}}; color:{{{color|{{Ja-rail-color|{{{name|{{{1}}}}}}|{{{ns|}}}}}}}}">{{{number|{{{2}}}}}}</span></span></includeonly><noinclude>{{doc}}</noinclude>

Latest revision as of 07:20, 12 March 2018

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

Usage

{{Keisei Station Numbering|(name)|(number)}}

or

{{Keisei Station Numbering|(name)|(number)|size=}}

or

{{Keisei Station Numbering|name=|number=|size=}}
Shortcut
{{KSSN|(name)|(number)|size=}}

Parameters

name
KS, HS, SL, or SR
number
01, ...
size
pixels (omit for the default value of 30)

Examples

{{KSSN|name=KS|number=02|size=50}}

KS02


{{KSSN|SR|01}} [[Shibayama-Chiyoda Station]]

SR01 Shibayama-Chiyoda Station


[[Shin-Kamagaya Station|{{KSSN|HS|08|size=45}}]]

HS08

Line Code Example
KeiSei line
(including Narita Sky Access)
{{KSSN|KS}} KS01
HokuSo line {{KSSN|HS}} HS01
Shin-keisei Line {{KSSN|SL}} SL01
Shibayama Railway {{KSSN|SR}} SR01

See also

Template:SNList