Difference between revisions of "Template:Expedition archive nav"

From Geohashing
imported>Relet
(+auto category (testing))
m
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<big>'''[[Expedition Archives]]'''</big>
 
<big>'''[[Expedition Archives]]'''</big>
  
[[{{ #time: Y-m | {{PAGENAME}}-01 last month }} | {{ #time: F Y | {{PAGENAME}}-01 last month }}]] | '''{{ #time: F Y | {{PAGENAME}}-01 }}''' | [[{{ #time: Y-m | {{PAGENAME}}-01 next month }} | {{ #time: F Y | {{PAGENAME}}-01 next month }}]]
+
[[{{ #time: Y-m | {{PAGENAME}}-01 last month }} | {{ #time: F Y | {{PAGENAME}}-01 last month }}]] | '''{{ #time: F [[Y]] | {{PAGENAME}}-01 }}''' | {{#ifexpr:{{#time:U|9 hours 30 minutes}}>{{#time:U|{{PAGENAME}}-01 next month}}|[[{{ #time: Y-m | {{PAGENAME}}-01 next month }} | {{ #time: F Y | {{PAGENAME}}-01 next month }}]]|{{ #time: F Y | {{PAGENAME}}-01 next month }}}}
  
 
<small>'''See also:''' [[:Category:Meetup in {{PAGENAME}}]]</small>
 
<small>'''See also:''' [[:Category:Meetup in {{PAGENAME}}]]</small>

Latest revision as of 18:36, 29 January 2021

Usage

{{expedition archive nav}}
  • For use on Expedition Archive pages, such as 2008-05.
  • Links and link names generated automatically from the page name, which must be in YYYY-MM format.