Difference between revisions of "Template:Calendar month"
From FollowTheScore
| Line 1: | Line 1: | ||
<includeonly>__NOTOC__ __NOEDITSECTION__ | <includeonly>__NOTOC__ __NOEDITSECTION__ | ||
| − | {| | + | {{#if:{{{showAll|}}}|| |
| − | |enter '''date and name''' of | + | {{(!}} |
| − | + | {{!}}{{CalendarSingle|year={{{year}}}|month={{{month}}}|show_year=yes|basepage={{{basepage}}}}} | |
| + | {{!}}witdh=20{{!}} | ||
| + | {{!}}valign=bottom{{!}} | ||
| + | show [[Special:Call/Calendar month,showAll=true,basepage={{{basepage}}}|all events]] | ||
| + | |||
| + | enter '''date and name''' of a '''new''' event: | ||
| + | |||
| + | <inputbox> | ||
type=create | type=create | ||
| − | buttonlabel=create | + | buttonlabel=create |
width=25 | width=25 | ||
| − | default=YYYY-MM-DD | + | default=YYYY-MM-DD your event |
preload=Event template | preload=Event template | ||
| + | editintro=Event intro | ||
break=no | break=no | ||
</inputbox> | </inputbox> | ||
| − | + | {{!)}} | |
| − | + | }} | |
| − | |||
| − | |||
{{#dpl:category=Events | {{#dpl:category=Events | ||
| − | |titlematch={{{year}}}-{{{month}}}-% | + | |{{#if:{{{showAll|}}}||titlematch={{{year}}}-{{{month}}}-%}} |
| − | |include=#Summary,#Participants | + | |include=#Summary,#Participants,#Location |
|mode=userformat | |mode=userformat | ||
| − | |resultsheader=There are %PAGES% events planned this month. | + | |resultsheader=There are %PAGES% events planned{{#if:{{{showAll|}}}|| this month}}.¶ |
| − | |noresultsheader=No events planned so far for this month. | + | |noresultsheader=No events planned so far for this month{{#if:{{{showAll|}}}|| this month}}.¶ |
| − | |listseparators= | + | |listseparators={¦ class="sortable" ¶!Date / Event name ¶!Event summary ¶!Participants ¶!Location ¶!Categories,¶¦-¶¦<h5>[[%PAGE%]]</h5>,¶¦ %CATLIST%,¶¦} |
|secseparators=¶¦ | |secseparators=¶¦ | ||
|ordermethod=title | |ordermethod=title | ||
| Line 26: | Line 32: | ||
|order=descending | |order=descending | ||
}} | }} | ||
| − | |||
| − | |||
</includeonly><noinclude>[[Category:Calendar Templates]]</noinclude> | </includeonly><noinclude>[[Category:Calendar Templates]]</noinclude> | ||