Difference between revisions of "Template:Recent Images"
From Geohashing
imported>Tjtrumpet2323 m |
imported>Tjtrumpet2323 m (show fourth day prior if current day (UTC) does not yet exist) |
||
Line 1: | Line 1: | ||
<noinclude>== Usage == | <noinclude>== Usage == | ||
− | <code><nowiki>{{Recent Images}}</nowiki></code> transcludes Expedition Image templates for four days: the current day (UTC) and the three prior. Automatically updates daily at 00:00 UTC (reasonably mid-day for the easternmost time zones, just in time to accept pictures from early afternoon meetups). | + | <code><nowiki>{{Recent Images}}</nowiki></code> transcludes Expedition Image templates for four days: the current day (UTC) and the three prior. If the gallery page for the current day (UTC) does not exist, it also shows a fourth day prior. Automatically updates daily at 00:00 UTC (reasonably mid-day for the easternmost time zones, just in time to accept pictures from early afternoon meetups). |
== Example == | == Example == | ||
− | </noinclude>{{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}} }} | + | </noinclude>{{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}}}} |
− | {{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -1 day}} }} | + | {{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -1 day}}}} |
− | {{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -2 days}} }} | + | {{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -2 days}}}} |
− | {{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -3 days}} }} | + | {{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -3 days}}}} |
+ | {{ #ifexist: Template:Expedition Images/{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}} | ||
+ | | | ||
+ | | {{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -4 days}}}} | ||
+ | }} |
Revision as of 03:52, 22 June 2008
Usage
{{Recent Images}}
transcludes Expedition Image templates for four days: the current day (UTC) and the three prior. If the gallery page for the current day (UTC) does not exist, it also shows a fourth day prior. Automatically updates daily at 00:00 UTC (reasonably mid-day for the easternmost time zones, just in time to accept pictures from early afternoon meetups).
Example
Photos from Friday 27 September 2024 (add yours)
Start the gallery for Friday 27 September. (how?) |
Photos from Thursday 26 September 2024 (add yours)
Start the gallery for Thursday 26 September. (how?) |
Photos from Wednesday 25 September 2024 (add yours)
Start the gallery for Wednesday 25 September. (how?) |
Photos from Tuesday 24 September 2024 (add yours)
Start the gallery for Tuesday 24 September. (how?) |
Photos from Monday 23 September 2024 (add yours)
Start the gallery for Monday 23 September. (how?) |