Difference between revisions of "Template:Infobox station/Header Thessaloniki Metro"

From blackwiki
Jump to navigation Jump to search
imported>Sarah fides
(Code cleanup)
imported>Sarah fides
m
 
Line 1: Line 1:
 
<includeonly><table cellpadding="3px" cellspacing="0" width="100%" style="background:white; border:1px solid #AAA">
 
<includeonly><table cellpadding="3px" cellspacing="0" width="100%" style="background:white; border:1px solid #AAA">
 
<tr><td style="background:#{{Thessaloniki Metro color|{{{line_1|}}}}}"></td></tr>
 
<tr><td style="background:#{{Thessaloniki Metro color|{{{line_1|}}}}}"></td></tr>
<td style="vertical-align:middle; text-align:center">{{{name|{{{GR|{{red|Greek name missing!}}}}}}}}<br><span style="font-size:80%">{{{name|{{{EN|{{red|English name missing!}}}}}}}}</span></td>
+
<td style="vertical-align:middle; text-align:center">{{{GR|{{red|Greek name missing!}}}}}<br><span style="font-size:80%">{{{EN|{{red|English name missing!}}}}}</span></td>
 
<tr><td style="background:#{{Thessaloniki Metro color|{{#if:{{{line_2|}}}|{{{line_2|}}}|{{{line_1|}}}}}}}"></td></tr>
 
<tr><td style="background:#{{Thessaloniki Metro color|{{#if:{{{line_2|}}}|{{{line_2|}}}|{{{line_1|}}}}}}}"></td></tr>
 
</table></includeonly>
 
</table></includeonly>
 
<noinclude>{{Documentation}}
 
<noinclude>{{Documentation}}
 
[[Category:Thessaloniki Metro templates]]</noinclude>
 
[[Category:Thessaloniki Metro templates]]</noinclude>

Latest revision as of 19:04, 27 August 2018

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

This template produces a header box for Thessaloniki Metro stations.

Usage

This template can be used with Template:Infobox station.

Parameters

Parameter Description Status
GR The station name in Greek Required
EN The station name in English Required
line_1 The main line served (either 1 or 2) Required
line_2 For stations served by more than one line, a second line number can be entered (either 1 or 2) Optional

Outcomes

Line(s) served Code Output
Template:Thessaloniki Metro lines and Template:Thessaloniki Metro lines {{Infobox station/Header Thessaloniki Metro |GR = Βενιζέλου |EN = Venizelou |line_1 = 1 |line_2 = 2 }}
Βενιζέλου
Venizelou
Template:Thessaloniki Metro lines {{Infobox station/Header Thessaloniki Metro |GR = Νέα Ελβετία |EN = Nea Elvetia |line_1 = 1 }}
Νέα Ελβετία
Nea Elvetia
Template:Thessaloniki Metro lines {{Infobox station/Header Thessaloniki Metro |GR = Καλαμαριά |EN = Kalamaria |line_1 = 2 }}
Καλαμαριά
Kalamaria

Sources

Template:Thessaloniki Metro doc sources

Thessaloniki Metro templates

Template:Thessaloniki Metro templates

Notes