Difference between revisions of "Template:Calendar link"

From FollowTheScore
Jump to: navigation, search
 
(9 intermediate revisions by 2 users not shown)
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]/,
|{{#if:{{#var:noadd}}|format=valign=top{{!}}'''{{{day}}}'''<br>,<small>[[%PAGE%{{!}}%TITLE%]]</small>,<br>}}
+
|noresultsheader=valign=top{{!}}[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}},namespace={{#var:namespace}}|'''{{{day}}}''']]<br>\n
|{{#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}}|noresultsheader=valign=top{{!}}'''{{{day}}}'''<br>\n}}
|{{#if:{{#var:noadd}}||noresultsheader=valign=top{{!}}[[Special:Call/create Event,prefix={{{year}}}-{{{month}}}-{{{day}}}}}
+
|format=valign=top{{!}}[[Special:Call/create Event&#44;prefix={{{year}}}-{{{month}}}-{{{day}}}&#44;namespace={{#var:namespace}}|'''{{{day}}}''']]<br>,<small>[[%PAGE%{{!}}%TITLE%]]</small>,<br>\n
|'''{{{day}}}''']]<br>\n
+
|{{#if:{{#var:noadd}}|format=valign=top{{!}}'''{{{day}}}'''<br>,<small>[[%PAGE%{{!}}%TITLE%]]</small>,<br>\n}}
|{{#if:{{#var:noadd}}|noresultsheader=valign=top{{!}}'''{{{day}}}'''<br>\n
+
|{{#if:{{#var:show}}|include={{#var:show}}}}
 
|order=descending
 
|order=descending
 +
|{{#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}}}