Difference between revisions of "Template:Expedition archive nav"

From Geohashing
imported>Tjtrumpet2323
m
m
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><div style='margin:2px 10% 2px; padding: 2px; border: 1px solid #aaa; background: #f9f9f9; text-align: center;'>
+
<includeonly><div style='margin:2px 10% 2px; border: 1px solid #aaa; background: #f9f9f9; text-align: center;'>
 
<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 }}}}
</div></includeonly><noinclude>
+
 
 +
<small>'''See also:''' [[:Category:Meetup in {{PAGENAME}}]]</small>
 +
</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.
+
* For use on Expedition Archive pages, such as [[2008-05]].
* Links are generated based on page name.
+
* 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.