Difference between revisions of "Template:Calendar month"

From FollowTheScore
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>__NOTOC__ __NOEDITSECTION__
 
<includeonly>__NOTOC__ __NOEDITSECTION__
{|
+
{{#if:{{{showAll|}}}||
|enter '''date and name''' of the event: &nbsp;
+
{{(!}}
|<inputbox>
+
{{!}}{{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: &nbsp;
 +
 
 +
<inputbox>
 
   type=create
 
   type=create
   buttonlabel=create new Event
+
   buttonlabel=create
 
   width=25
 
   width=25
   default=YYYY-MM-DD my event name
+
   default=YYYY-MM-DD your event
 
   preload=Event template
 
   preload=Event template
 +
  editintro=Event intro
 
   break=no
 
   break=no
 
</inputbox>
 
</inputbox>
|}
+
{{!)}}
 
+
}}
{{CalendarSingle|year={{{year}}}|month={{{month}}}|show_year=yes|basepage={{{basepage}}}}}
 
 
 
 
{{#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={¦ class="wikitable" ¶!Date / Event name ¶!Categories ¶!Event summary ¶!Participants,¶¦-¶¦<h5>[[%PAGE%]]</h5>¶¦ %CATLIST%,,¶¦}
+
   |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
 
}}
 
}}
 
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
 
 
</includeonly><noinclude>[[Category:Calendar Templates]]</noinclude>
 
</includeonly><noinclude>[[Category:Calendar Templates]]</noinclude>

Revision as of 13:01, 1 October 2007