Difference between revisions of "Template:Recent Images2"

From Geohashing
imported>Relet
(Created page with '<noinclude>== Usage == <code><nowiki>{{Recent Images2}}</nowiki></code> transcludes Expedition Image templates for fourteen days: the current day (UTC) and the thirteen prior. I…')
 
m
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>== Usage ==
 
<noinclude>== Usage ==
<code><nowiki>{{Recent Images2}}</nowiki></code> 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 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 Images2}}</nowiki></code> 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 ==
 
== Example ==
</noinclude>{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}}}}
+
</noinclude>{{#vardefine:gaWidth|175}}{{#vardefine:gaHeight|130}}{{#vardefine:gaLines|2}}{{Gallery2
 +
| title={{#if:{{#var:gaTitle}}|{{#var:gaTitle}}|Recent Expeditions}} |
 +
{{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}}}}
 
{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -2 days}}}}
 
{{Expedition Images2|{{#time:Y-m-d|{{CURRENTTIMESTAMP}} -2 days}}}}
Line 17: 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 Images/{{#time:Y-m-d|{{CURRENTTIMESTAMP}}}}
+
{{ #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