Difference between revisions of "Template:Infobox station/Header Thessaloniki Metro"
Jump to navigation
Jump to search
imported>Sarah fides m |
imported>Sarah fides m |
||
| Line 1: | Line 1: | ||
| + | <includeonly><table cellpadding="3px" cellspacing="0" width="100%" style="background:white; border:1px solid #AAA"> | ||
{{#if:{{{Str1|}}}|<tr><td colspan="{{#if:{{{mode_2|}}}|3|2}}" style="background:#{{Thessaloniki Metro colour|{{{Str1|}}}}}"></td></tr>}}<!--Legacy parameter--> | {{#if:{{{Str1|}}}|<tr><td colspan="{{#if:{{{mode_2|}}}|3|2}}" style="background:#{{Thessaloniki Metro colour|{{{Str1|}}}}}"></td></tr>}}<!--Legacy parameter--> | ||
{{#switch:{{{mode}}} | {{#switch:{{{mode}}} | ||
| − | | | + | |<tr><td colspan="{{#if:{{{mode_2|}}}|3|2}}" style="background:#{{Thessaloniki Metro colour|{{{line_1|}}}}}"></td></tr> |
| − | | | ||
}} | }} | ||
| + | <tr style="text-align:center"> | ||
| + | {{#if:{{{GR|}}}||<td width="40px" style="vertical-align:middle;">{{OASA icons|{{{mode|}}}|{{#ifeq:{{{mode|}}}|T|20px|30px}}}}</td>}} | ||
| + | <td style="vertical-align:middle;">{{{native_name|{{{GR|{{red|Greek name missing!}}}}}}}}{{#ifeq:{{{native_name|}}}|ΚΑΤ||<br><span style="font-size:80%">{{{name|{{{EN|{{red|English name missing!}}}}}}}}</span>}}</td> | ||
| + | {{#ifeq:{{{mode|}}}|T||{{#if:{{{mode_2|}}}|<td width="40px" style="vertical-align:middle;">{{OASA icons|{{{mode_2|}}}|{{#ifeq:{{{mode_2|}}}|T|20px|30px}}}}</td>}}}} | ||
| + | </tr> | ||
| + | {{#if:{{{Str2|}}}|<tr><td colspan="{{#if:{{{mode_2|}}}|3|2}}" style="background:#{{Thessaloniki Metro colour|{{{Str2|}}}}}"></td></tr>}}<!--Legacy parameter--> | ||
| + | {{#if:{{{line_2|}}}|{{#switch:{{{mode}}} | ||
| + | |<tr><td colspan="{{#if:{{{mode_2|}}}|3|2}}" style="background:#{{Thessaloniki Metro colour|{{{line_2|}}}}}"></td></tr> | ||
| + | }}}} | ||
| + | </table> | ||
| + | <table cellpadding="0" cellspacing="2px" ><tr><td></td></tr></table></includeonly> | ||