Template:Infobox station: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
m (Categorise SotM automagically)
m (fix display if cat not specified)
Line 46: Line 46:
  |data11 = {{{sotm|}}}
  |data11 = {{{sotm|}}}


|label12 = Station of the Month category
|label12 = Category
  |data12 = {{SotM categories|{{{cat|}}}}}
  |data12 = {{#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|}}}}}]]}}</includeonly><noinclude>


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

Revision as of 00:34, 15 June 2022

Infobox station