Difference between revisions of "Template:Date nav"

From Geohashing
m
Line 2: Line 2:
 
<big>'''[[{{ #time: Y-m | {{PAGENAME}} }}|Expedition Archives from {{ #time: F Y | {{PAGENAME}} }}]]'''</big>
 
<big>'''[[{{ #time: Y-m | {{PAGENAME}} }}|Expedition Archives from {{ #time: F Y | {{PAGENAME}} }}]]'''</big>
  
{{#ifexpr:{{#time:U|@1211327999}}<{{#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:{{#time:U|@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}}|[[{{ #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 }}}}
  
 
<small>'''See also:''' [[:Category:Meetup on {{PAGENAME}}]]</small>
 
<small>'''See also:''' [[:Category:Meetup on {{PAGENAME}}]]</small>
</div> [[Category:Day of {{ #time: F Y | {{PAGENAME}} }}]] __NOTOC__ </includeonly><noinclude>
+
</div> [[Category:Day of {{ #time: F Y | {{PAGENAME}} }}]] [[Category:Meetup on {{PAGENAME}}| ]] __NOTOC__ </includeonly><noinclude>
 
== Usage ==
 
== Usage ==
 
{{intricate}}
 
{{intricate}}

Revision as of 09:31, 13 March 2020

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.