Template:Calendar link: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
m (1 revision: Templates necessary for the calendar)
No edit summary
 
(27 intermediate revisions by one other user not shown)
Line 4: Line 4:
|{{#if:{{#var:purpose}}|category={{#var:purpose}}}}
|{{#if:{{#var:purpose}}|category={{#var:purpose}}}}
|mode=userformat
|mode=userformat
|titlematch={{{year}}}-{{{month}}}-{{{day}}}%{{!}}YYYY-{{{month}}}-{{{day}}}%{{!}}YYYY-MM-{{{day}}}%
|includepage={Event}:date
|includematch=/date\s*=\s*{{{day}}}-{{{month}}}-{{{year}}}/
|ordermethod=title
|ordermethod=title
|replaceintitle=/^[0-9Yy]*[-\/][01Mm][0-9Mm][-\/][0-3][0-9]/,
|format=valign=top{{!}}<small>'''{{{day}}}'''</small><br>,[[%PAGE%{{!}}%TITLE%]]{{ns:0{{!}},}}\n,
|noresultsheader=valign=top{{!}}[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}},namespace={{#var:namespace}}|'''{{{day}}}''']]<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}}}}
|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 }}