Difference between revisions of "Template:DPL Calendar/arguments"

From FollowTheScore
Jump to: navigation, search
(New page: 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 ...)
 
(Redirecting to Calendar)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Now we are going to include ''Current events'' which will give us the actual calendar right here. ''Current events'' understands the following parameters:
+
#REDIRECT [[Calendar]]
* 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. You can even specify a group of purposes by using the broken pipe (¦) character as a separator.
 
* namespace - empty or a namespace string. Only event defined in articles in that namespace will be shown; new events will be created in an article which belongs to that namespace
 
* show - empty or the name of a chpater in the event articles; the contents of that chapter will be included below the title of the article. The chapter can also contain an image.
 
* 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
 
* nolink = empty or '1'; when set to '1' the calendar will not contain a link to the event page. Instead the day number will link to the event list. Using this option with "eventList=no" does not make sense. If nolinks is set to '1', noadd is implicitly set to '1'.
 

Latest revision as of 11:29, 10 December 2007

Redirect to: