Difference between revisions of "Template:Infobox heritage rail"

From Wikishire
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
|-
 
|-
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
{{#if:{{{village|}}}|{{{village}}}, }}{{#if:{{{town|}}}|{{{town}}}, }}
+
{{#if:{{{village|}}}|{{{village}}}}}{{#if:{{{town|}}}|{{{town}}}}}
 
|- class="note"
 
|- class="note"
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
Line 26: Line 26:
 
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} |
 
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} |
 
! style="background: {{#var:bground}};" {{!}} Grid reference:
 
! style="background: {{#var:bground}};" {{!}} Grid reference:
{{!}} {{{os grid ref}}} }}
+
{{!}} {{#if:{{{os grid ref|}}}|{{map|{{{os grid ref}}}}} }} }}
 
|-
 
|-
 
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
 
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
 
! style="background: {{#var:bground}};" {{!}} Location:
 
! style="background: {{#var:bground}};" {{!}} Location:
 
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14|name={{#if: {{{name| }}}|{{{name}}}|{{PAGENAME}}}}}} }}
 
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14|name={{#if: {{{name| }}}|{{{name}}}|{{PAGENAME}}}}}} }}
 +
|-
 +
{{#if: {{{stations<includeonly>|</includeonly>}}} |
 +
! style="background: {{#var:bground}};" {{!}} No. of stations:
 +
{{!}} {{{stations}}} }}
 +
|-
 +
{{#if: {{{length<includeonly>|</includeonly>}}} |
 +
! style="background: {{#var:bground}};" {{!}} Track:
 +
{{!}} {{{length}}} }}
 +
|-
 +
{{#if: {{{headquarters<includeonly>|</includeonly>}}} |
 +
! style="background: {{#var:bground}};" {{!}} Headquarters:
 +
{{!}} {{{headquarters}}} }}
 
|-
 
|-
 
{{#if: {{{address<includeonly>|</includeonly>}}} |
 
{{#if: {{{address<includeonly>|</includeonly>}}} |
Line 45: Line 57:
 
! style="background: {{#var:bground}};" {{!}} Owned by:
 
! style="background: {{#var:bground}};" {{!}} Owned by:
 
{{!}} {{{ownership}}} }}
 
{{!}} {{{ownership}}} }}
 +
|-
 +
{{#if: {{{operator<includeonly>|</includeonly>}}} |
 +
! style="background: {{#var:bground}};" {{!}} Operated by:
 +
{{!}} {{{operator}}} }}
 
|-
 
|-
 
{{#if: {{{website<includeonly>|</includeonly>}}} |
 
{{#if: {{{website<includeonly>|</includeonly>}}} |

Latest revision as of 08:28, 13 August 2020

Infobox heritage rail
[[File:{{{picture}}}|250px]]
{{{picture caption}}}
{{{type}}}
Gauge: {{{gauge}}}
Built: {{{built}}}
Grid reference:
Location: {{{latitude}}} {{{longitude}}}
No. of stations: {{{stations}}}
Track: {{{length}}}
Headquarters: {{{headquarters}}}
Address: {{{address}}}
Tel.: {{{tel}}}
Information
Owned by: {{{ownership}}}
Operated by: {{{operator}}}
Website: {{{website}}}
Template:Infobox heritage rail/doc