Difference between revisions of "Template:Calendar/MonthArchiveMode"

From Geohashing
imported>Tjtrumpet2323
m
m
Line 3: Line 3:
 
|cur_month=[[{{#time:Y-m|{{{year}}}-{{{month}}}-01}}|{{#time:F Y|{{{year}}}-{{{month}}}-01}}]]
 
|cur_month=[[{{#time:Y-m|{{{year}}}-{{{month}}}-01}}|{{#time:F Y|{{{year}}}-{{{month}}}-01}}]]
 
|prev_month=[[{{#time:Y-m|{{{year}}}-{{{month}}}-01 last month}}|«]]
 
|prev_month=[[{{#time:Y-m|{{{year}}}-{{{month}}}-01 last month}}|«]]
|next_month=[[{{#time:Y-m|{{{year}}}-{{{month}}}-01 next month}}|»]]
+
|next_month={{#ifexpr:{{#time:U|6 days}}>{{#time:U|{{{year}}}-{{{month}}}-01 next month}}|[[{{#time:Y-m|{{{year}}}-{{{month}}}-01 next month}}|»]]|»}}
 
|01=[[#{{#time:l_j_F_Y|{{{year}}}-{{{month}}}-01}}|1]]
 
|01=[[#{{#time:l_j_F_Y|{{{year}}}-{{{month}}}-01}}|1]]
 
|02=[[#{{#time:l_j_F_Y|{{{year}}}-{{{month}}}-02}}|2]]
 
|02=[[#{{#time:l_j_F_Y|{{{year}}}-{{{month}}}-02}}|2]]

Revision as of 23:43, 3 March 2020