Template:Infobox station: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
m (fix param)
m (change cat name)
 
(9 intermediate revisions by the same user not shown)
Line 9: Line 9:
  |aboveclass = fn
  |aboveclass = fn


  |image = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|350px}}|alt={{{imagealt|}}}]]}}
  |image = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|300px}}|alt={{{imagealt|}}}]]}}
  |caption = {{{caption|}}}
  |caption = {{{caption|}}}


  |image2 = {{#if:{{{sign|}}}|[[File:{{{sign|}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|350px}}|alt={{{imagealt|}}}]]}}
  |image2 = {{#if:{{{sign|}}}|[[File:{{{sign|}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|300px}}|alt={{{imagealt|}}}]]}}
  |caption2 = {{{signcap|}}}
  |caption2 = {{{signcap|}}}


Line 25: Line 25:


|label4 = Operator
|label4 = Operator
  |data4 = {{{operator|}}}
  |data4 = {{#if:{{{operator|}}}|[[{{TOC|{{{operator|}}}}}]]}}


|label5 = Platforms
|label5 = Platforms
Line 36: Line 36:


|label8 = Visited
|label8 = Visited
  |data8 = {{{visited|}}}
  |data8 = {{{visiteddd|}}} {{{visitedmmyy|}}}


|label9 = Number
|label9 = Number
Line 52: Line 52:
  |data13 = {{#if:{{{cat|}}}|{{SotM categories|{{{cat|}}}}}}}
  |data13 = {{#if:{{{cat|}}}|{{SotM categories|{{{cat|}}}}}}}


}}<includeonly>{{#if:{{{sotm|}}}|[[Category:{{{sotm|}}} Stations of the Month]]}}{{#if:{{{cat|}}}|[[Category:{{SotM categories|{{{cat|}}}}}]]}}</includeonly><noinclude>
}}<includeonly>{{#if:{{{sotm|}}}|[[Category:{{{sotm|}}} Stations of the Month]]}}{{#if:{{{cat|}}}|[[Category:{{SotM categories|{{{cat|}}}}}]]}} {{#if:{{{visitedmmyy|}}}|[[Category:Stations visited in {{{visitedmmyy|}}}]]}} {{#if:{{{request|}}}|[[Category:Stations served by request]]}}</includeonly><noinclude>


[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 22:24, 20 February 2024

Infobox station