Difference between revisions of "Template:EventDataPageLinks"

From Culture.si
Line 1: Line 1:
 
<noinclude>__NOTOC__</noinclude>{{#if:{{LOGGEDIN}}|
 
<noinclude>__NOTOC__</noinclude>{{#if:{{LOGGEDIN}}|
<div class="fullwidth event-year-months">
+
<div class="fullwidth event-year-months">
{{#arr:loop
+
{{#arr:loop
  |k=year
+
| k = year
  |{{#arr:series|{{#time:Y|now+3 months}}|2010}}
+
| {{#arr:series|{{#time:Y|now+3 months}}|2010}}
  |each=
+
| each=
<div class="year">
+
<div class="year">
 
   
 
   
 
=={{{year}}}==
 
=={{{year}}}==
 
   
 
   
<ul>{{#arr:loop
+
<ul>{{#arr:loop
|kk=month
+
  | kk=month
|{{#arr:series|1|12}}
+
  | {{#arr:series|1|12}}
|each=<li>{{padleft:{{{month}}}|2}} [{{fullurl:Culture.si:Archive of events/{{{year}}}/{{padleft:{{{month}}}|2}}|action=formedit}} (edit)]
+
  | each=<li>{{padleft:{{{month}}}|2}} [{{fullurl:Culture.si:Archive of events/{{{year}}}/{{padleft:{{{month}}}|2}}|action=formedit&returnto={{FULLPAGENAMEE}}}} (edit)]
}}</ul>
+
  }}</ul>
</div>
+
</div>
}}
+
}}
</div>
+
</div>
 
}}
 
}}

Revision as of 22:18, 2 October 2023