Template:Sotm image: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
m (lowercase parameters; fix #if)
m (lets sort these by year)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="toccolours" style="width: 100%; padding 5px">
<table class="toccolours" style="width: 100%; padding 5px">
<tr><th colspan=2 style="background: #d8e0ff; text-align: center; vertical-align: top; padding-right: 0.4em; width: 15%; font-size: 12pt">[[Station of the Month]] entry</th></tr><noinclude>
<tr><th colspan=2 style="background: #d8e0ff; text-align: center; vertical-align: top; padding-right: 0.4em; width: 15%; font-size: 12pt">[[Station of the Month]] entry</th></tr>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%">Title</th><td>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%">Title</th><td>
{{{title}}} <small>''Optional''</small>
</td></tr></noinclude>
{{#if:{{{title|}}}<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%">Title</th><td>
{{{title}}}
{{{title}}}
</td></tr>}}<noinclude>
</td></tr>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%">Title</th><td>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em">Description</th><td>
{{{description}}} <small>''Optional''</small>
</td></tr></noinclude>
{{#if:{{{description|}}}<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%">Description</th><td>
{{{description}}}
{{{description}}}
</td></tr>}}
</td></tr>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em">Entrant</th><td>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em">Entrant</th><td>
{{{entrant}}}
{{{entrant}}}
Line 25: Line 19:
[[Stations of the Month/{{{year}}}#{{{month}}}|{{{month}}} {{{year}}}]]
[[Stations of the Month/{{{year}}}#{{{month}}}|{{{month}}} {{{year}}}]]
</td></tr>
</td></tr>
</table><includeonly>[[Category:{{{category}}}]]</includeonly><noinclude>[[Category:Stations of the Month]]
</table><includeonly>[[Category:Stations of the Month entries {{{year}}}|{{{year}}}]] [[Category:{{{category}}}]]</includeonly><noinclude>[[Category:Stations of the Month]]
</noinclude>
</noinclude>

Latest revision as of 03:35, 2 December 2023

Station of the Month entry
Title

{{{title}}}

Description

{{{description}}}

Entrant

{{{entrant}}}

Station

[[{{{station}}}]]

Category

[[:Category:{{{category}}}|{{{category}}}]]

Month

[[Stations of the Month/{{{year}}}#{{{month}}}|{{{month}}} {{{year}}}]]