Difference between revisions of "Template:Recent Images2"
From Geohashing
imported>Benjw m (correction) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
== Example == | == Example == | ||
</noinclude>{{#vardefine:gaWidth|175}}{{#vardefine:gaHeight|130}}{{#vardefine:gaLines|2}}{{Gallery2 | </noinclude>{{#vardefine:gaWidth|175}}{{#vardefine:gaHeight|130}}{{#vardefine:gaLines|2}}{{Gallery2 | ||
− | | title=Recent Expeditions | | + | | title={{#if:{{#var:gaTitle}}|{{#var:gaTitle}}|Recent Expeditions}} | |
{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}}}} | {{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}}}} | ||
{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -1 day}}}} | {{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -1 day}}}} | ||
Line 19: | Line 19: | ||
{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -12 days}}}} | {{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -12 days}}}} | ||
{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -13 days}}}} | {{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -13 days}}}} | ||
− | {{ #ifexist: Template:Expedition | + | {{ #ifexist: Template:Expedition Images2/{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}} |
| | | | ||
| {{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -14 days}}}} | | {{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -14 days}}}} | ||
}} | }} | ||
}} | }} |
Latest revision as of 12:13, 13 March 2020
Usage
{{Recent Images2}}
transcludes Expedition Image templates for fourteen days: the current day (UTC) and the thirteen prior. If the gallery page for the current day (UTC) does not exist, it also shows a fourteenth 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
Recent Expeditions | |||||||||
|