Difference between revisions of "Template:Infobox station"

From Craftland Minecraft Aether Server
Jump to: navigation, search
(Created page with "{{infobox | bodystyle = width: 300px | bodyclass = vcard | above = <includeonly><span class="fn org">{{#if:{{{cta_header|}}}|{{{cta_header|}}}|{{{name|}}}{{#if:{{{type|}}}...")
 
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
| above    = <includeonly><span class="fn org">{{#if:{{{cta_header|}}}|{{{cta_header|}}}|{{{name|}}}{{#if:{{{type|}}}|<br /><span align="center" style="font-size: x-small; font-style: normal; font-weight: normal">{{{type|}}}</span>}}</span>{{#if:{{{native_name|}}}|<br /><span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}}}</includeonly>
 
| above    = <includeonly><span class="fn org">{{#if:{{{cta_header|}}}|{{{cta_header|}}}|{{{name|}}}{{#if:{{{type|}}}|<br /><span align="center" style="font-size: x-small; font-style: normal; font-weight: normal">{{{type|}}}</span>}}</span>{{#if:{{{native_name|}}}|<br /><span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}}}</includeonly>
 
| abovestyle = {{#if:{{{style|}}}|{{{{{style|}}} style|name_format}}}}
 
| abovestyle = {{#if:{{{style|}}}|{{{{{style|}}} style|name_format}}}}
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=300px|alt={{{alt|}}}}}
+
 
 
| caption  = {{{image_caption|}}}
 
| caption  = {{{image_caption|}}}
 
| headerstyle = color: #{{#if:{{{style|}}}|{{{{{style|}}} style|thcolor|{{{style2|}}}}}|000000}}; background-color: #{{#if:{{{style|}}}|{{{{{style|}}} style|thbgcolor|{{{style2|}}}}}|efefef}}
 
| headerstyle = color: #{{#if:{{{style|}}}|{{{{{style|}}} style|thcolor|{{{style2|}}}}}|000000}}; background-color: #{{#if:{{{style|}}}|{{{{{style|}}} style|thbgcolor|{{{style2|}}}}}|efefef}}
Line 28: Line 28:
 
| header7  = {{#if:{{{address|}}}{{{country|}}}{{{latitude|}}}{{{latd|}}}{{{longitude|}}}{{{longd|}}}{{{coordinates|}}}{{{elevation|}}}{{{line|}}}{{{train_operators|}}}{{{other|}}}{{{structure|}}}{{{depth|}}}{{{levels|}}}{{{platform|}}}{{{tracks|}}}{{{gates|}}}{{{parking|}}}{{{bicycle|}}}{{{travelcentre|}}}{{{baggage_check|}}}{{{disabled|}}}{{{facilities|}}}|Station statistics}}
 
| header7  = {{#if:{{{address|}}}{{{country|}}}{{{latitude|}}}{{{latd|}}}{{{longitude|}}}{{{longd|}}}{{{coordinates|}}}{{{elevation|}}}{{{line|}}}{{{train_operators|}}}{{{other|}}}{{{structure|}}}{{{depth|}}}{{{levels|}}}{{{platform|}}}{{{tracks|}}}{{{gates|}}}{{{parking|}}}{{{bicycle|}}}{{{travelcentre|}}}{{{baggage_check|}}}{{{disabled|}}}{{{facilities|}}}|Station statistics}}
  
| label8  = Address
+
 
| data8    = {{br separated entries|{{{address|}}}|{{{country|}}}}}
+
 
| class9  = label
 
| class9  = label
| label9  = Coordinates
+
 
| data9    = {{#if:{{both|{{{latitude|{{{latd|}}}}}}|{{{longitude|{{{longd|}}}}}}}}|
+
{{Geobox coor|{{{latitude|{{{latd|}}}}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longitude|{{{longd|}}}}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|type:railwaystation{{#if: {{{iso_region|}}}|_region:{{{iso_region}}}|{{#if:{{{country|}}}|_region:{{CountryAbbr|{{{country}}}|}}|}}}}|{{#if:{{{coordinates_format|}}}|format|μ1}}={{{coordinates_format|}}}|{{#if:{{{coordinates_display|}}}|title|μ}}={{{coordinates_display|}}}}}|{{{coordinates|}}}}}
+
 
| label10  = Elevation
 
| label10  = Elevation
 
| data10    = {{{elevation|}}}
 
| data10    = {{{elevation|}}}
Line 122: Line 119:
 
| header54 = {{#if:{{{services|}}}|Services}}
 
| header54 = {{#if:{{{services|}}}|Services}}
 
| data55  = {{#if:{{{services|}}}|
 
| data55  = {{#if:{{{services|}}}|
{{s-rail-start|noclear=yes|collapsible=yes}}
+
 
 
{{{services|}}}
 
{{{services|}}}
{{s-end}}
+
 
 
}}
 
}}
 
| header56 = {{#if:{{{map_locator|}}}{{{map_type|}}}|Location}}
 
| header56 = {{#if:{{{map_locator|}}}{{{map_type|}}}|Location}}

Latest revision as of 17:48, 16 November 2014

[create] 50px Template documentation
[create] 50px Template documentation