Template:Potd: Difference between revisions
Template page
More actions
No edit summary Tags: Reverted 2017 source edit |
No edit summary Tags: Undo Disambiguation links |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div align="center"> | <div align="center"> | ||
{| id=" | {| id="Potd" class="messagebox" style="width: {{{width|400}}}px; text-align: center;" | ||
! colspan="3" class="infoboxheader" | [[BW: | ! colspan="3" class="infoboxheader" | [[BW:Potd|View Picture of the Day Project]] | ||
|- | |- | ||
| colspan="3" cellpadding="0" | {{#ifexist: | | colspan="3" cellpadding="0" | {{#ifexist:Potd:{{#time: m-d}} | ||
| <!-- | | <!-- Potd EXIST: --> [[File:{{Potd:{{#time: m-d}}}}|{{{width|400}}}px|{{#ifexist:Potd:{{#time: m-d}}/Caption | ||
| {{ | |<!-- THEN: --> {{Potd:{{#time: m-d}}/Caption}} | ||
|<!-- ELSE: --> Battlestar Wiki - | |<!-- ELSE: --> Battlestar Wiki - Picture of the Day | ||
| <!-- NO | }}]] | ||
| <!-- NO Potd: --> <div class="plainlinks">([{{canonicalurl:Potd:{{#time: m-d}}|action=edit}} Create a Potd])</div> | |||
}} | }} | ||
|- | |- | ||
| style="white-space: nowrap;" | {{#ifexist: | | style="white-space: nowrap;" | {{#ifexist:Potd:{{#time: m-d | -1 day}} | ||
| <!-- | | <!-- Potd EXIST: --> <small>[[:Image:{{Potd:{{#time: m-d | -1 day}}}}|< {{#time: m-d | -1 day}}]]</small> | ||
| <!-- NO | | <!-- NO Potd: --> <small><div class="plainlinks">[{{canonicalurl:Potd:{{#time: m-d | -1 day}}|action=edit}} < {{#time: m-d | -1 day}}]</div></small> | ||
}} | }} | ||
| {{#ifexist: | | {{#ifexist:Potd:{{#time: m-d}}/Caption | ||
|<!-- THEN: --> {{ | |<!-- THEN: --> {{Potd:{{#time: m-d}}/Caption}} | ||
|<!-- ELSE: --> Battlestar Wiki - | |<!-- ELSE: --> Battlestar Wiki - Picture of the Day <div class="plainlinks">([{{canonicalurl:Potd:{{#time: m-d}}/Caption|action=edit}} create caption])</div> | ||
}} | }} | ||
| style="white-space: nowrap;" | {{#ifexist: | | style="white-space: nowrap;" | {{#ifexist:Potd:{{#time: m-d | +1 day}} | ||
| <!-- | | <!-- Potd EXIST: --> <small>[[:Image:{{Potd:{{#time: m-d | +1 day}}}}|{{#time: m-d | +1 day}} >]]</small> | ||
| <!-- NO | | <!-- NO Potd: --> <small><div class="plainlinks">[{{canonicalurl:Potd:{{#time: m-d | +1 day}}|action=edit}} {{#time: m-d | +1 day}} >]</div></small> | ||
}} | }} | ||
|} | |} | ||
</div> | </div> | ||