Difference between revisions of "Test calendar March 2007"
Ycombarnous (talk | contribs) m |
Ycombarnous (talk | contribs) m |
||
Line 18: | Line 18: | ||
#Download the extensions "parserfunctions" and "inputbox" from mediawiki website. | #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: | #Now, create the base page where the current month calendar will be created (like "Current events"), and insert below code in it: | ||
+ | <pre> | ||
+ | {{:Test calendar {{#time: F Y}}}} | ||
+ | </pre> | ||
+ | #Finally, create one page per month with the format "base page Month year" (example: "Current events April 2007"), insert below code and make sure to replace "2007/04" below by the month and year from the current page name) | ||
<pre> | <pre> | ||
{| | {| | ||
Line 31: | Line 35: | ||
{{#dpl:category=Events | {{#dpl:category=Events | ||
− | |titlematch= | + | |titlematch=2007/04% |
|include=#Summary,#Participants | |include=#Summary,#Participants | ||
|mode=userformat | |mode=userformat | ||
Line 40: | Line 44: | ||
|order=descending | |order=descending | ||
}} | }} | ||
+ | |||
</pre> | </pre> | ||
− | |||
# To create a custom event, edit the template [[Event template]], and edit the above DPL. | # To create a custom event, edit the template [[Event template]], and edit the above DPL. | ||
Revision as of 21:47, 28 March 2007
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:
{{:Test calendar {{#time: F Y}}}}
- Finally, create one page per month with the format "base page Month year" (example: "Current events April 2007"), insert below code and make sure to replace "2007/04" below by the month and year from the current page name)
{| |<inputbox> type=create buttonlabel=create new Event width=25 default=2007/04/05 my event name preload=Event template break=no </inputbox> |} {{#dpl:category=Events |titlematch=2007/04% |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 }}
- To create a custom event, edit the template Event template, and edit the above DPL.
Demo
[[Special:Call/:Test calendar,year=2024,month=10,basepage=Test calendar,eventList=,purpose={{#var:purpose}},nolink={{#var:nolink}},noadd={{#var:noadd}},show={{#var:show}},namespace={{#var:namespace}},width={{#var:width}}|<<]] |
November
|
[[Special:Call/:Test calendar,year=2024,month=12,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 |
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 |
2024 | ||||||
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 |