Difference between revisions of "Template:Expedition archive nav"

From Geohashing
imported>Tjtrumpet2323
(New page: <div style='font-size:90%; margin:2px 10% 2px; padding: 2px; border: 1px solid #aaa; background: #f9f9f9'> {{ #if: {{{prevmonth|}}} | [[Expedition Archives/{{{prevmonth}}}|{{{prevmonth}}}]...)
 
m
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style='font-size:90%; margin:2px 10% 2px; padding: 2px; border: 1px solid #aaa; background: #f9f9f9'>
+
<includeonly><div style='margin:2px 10% 2px; border: 1px solid #aaa; background: #f9f9f9; text-align: center;'>
{{ #if: {{{prevmonth|}}} | [[Expedition Archives/{{{prevmonth}}}|{{{prevmonth}}}]] | - }} | '''{{{currentmonth}}}''' | {{ #if: {{{nextmonth|}}} | [[Expedition Archives/{{{nextmonth}}}|{{{nextmonth}}}]] | - }}
+
<big>'''[[Expedition Archives]]'''</big>
</div><noinclude>
 
  
 +
[[{{ #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>
 +
</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.