Template:Potd: Difference between revisions

Template page
(localurl -> canonicalurl)
 
m (Text replacement - "Battlestar Wiki" to "Buck Wiki")
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
| <!-- Potd EXIST: --> [[Image:{{Potd:{{#time: m-d}}}}|{{{width|400}}}px|{{#ifexist:Potd:{{#time: m-d}}/Caption
| <!-- Potd EXIST: --> [[Image:{{Potd:{{#time: m-d}}}}|{{{width|400}}}px|{{#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
   |<!-- ELSE: --> Buck Wiki - Picture of the Day
}}]]
}}]]
| <!-- NO Potd: --> <div class="plainlinks">([{{canonicalurl:Potd:{{#time: m-d}}|action=edit}} Create a Potd])</div>
| <!-- NO Potd: --> <div class="plainlinks">([{{canonicalurl:Potd:{{#time: m-d}}|action=edit}} Create a Potd])</div>
Line 17: Line 17:
| {{#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">([{{canonicalurl:Potd:{{#time: m-d}}/Caption|action=edit}} create caption])</div>
   |<!-- ELSE: --> Buck Wiki - Picture of the Day <div class="plainlinks">([{{canonicalurl: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}}

Latest revision as of 14:13, 27 January 2021