Difference between revisions of "Template:Calendar link"

From Pirate Party Belgium
Jump to: navigation, search
Line 4: Line 4:
 
|{{#if:{{#var:purpose}}|category={{#var:purpose}}}}
 
|{{#if:{{#var:purpose}}|category={{#var:purpose}}}}
 
|mode=userformat
 
|mode=userformat
|include={Event}
+
|includepage={Event}:date
 
|includematch=/date\s*=\s*{{{year}}}-{{{month}}}-{{{day}}}/
 
|includematch=/date\s*=\s*{{{year}}}-{{{month}}}-{{{day}}}/
 
|ordermethod=title
 
|ordermethod=title
 
|format=valign=top{{!}}'''{{{day}}}'''<br>,<small>[[%PAGE%{{!}}%TITLE%]]</small>,<br>\n
 
|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 Templates]]</noinclude>

Revision as of 18:27, 7 April 2012

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