Difference between revisions of "Template:Date nav"

From Geohashing
imported>Tjtrumpet2323
 
(26 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;'>
[[{{ #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 }}]]
+
<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>
  
<small>'''See also:''' [[Expedition Archives]]</small>
+
{{#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 }}}}
</div></includeonly><noinclude>
+
 
 +
<small>'''See also:''' [[:Category:Meetup on {{PAGENAME}}]]</small>
 +
</div> [[Category:Day of {{ #time: F Y | {{PAGENAME}} }}]] [[Category:Meetup on {{PAGENAME}}| ]] __NOTOC__ </includeonly><noinclude>
 
== Usage ==
 
== Usage ==
  <nowiki>{{date navigation}}</nowiki>
+
{{intricate}}
* Links and link names generated automatically from the page name.
+
  <nowiki>{{date nav}}</nowiki>  
 +
* 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.
 
</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.