|
|
(9 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | ==Calendar Demo==
| |
− | Now we are going to include ''Current events'' which will give us the actual calendar right here. ''Current events'' understands the following parameters:
| |
− | * year - defaults to the current year
| |
− | * month - defaults to the current month
| |
− | * purpose - empty or a string which will be used as a category filter. Only events belonging to that category will be shown.
| |
− | * namespace - empty or a namespace string. Only event defined in articles in that namespace will be shown; new events wilöl be created in an article which belongs to that namespace
| |
− | * eventList = {no|current|all}, defaults to 'current'; produces a tabular report of the selected events
| |
− | * width = empty or a width specification for the table, e.g. '500px' or '100%'; default is to make the calendar as small as possible
| |
− | * noadd = empty or '1'; when set to '1' the calendar will not offer a link to create an event page
| |
| | | |
− | <small>
| |
− | [[Current events zh-tw]]
| |
− | [[Template:Calendar month zh-tw]]
| |
− | [[Template:CalendarSingle zh-tw]]
| |
− | [[Template:Calendar link]]
| |
− | [[Template:Calendar/MonthStartMon]]
| |
− | [[Template:Calendar/MonthStartTue]]
| |
− | [[Template:Calendar/MonthStartWed]]
| |
− | [[Template:Calendar/MonthStartThu]]
| |
− | [[Template:Calendar/MonthStartFri]]
| |
− | [[Template:Calendar/MonthStartSat]]
| |
− | [[Template:Calendar/MonthStartSun]]
| |
− | [[Template:!]]
| |
− | [[Template:(!]]
| |
− | [[Template:!)]]
| |
− | [[Event template]]
| |
− | [[Event intro]]
| |
− | [[Template:Event]]
| |
− | </small>
| |
− |
| |
− | *[[Test calendar]]
| |
− | *[[Current events Zh-tw]]
| |
− | <nowiki>{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}</nowiki>
| |
− | {{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}
| |