Difference between revisions of "Template:Recent Images"

From Geohashing
imported>Tjtrumpet2323
m
m
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>== Usage ==
== Usage ==
+
<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).
<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).
 
  
 
== Example ==
 
== Example ==
</noinclude>{{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}} }}
+
</noinclude>{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}}}}
{{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -1 day}} }}
+
{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -1 day}}}}
{{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -2 days}} }}
+
{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -2 days}}}}
{{Expedition Images|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -3 days}} }}
+
{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -3 days}}}}
 +
{{ #ifexist: Template:Expedition Images2/{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}}
 +
|
 +
| {{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -4 days}}}}
 +
}}

Latest revision as of 21:35, 2 March 2020

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