Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Potd: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
no-wrap attribute
Joe Beaudoin Jr. (talk | contribs)
fullurl -> localurl
Line 8: Line 8:
   |<!-- ELSE: --> Battlestar Wiki - Picture of the Day
   |<!-- ELSE: --> Battlestar Wiki - Picture of the Day
}}]]
}}]]
| <!-- NO Potd: --> <div class="plainlinks">([{{fullurl:Potd:{{#time: m-d}}|action=edit}} Create a Potd])</div>
| <!-- NO Potd: --> <div class="plainlinks">([{{localurl:Potd:{{#time: m-d}}|action=edit}} Create a Potd])</div>
}}
}}
|-
|-
| style="white-space: nowrap;" | {{#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">[{{localurl: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">([{{fullurl:Potd:{{#time: m-d}}/Caption|action=edit}} create caption])</div>
   |<!-- ELSE: --> Battlestar Wiki - Picture of the Day <div class="plainlinks">([{{localurl:Potd:{{#time: m-d}}/Caption|action=edit}} create caption])</div>
}}
}}
| style="white-space: nowrap;" | {{#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">[{{localurl:Potd:{{#time: m-d | +1 day}}|action=edit}} {{#time: m-d | +1 day}} >]</div></small>
}}
}}
|}
|}
</div>
</div>

Revision as of 04:38, 24 April 2020