Difference between revisions of "Template:Calendar link"

From Pirate Party Belgium
Jump to: navigation, search
 
(24 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
|mode=userformat
 
|mode=userformat
 
|includepage={Event}:date
 
|includepage={Event}:date
|includematch=,/date\s*=\s*{{{year}}}-{{{month}}}-{{{day}}}/s
+
|includematch=/date\s*=\s*{{{day}}}-{{{month}}}-{{{year}}}/
 
|ordermethod=title
 
|ordermethod=title
|noresultsheader=valign=top{{!}}[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}},namespace={{#var:namespace}}|'''{{{day}}}''']]<br>\n
+
|format=valign=top{{!}}<small>'''{{{day}}}'''</small><br>,[[%PAGE%{{!}}%TITLE%]]{{ns:0{{!}},}}\n,
|{{#if:{{#var:noadd}}|noresultsheader=valign=top{{!}}'''{{{day}}}'''<br>\n}}
 
|format=valign=top{{!}}[[Special:Call/create Event&#44;prefix={{{year}}}-{{{month}}}-{{{day}}}&#44;namespace={{#var:namespace}}|'''{{{day}}}''']]<br>,<small>[[%PAGE%{{!}}%TITLE%]]</small>,<br>\n
 
|{{#if:{{#var:noadd}}|format=valign=top{{!}}'''{{{day}}}'''<br>,<small>[[%PAGE%{{!}}%TITLE%]]</small>,<br>\n}}
 
|{{#if:{{#var:show}}|include={{#var:show}}}}
 
 
|order=descending
 
|order=descending
|{{#if:{{#var:nolink}}|count=1}}
 
|{{#if:{{#var:nolink}}|format=,[[#%PAGE%|'''{{{day}}}''']],}}
 
|{{#if:{{#var:nolink}}|noresultsheader={{{day}}}}}
 
 
}}
 
}}
<noinclude>[[Category:Calendar Templates]]</noinclude>
+
<noinclude>[[Category:Calendar Template]]</noinclude>

Latest revision as of 17:27, 7 November 2013

{{#dpl:debug=0 | |category=Events | |mode=userformat |includepage={Event}:date |includematch=/date\s*=\s*{{{day}}}-{{{month}}}-{{{year}}}/ |ordermethod=title |format=valign=top|{{{day}}}
,%TITLE%{{ns:0|,}}\n, |order=descending }}