Difference between revisions of "Test calendar March 2007"

From FollowTheScore
Jump to: navigation, search
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
==Explanation==
 
This is a calendaring application based on DPL functionality.
 
 
How to use it for your websites:
 
#Download the following templates, and create them into your wiki:
 
#*[[Template:CalendarSingle]]
 
#*[[Template:Calendar link]]
 
#*[[Template:Calendar anchor]]
 
#*[[Template:Calendar/MonthStartMon]]
 
#*[[Template:Calendar/MonthStartTue]]
 
#*[[Template:Calendar/MonthStartWed]]
 
#*[[Template:Calendar/MonthStartThu]]
 
#*[[Template:Calendar/MonthStartFri]]
 
#*[[Template:Calendar/MonthStartSat]]
 
#*[[Template:Calendar/MonthStartSun]]
 
#*[[Event template]]
 
#Download the extensions "parserfunctions" and "inputbox" from mediawiki website.
 
#Now, create the base page where the current month calendar will be created (like "Current events"), and insert below code in it:
 
<pre>
 
 
{|
 
{|
 
|<inputbox>
 
|<inputbox>
Line 24: Line 5:
 
   buttonlabel=create new Event
 
   buttonlabel=create new Event
 
   width=25
 
   width=25
   default=2007/04/05 my event name
+
   default=2007/03/05 my event name
 
   preload=Event template
 
   preload=Event template
 
   break=no
 
   break=no
 
</inputbox>
 
</inputbox>
 
|}
 
|}
 +
 +
{{CalendarSingle|year=2007|month=03|show_year=yes|basepage=Test calendar}}
  
 
{{#dpl:category=Events
 
{{#dpl:category=Events
   |titlematch={{#time: Y/m}}%
+
   |titlematch=2007/03/%
 
   |include=#Summary,#Participants
 
   |include=#Summary,#Participants
 
   |mode=userformat
 
   |mode=userformat
 +
  |resultsheader=There are %PAGES% events planned this month.
 +
  |noresultsheader=No events planned so far for this month.
 
   |listseparators=¶{¦ class="wikitable" ¶!Date / Event name ¶!Categories ¶!Event summary ¶!Participants,¶¦-¶¦<h5>[[%PAGE%]]</h5>¶¦ %CATLIST%,,¶¦}
 
   |listseparators=¶{¦ class="wikitable" ¶!Date / Event name ¶!Categories ¶!Event summary ¶!Participants,¶¦-¶¦<h5>[[%PAGE%]]</h5>¶¦ %CATLIST%,,¶¦}
 
   |secseparators=¶¦
 
   |secseparators=¶¦
Line 40: Line 25:
 
   |order=descending
 
   |order=descending
 
}}
 
}}
</pre>
 
#Finally, create one page per month with the format "base page Month year" (example: "Current events April 2007")
 
# To create a custom event, edit the template [[Event template]], and edit the above DPL.
 
 
==Demo==
 
{|
 
|<inputbox>
 
  type=create
 
  buttonlabel=create new Event
 
  width=25
 
  default=2007/04/05 my event name
 
  preload=Event template
 
  break=no
 
</inputbox>
 
|}
 
  
{{CalendarSingle|year={{#time: Y}}|month={{#time: m}}|show_year=yes|basepage=Test calendar}}
 
 
{{#dpl:category=Events
 
  |titlematch={{#time: Y/m}}%
 
  |include=#Summary,#Participants
 
  |mode=userformat
 
  |listseparators=¶{¦ class="wikitable" ¶!Date / Event name ¶!Categories ¶!Event summary ¶!Participants,¶¦-¶¦<h5>[[%PAGE%]]</h5>¶¦ %CATLIST%,,¶¦}
 
  |secseparators=¶¦
 
  |ordermethod=title
 
  |addcategories=true
 
  |order=descending
 
}}
 
[[Category:Test]]
 
 
<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>
 
<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>

Latest revision as of 18:35, 16 April 2007


[[Special:Call/:Test calendar,year=2007,month=02,basepage=Test calendar,eventList=,purpose={{#var:purpose}},nolink={{#var:nolink}},noadd={{#var:noadd}},show={{#var:show}},namespace={{#var:namespace}},width={{#var:width}}|<<]]

March
{{#replace:{{#replace:{{#replace:²²:Category:{{#var:purpose}}³³|¦|³³, ²²:Category:}}|²|[}}|³|]}}

[[Special:Call/:Test calendar,year=2007,month=04,basepage=Test calendar,eventList=,purpose={{#var:purpose}},nolink={{#var:nolink}},noadd={{#var:noadd}},show={{#var:show}},namespace={{#var:namespace}},width={{#var:width}}|>>]]
Mo Tu We Th Fr Sa Su
       

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

01

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

02

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

03

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

04

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

05{{{#var:show.default|%PAGE%=2007-03-05 test event two|%TITLE%=2007-03-05 test event two|%DATE%=|%USER%=}}

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

06

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

07

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

08

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

09

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

10

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

11

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

12

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

13

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

14

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

15

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

16

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

17

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

18

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

19

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

20

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

21

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

22

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

23

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

24

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

25{{{#var:show.default|%PAGE%=YYYY-MM-25 prepare plan for next month|%TITLE%=YYYY-MM-25 prepare plan for next month|%DATE%=|%USER%=}}

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

26

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

27{{{#var:show.default|%PAGE%=YYYY-MM-27 Test calendar|%TITLE%=YYYY-MM-27 Test calendar|%DATE%=|%USER%=}}

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

28

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

29

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

30{{{#var:show.default|%PAGE%=2007-03-30 My very special event|%TITLE%=2007-03-30 My very special event|%DATE%=|%USER%=}}

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:purpose}}' for parameter 'category'.

31
2007
   


There are 4 events planned this month.

Date / Event name Categories Event summary Participants
2007/03/29 Something is happening
Events, Events2

Something great is happening!

Everyone is invited

2007/03/06 prova
Events

Enter your event summary here ...

Enter the participants here ...

2007/03/05 third test event
Events

No need for anythign here.

Enter the participants here ...

2007/03/05 Test Event
Events

A test of the event of creating a calendar appointment

Fred

Dave

Bill