Difference between revisions of "Template:Date nav"

From Geohashing
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly><div style='margin:2px 10% 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>'''[[{{ #time: Y-m | {{PAGENAME}} }}|Expedition Archives from {{ #time: F Y | {{PAGENAME}} }}]]'''</big>
+
<big>'''{{#ifexpr:1211327999<{{#time:U|{{#time:Y-m-01|{{PAGENAME}}}}}} and {{#time:U|9 hours 30 minutes}}>{{#time:U|{{#time:Y-m-01|{{PAGENAME}}}}}}|[[{{ #time: Y-m | {{PAGENAME}} }}|Expedition Archives from {{ #time: F Y | {{PAGENAME}} }}]]|Expedition Archives from {{ #time: F Y | {{PAGENAME}} }}}}'''</big>
  
{{#ifexpr:1211327999<{{#time:U|{{PAGENAME}} - 1 day}} and {{#time:U|6 days}}>{{#time:U|{{PAGENAME}} - 1 day}}|[[{{ #time: Y-m-d | {{PAGENAME}} - 1 day }} | {{ #time: l j F Y | {{PAGENAME}} - 1 day }}]]|{{ #time: l j F Y | {{PAGENAME}} - 1 day }}}} | '''{{ #time: l j F Y | {{PAGENAME}} }}''' | {{#ifexpr:1211327999<{{#time:U|{{PAGENAME}} + 1 day}} and {{#time:U|6 days}}>{{#time:U|{{PAGENAME}} + 1 day}}|[[{{ #time: Y-m-d | {{PAGENAME}} + 1 day }} | {{ #time: l j F Y | {{PAGENAME}} + 1 day }}]]|{{ #time: l j F Y | {{PAGENAME}} + 1 day }}}}
+
{{#ifexpr:1211327999<{{#time:U|{{PAGENAME}} - 1 day}} and {{#time:U|9 hours 30 minutes}}>{{#time:U|{{PAGENAME}} - 1 day}}|[[{{ #time: Y-m-d | {{PAGENAME}} - 1 day }} | {{ #time: l j F Y | {{PAGENAME}} - 1 day }}]]|{{ #time: l j F Y | {{PAGENAME}} - 1 day }}}} | '''{{ #time: l j F Y | {{PAGENAME}} }}''' | {{#ifexpr:1211327999<{{#time:U|{{PAGENAME}} + 1 day}} and {{#time:U|9 hours 30 minutes}}>{{#time:U|{{PAGENAME}} + 1 day}}|[[{{ #time: Y-m-d | {{PAGENAME}} + 1 day }} | {{ #time: l j F Y | {{PAGENAME}} + 1 day }}]]|{{ #time: l j F Y | {{PAGENAME}} + 1 day }}}}
  
 
<small>'''See also:''' [[:Category:Meetup on {{PAGENAME}}]]</small>
 
<small>'''See also:''' [[:Category:Meetup on {{PAGENAME}}]]</small>

Latest revision as of 22:39, 17 December 2023

Usage

{{date nav}} 
  • For use navigating amongst date pages, such as 2008-05-24.
  • Links and link names generated automatically from the page name, which must be in YYYY-MM-DD format.