Template:Sotm image: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
m (Jarley moved page Template:SotM image to Template:Sotm image without leaving a redirect: simplify)
m (lowercase parameters; fix #if)
Line 2: Line 2:
<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><noinclude>
<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>
{{{title}}} <small>''Optional''</small>
</td></tr></noinclude>
</td></tr></noinclude>
<includeonly>{{#if:{{{Title|}}}<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%">Title</th><td>
{{#if:{{{title|}}}<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%">Title</th><td>
{{{Title}}}
{{{title}}}
</td></tr>}}</includeonly><noinclude>
</td></tr>}}<noinclude>
<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>
{{{Description}}} <small>''Optional''</small>
{{{description}}} <small>''Optional''</small>
</td></tr></noinclude>
</td></tr></noinclude>
<includeonly>{{#if:{{{Description|}}}<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%">Description</th><td>
{{#if:{{{description|}}}<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%">Description</th><td>
{{{Description}}}
{{{description}}}
</td></tr>}}</includeonly>
</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}}}
</td></tr>
</td></tr>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em">Station</th><td>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em">Station</th><td>
[[{{{Station}}}]]
[[{{{station}}}]]
</td></tr>
</td></tr>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em;">Category</th><td>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em;">Category</th><td>
[[:Category:{{{Category}}}|{{{Category}}}]]
[[:Category:{{{category}}}|{{{category}}}]]
</td></tr>
</td></tr>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em;">Month</th><td>
<tr><th style="background: #ccf; text-align: right; padding-right: 0.4em;">Month</th><td>
[[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:{{{category}}}]]</includeonly><noinclude>[[Category:Stations of the Month]]
</noinclude>
</noinclude>

Revision as of 17:35, 26 July 2022

Station of the Month entry
Title

{{{title}}} Optional

Title

{{{description}}} Optional

Entrant

{{{entrant}}}

Station

[[{{{station}}}]]

Category

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

Month

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