Difference between revisions of "Template:Calendar month"
(14 intermediate revisions by one other user not shown) | |||
Line 12: | Line 12: | ||
|{{#if:{{{namespace|}}}|namespace={{{namespace}}}}} | |{{#if:{{{namespace|}}}|namespace={{{namespace}}}}} | ||
|{{#if:{{{purpose|}}}|category={{{purpose}}}}} | |{{#if:{{{purpose|}}}|category={{{purpose}}}}} | ||
+ | |{{#ifeq:{{{eventList|}}}|all||includematch=,/date\s*=\s*..-{{{month}}}-{{{year}}}/s}} | ||
|notnamespace=Template | |notnamespace=Template | ||
|category=Events | |category=Events | ||
|{{#ifeq:{{{eventList|}}}|no|category=does not exist ..}} | |{{#ifeq:{{{eventList|}}}|no|category=does not exist ..}} | ||
− | |include={Event}:date:location | + | |include={Event}:date,{Event}:location |
|mode=userformat | |mode=userformat | ||
|resultsheader=There are %PAGES% events planned{{#ifeq:{{{eventList|}}}|current| this month}}.¶ | |resultsheader=There are %PAGES% events planned{{#ifeq:{{{eventList|}}}|current| this month}}.¶ | ||
|noresultsheader={{#ifeq:{{{eventList|}}}|no||No events planned.¶}} | |noresultsheader={{#ifeq:{{{eventList|}}}|no||No events planned.¶}} | ||
|listseparators= {¦ class="wikitable sortable" ¶!Date ¶!Location ¶!More info,¶¦-,¶¦<h5>[[%PAGE%|%TITLE%]]</h5>, ¶¦} | |listseparators= {¦ class="wikitable sortable" ¶!Date ¶!Location ¶!More info,¶¦-,¶¦<h5>[[%PAGE%|%TITLE%]]</h5>, ¶¦} | ||
− | |secseparators=¶¦,,, | + | |secseparators=¶¦,,¶¦, |
− | |ordermethod= | + | |multisecseparators=<br>,<br>,, |
+ | |ordermethod=Date | ||
|addcategories=true | |addcategories=true | ||
|shownamespace=no | |shownamespace=no | ||
|order=ascending | |order=ascending | ||
}} | }} | ||
− | </includeonly><noinclude>[[Category:Calendar | + | </includeonly><noinclude>[[Category:Calendar Template]]</noinclude> |