Difference between revisions of "Template:Calendar link"

From FollowTheScore
Jump to: navigation, search
 
(21 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
|listseparators=,'''''[[#%PAGE%|{{{day}}}]]''''',,
 
 
|titlematch={{{year}}}-{{{month}}}-{{{day}}}%{{!}}YYYY-{{{month}}}-{{{day}}}%{{!}}YYYY-MM-{{{day}}}%
 
|titlematch={{{year}}}-{{{month}}}-{{{day}}}%{{!}}YYYY-{{{month}}}-{{{day}}}%{{!}}YYYY-MM-{{{day}}}%
 
|ordermethod=title
 
|ordermethod=title
 
|replaceintitle=/^[0-9Yy]*[-\/][01Mm][0-9Mm][-\/][0-3][0-9]/,
 
|replaceintitle=/^[0-9Yy]*[-\/][01Mm][0-9Mm][-\/][0-3][0-9]/,
|format=valign=top{{!}}[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}}|{{{day}}}]]<br>,<small>[[%PAGE%|%TITLE%]]</small>,<br>,
+
|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}}}|{{{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
|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}}}