Difference between revisions of "Template:Date nav"

From Geohashing
imported>Gissehel
(bold)
 
(14 intermediate revisions by 2 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;'>
<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>
  
[[{{ #time: Y-m-d | {{PAGENAME}} - 1 day }} | {{ #time: l, F j, Y | {{PAGENAME}} - 1 day }}]] | '''{{ #time: l, F j, Y | {{PAGENAME}} }}''' | [[{{ #time: Y-m-d | {{PAGENAME}} + 1 day }} | {{ #time: l, F j, 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>
 
+
</div> [[Category:Day of {{ #time: F Y | {{PAGENAME}} }}]] [[Category:Meetup on {{PAGENAME}}| ]] __NOTOC__ </includeonly><noinclude>
[[Category:Day of {{ #time: F Y | {{PAGENAME}} }}]]
 
</div></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.