Template:Potd: Difference between revisions

Template page
(link fix)
(no-wrap attribute)
Line 11: Line 11:
}}
}}
|-
|-
| {{#ifexist:Potd:{{#time: m-d | -1 day}}
| 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>
| <!-- Potd EXIST: --> <small>[[:Image:{{Potd:{{#time: m-d | -1 day}}}}|< {{#time: m-d | -1 day}}]]</small>
| <!-- NO Potd: --> <small><div class="plainlinks">[{{fullurl:Potd:{{#time: m-d | -1 day}}|action=edit}} < {{#time: m-d | -1 day}}]</div></small>
| <!-- NO Potd: --> <small><div class="plainlinks">[{{fullurl:Potd:{{#time: m-d | -1 day}}|action=edit}} < {{#time: m-d | -1 day}}]</div></small>
}}
}}
Line 19: Line 19:
   |<!-- ELSE: --> Battlestar Wiki - Picture of the Day <div class="plainlinks">([{{fullurl:Potd:{{#time: m-d}}/Caption|action=edit}} create caption])</div>
   |<!-- ELSE: --> Battlestar Wiki - Picture of the Day <div class="plainlinks">([{{fullurl:Potd:{{#time: m-d}}/Caption|action=edit}} create caption])</div>
}}
}}
| {{#ifexist:Potd:{{#time: m-d | +1 day}}
| 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>
| <!-- Potd EXIST: --> <small>[[:Image:{{Potd:{{#time: m-d | +1 day}}}}|{{#time: m-d | +1 day}} >]]</small>
| <!-- NO Potd: --> <small><div class="plainlinks">[{{fullurl:Potd:{{#time: m-d | +1 day}}|action=edit}} {{#time: m-d | +1 day}} >]</div></small>
| <!-- NO Potd: --> <small><div class="plainlinks">[{{fullurl:Potd:{{#time: m-d | +1 day}}|action=edit}} {{#time: m-d | +1 day}} >]</div></small>

Revision as of 22:11, 26 January 2020