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 Monday 3 June 2024 (add yours)
Start the gallery for Monday 3 June. (how?) |
Photos from Sunday 2 June 2024 (add yours)
Start the gallery for Sunday 2 June. (how?) |
Photos from Saturday 1 June 2024 (add yours)
Start the gallery for Saturday 1 June. (how?) |
Photos from Friday 31 May 2024 (add yours)
Start the gallery for Friday 31 May. (how?) |
Photos from Thursday 30 May 2024 (add yours)
Start the gallery for Thursday 30 May. (how?) |