Difference between revisions of "Template:Calendar link"
From FollowTheScore
Ycombarnous (talk | contribs) m (New page: {{#if: {{#dpl:debug=0|category=Events|titlematch={{{year}}}/{{{month}}}/{{{day}}}%}}|{{Calendar anchor|year={{{year}}}|month={{{month}}}|day={{{day}}}}}|{{{day}}}}}) |
Roc michael (talk | contribs) |
||
(50 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#if: {{# | + | {{#dpl:debug=0 |
+ | |{{#if:{{#var:namespace}}|namespace={{#var:namespace}}}} | ||
+ | |category=Events | ||
+ | |{{#if:{{#var:purpose}}|category={{#var:purpose}}}} | ||
+ | |mode=userformat | ||
+ | |titlematch={{{year}}}-{{{month}}}-{{{day}}}%{{!}}YYYY-{{{month}}}-{{{day}}}%{{!}}YYYY-MM-{{{day}}}% | ||
+ | |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 | ||
+ | |{{#if:{{#var:nolink}}|count=1}} | ||
+ | |{{#if:{{#var:nolink}}|format=,[[#%PAGE%|'''{{{day}}}''']],}} | ||
+ | |{{#if:{{#var:nolink}}|noresultsheader={{{day}}}}} | ||
+ | }} | ||
+ | <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}}}