Difference between revisions of "Template:Calendar link"

From FollowTheScore
Jump to: navigation, search
Line 7: Line 7:
 
|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&#44;prefix={{{year}}}-{{{month}}}-{{{day}}}|'''{{{day}}}''']]<br>,<small>[[%PAGE%{{!}}%TITLE%]]</small>,<br>
+
|{{#if:{{#var:noadd}}|format=valign=top{{!}}'''{{{day}}}'''<br>,<small>[[%PAGE%{{!}}%TITLE%]]</small>,<br>}}
 +
|{{#if:{{#var:noadd}}||format=valign=top{{!}}[[Special:Call/create Event&#44;prefix={{{year}}}-{{{month}}}-{{{day}}}|'''{{{day}}}''']]<br>,<small>[[%PAGE%{{!}}%TITLE%]]</small>,<br>}}
 
|noresultsheader=valign=top{{!}}[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}}|'''{{{day}}}''']]<br>\n
 
|noresultsheader=valign=top{{!}}[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}}|'''{{{day}}}''']]<br>\n
 
|order=descending
 
|order=descending
 
}}
 
}}
 
<noinclude>[[Category:Calendar Templates]]</noinclude>
 
<noinclude>[[Category:Calendar Templates]]</noinclude>

Revision as of 18:40, 4 December 2007

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

valign=top|[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}}|{{{day}}}]]