Difference between revisions of "Test calendar March 2007"
Ycombarnous (talk | contribs) m (→Explanation) |
Ycombarnous (talk | contribs) m (→Explanation) |
||
Line 15: | Line 15: | ||
#*[[Template:Calendar/MonthStartSun]] | #*[[Template:Calendar/MonthStartSun]] | ||
#*[[Event template]] | #*[[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: | #Now, create the base page where the current month calendar will be created (like "Current events"), and insert below code in it: | ||
<pre> | <pre> | ||
Line 40: | Line 41: | ||
</pre> | </pre> | ||
#Finally, create one page per month with the format "base page Month yeat" (example: "Current events April 2007") | #Finally, create one page per month with the format "base page Month yeat" (example: "Current events April 2007") | ||
+ | # To create a custom event, edit the template [[Event template]], and edit the above DPL. | ||
==Demo== | ==Demo== |
Revision as of 21:26, 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:
{| |<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={{#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 }}
- Finally, create one page per month with the format "base page Month yeat" (example: "Current events April 2007")
- 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 | ||||||
Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.