Difference between revisions of "Template:Expedition archive nav"

From Geohashing
imported>Tjtrumpet2323
m
m
 
(9 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
<big>'''[[Expedition Archives]]'''</big>
 
<big>'''[[Expedition Archives]]'''</big>
  
[[{{ #time: Y-m | {{PAGENAME}} - 1 month }} | {{ #time: F Y | {{PAGENAME}} - 1 month }}]] | '''{{ #time: F Y | {{PAGENAME}} }}''' | [[{{ #time: Y-m | {{PAGENAME}} + 1 month }} | {{ #time: F Y | {{PAGENAME}} + 1 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>
{{Calendar/Month|year={{#time: Y|{{PAGENAME}}}}|month={{#time: m|{{PAGENAME}}}}|archive=1}}</div> __NOTOC__ </includeonly><noinclude>
+
</div> __NOTOC__
 +
<div align=center>{{Calendar/Month|year={{#time: Y|{{PAGENAME}}-01}}|month={{#time: m|{{PAGENAME}}-01}}|archive=1}}</div> [[Category:Meetup in {{PAGENAME}}]] </includeonly><noinclude>
 
== Usage ==
 
== Usage ==
 +
{{intricate}}
 
  <nowiki>{{expedition archive nav}}</nowiki>
 
  <nowiki>{{expedition archive nav}}</nowiki>
 
* For use on Expedition Archive pages, such as [[2008-05]].
 
* 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.
 
* Links and link names generated automatically from the page name, which must be in YYYY-MM format.
 
</noinclude>
 
</noinclude>

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.