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
|includepage={Event}:nolabel
+
|includepage={Event}:date
 
|includematch=/date\s*=\s*{{{year}}}-{{{month}}}-{{{day}}}/
 
|includematch=/date\s*=\s*{{{year}}}-{{{month}}}-{{{day}}}/
 
|ordermethod=title
 
|ordermethod=title
|format=valign=top{{!}}<small>'''{{{day}}}'''</small><br>,[[%PAGE%{{!}}%TITLE%]],<br>\n,
+
|format=valign=top{{!}}<small>'''{{{day}}}'''</small><br>,[[%PAGE%{{!}}%TITLE%]]<!--,--><br>\n,
 
|order=descending
 
|order=descending
 
}}
 
}}
 
<noinclude>[[Category:Calendar Templates]]</noinclude>
 
<noinclude>[[Category:Calendar Templates]]</noinclude>

Revision as of 18:41, 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 }}