Difference between revisions of "Template:Infobox heritage rail"
From Wikishire
(4 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:{{{village|}}}|{{{village}}}}}{{#if:{{{town|}}}|{{{town}}}}} |
|- class="note" | |- class="note" | ||
{{#if: {{{picture<includeonly>|</includeonly>}}} | | {{#if: {{{picture<includeonly>|</includeonly>}}} | | ||
Line 19: | Line 19: | ||
! style="background: {{#var:bground}};" {{!}} Gauge: | ! style="background: {{#var:bground}};" {{!}} Gauge: | ||
{{!}} {{{gauge}}} }} | {{!}} {{{gauge}}} }} | ||
+ | |- | ||
+ | {{#if: {{{built<includeonly>|</includeonly>}}} | | ||
+ | ! style="background: {{#var:bground}};" {{!}} Built: | ||
+ | {{!}} {{{built}}} }} | ||
|- | |- | ||
{{#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}}}}}} }} |
+ | |- | ||
+ | {{#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 41: | 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}}} |