Difference between revisions of "Template:Calendar month"

From FollowTheScore
Jump to: navigation, search
Line 3: Line 3:
 
{{(!}}
 
{{(!}}
 
{{!}}{{CalendarSingle|year={{{year}}}|month={{{month}}}|show_year=yes|basepage={{{basepage}}}}}
 
{{!}}{{CalendarSingle|year={{{year}}}|month={{{month}}}|show_year=yes|basepage={{{basepage}}}}}
{{!}}witdh=20{{!}}
+
{{!}}width=20{{!}}
 
{{!}}valign=bottom{{!}}
 
{{!}}valign=bottom{{!}}
 
show [[Special:Call/Calendar month,showAll=true,basepage={{{basepage}}}|all events]]
 
show [[Special:Call/Calendar month,showAll=true,basepage={{{basepage}}}|all events]]
Line 22: Line 22:
 
{{#dpl:
 
{{#dpl:
 
   |category=Events
 
   |category=Events
   |{{#if:{{{showAll|}}}||titleregexp=({{{year}}}{{!}}YYYY)-{{{month}}}-.*}}
+
   |{{#if:{{{showAll|}}}||titlematch={{{year}}}-{{{month}}}-%{{!}}YYYY-{{{month}}}-%{{!}}YYYY-MM-%}}
 
   |include=#Summary,#Participants,#Location
 
   |include=#Summary,#Participants,#Location
 
   |mode=userformat
 
   |mode=userformat
   |resultsheader=There are %PAGES% events planned{{#if:{{{showAll|}}}|| this month}}.¶
+
   |resultsheader=There are %PAGES% events planned{{#if:{{{showAll|}}}||  this month}}.¶
 
   |noresultsheader=No events planned so far for this month{{#if:{{{showAll|}}}|| this month}}.¶
 
   |noresultsheader=No events planned so far for this month{{#if:{{{showAll|}}}|| this month}}.¶
 
   |listseparators={¦ class="sortable" ¶!Date / Event name ¶!Event summary ¶!Participants ¶!Location ¶!Categories,¶¦-¶¦<h5>[[%PAGE%]]</h5>,¶¦ %CATLIST%,¶¦}
 
   |listseparators={¦ class="sortable" ¶!Date / Event name ¶!Event summary ¶!Participants ¶!Location ¶!Categories,¶¦-¶¦<h5>[[%PAGE%]]</h5>,¶¦ %CATLIST%,¶¦}

Revision as of 21:51, 20 October 2007