Template:Calendar link: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(Undo revision 1434 by 317070 (talk))
No edit summary
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*{{{year}}}-{{{month}}}-{{{day}}}/s
|ordermethod=title
|ordermethod=title
|replaceintitle=/^[0-9Yy]*[-\/][01Mm][0-9Mm][-\/][0-3][0-9]/,
|noresultsheader=valign=top{{!}}[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}},namespace={{#var:namespace}}|'''{{{day}}}''']]<br>\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}}
|{{#if:{{#var:noadd}}|noresultsheader=valign=top{{!}}'''{{{day}}}'''<br>\n}}

Revision as of 16:46, 7 April 2012

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