Difference between revisions of "Template:Date nav"

From Geohashing
imported>Tjtrumpet2323
m
 
(19 intermediate revisions by 3 users 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;'>
{{datelink|{{ #time: Y-m-d | {{PAGENAME}} - 1 day }}}} | '''{{ #time: l, F j, Y | {{PAGENAME}} }}''' | {{datelink|{{ #time: Y-m-d | {{PAGENAME}} + 1 day }}}}
+
<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>
  
[[Category:Day of {{ #time: 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 }}}} | '''{{ #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:''' [[{{ #time: Y-m | {{PAGENAME}} }}|Expedition Archives from {{ #time: F Y | {{PAGENAME}} }}]]</small>
+
<small>'''See also:''' [[:Category:Meetup on {{PAGENAME}}]]</small>
</div></includeonly><noinclude>
+
</div> [[Category:Day of {{ #time: F Y | {{PAGENAME}} }}]] [[Category:Meetup on {{PAGENAME}}| ]] __NOTOC__ </includeonly><noinclude>
 
== Usage ==
 
== Usage ==
  <nowiki>{{date nav}}</nowiki>
+
{{intricate}}
 +
  <nowiki>{{date nav}}</nowiki>  
 
* For use navigating amongst date pages, such as [[2008-05-24]].
 
* 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.
 
* Links and link names generated automatically from the page name, which must be in YYYY-MM-DD format.
 
</noinclude>
 
</noinclude>

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.