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}:date
+
|include={Event}
|includematch=/date\s*=\s*{{{year}}}-{{{month}}}-{{{day}}}/s  
+
|includematch=/sdate\s*=\s*{{{year}}}-{{{month}}}-{{{day}}}/s  
 
|ordermethod=title
 
|ordermethod=title
|noresultsheader=valign=top{{!}}[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}},namespace={{#var:namespace}}|'''{{{day}}}''']]<br>\n
+
|format=valign=top{{!}}'''{{{day}}}'''<br>,<small>[[%PAGE%{{!}}%TITLE%]]</small>,<br>\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}}}}
 
|{{#if:{{#var:show}}|include={{#var:show}}}}
 
|order=descending
 
|order=descending

Revision as of 18:18, 7 April 2012

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