Difference between revisions of "Template:Expedition archive nav"

From Geohashing
imported>Tjtrumpet2323
m
 
(23 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>
  
{{ #if: {{{prevmonth|}}} | [[Expedition Archives/{{{prevmonth}}}|{{{prevmonth}}}]] | ''(no previous)'' }} | '''{{{currentmonth}}}''' | {{ #if: {{{nextmonth|}}} | [[Expedition Archives/{{{nextmonth}}}|{{{nextmonth}}}]] | ''(no next)'' }}
+
[[{{ #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 ==
  <nowiki>{{expeditionarchive
+
{{intricate}}
| prevmonth = April 2008
+
  <nowiki>{{expedition archive nav}}</nowiki>
| currentmonth = May 2008
+
* For use on Expedition Archive pages, such as [[2008-05]].
| nextmonth = June 2008
+
* Links and link names generated automatically from the page name, which must be in YYYY-MM format.
}}</nowiki>
 
 
</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.