Difference between revisions of "Template:Calendar link"
From FollowTheScore
Roc michael (talk | contribs) |
|||
(38 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#dpl:debug=0 | {{#dpl:debug=0 | ||
+ | |{{#if:{{#var:namespace}}|namespace={{#var:namespace}}}} | ||
|category=Events | |category=Events | ||
+ | |{{#if:{{#var:purpose}}|category={{#var:purpose}}}} | ||
|mode=userformat | |mode=userformat | ||
− | | | + | |titlematch={{{year}}}-{{{month}}}-{{{day}}}%{{!}}YYYY-{{{month}}}-{{{day}}}%{{!}}YYYY-MM-{{{day}}}% |
− | |||
− | |||
|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 | ||
+ | |{{#if:{{#var:noadd}}|noresultsheader=valign=top{{!}}'''{{{day}}}'''<br>\n}} | ||
+ | |format=valign=top{{!}}[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}},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 | ||
− | |count=1}} | + | |{{#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> |
Latest revision as of 12:15, 10 December 2007
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.
{{{day}}}