Difference between revisions of "Template:Calendar link"

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

Revision as of 19:44, 4 December 2007

{{#dpl:debug=0 |namespace={{#var:namespace}} |category=Events |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]/, |format=valign=top|{{{day}}}
,%TITLE%,
| |{{#if:{{#var:noadd}}||noresultsheader=valign=top|[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}}}} |{{{day}}}]]
\n |noresultsheader=valign=top|{{{day}}}
\n