More actions
link fix |
localurl -> canonicalurl |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|<!-- ELSE: --> Battlestar Wiki - Picture of the Day | |<!-- ELSE: --> Battlestar Wiki - Picture of the Day | ||
}}]] | }}]] | ||
| <!-- NO Potd: --> <div class="plainlinks">([{{ | | <!-- NO Potd: --> <div class="plainlinks">([{{canonicalurl:Potd:{{#time: m-d}}|action=edit}} Create a Potd])</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 | | <!-- Potd EXIST: --> <small>[[:Image:{{Potd:{{#time: m-d | -1 day}}}}|< {{#time: m-d | -1 day}}]]</small> | ||
| <!-- NO Potd: --> <small><div class="plainlinks">[{{ | | <!-- NO Potd: --> <small><div class="plainlinks">[{{canonicalurl:Potd:{{#time: m-d | -1 day}}|action=edit}} < {{#time: m-d | -1 day}}]</div></small> | ||
}} | }} | ||
| {{#ifexist:Potd:{{#time: m-d}}/Caption | | {{#ifexist:Potd:{{#time: m-d}}/Caption | ||
|<!-- THEN: --> {{Potd:{{#time: m-d}}/Caption}} | |<!-- THEN: --> {{Potd:{{#time: m-d}}/Caption}} | ||
|<!-- ELSE: --> Battlestar Wiki - Picture of the Day <div class="plainlinks">([{{ | |<!-- ELSE: --> Battlestar Wiki - Picture of the Day <div class="plainlinks">([{{canonicalurl: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">[{{ | | <!-- NO Potd: --> <small><div class="plainlinks">[{{canonicalurl:Potd:{{#time: m-d | +1 day}}|action=edit}} {{#time: m-d | +1 day}} >]</div></small> | ||
}} | }} | ||
|} | |} | ||
</div> | </div> |