Difference between revisions of "Template:DatedObjects"

From Wikispooks
Jump to navigation Jump to search
(remove image from events)
(Remove not so important "type" property for events)
Line 16: Line 16:
 
|caption_plural=Events
 
|caption_plural=Events
 
|mainlabel = Event
 
|mainlabel = Event
|properties=Display date/Has eventType/Description
+
|properties=Display date/Description
|headers=Date/Type/Description
+
|headers=Date/Description
 
}}{{SMWDocSection
 
}}{{SMWDocSection
 
|expression=[[Has objectClass::Group]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]]
 
|expression=[[Has objectClass::Group]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]]

Revision as of 16:13, 8 November 2016

Bug1.jpg This template has problems: This sometimes creates blank sections. See, for example, 2009 Use the discussion page to see the debate about this.

This template creates a section listing the objects relevant to the year {{PAGENAME}}.

The template should only be used on pages which are numerical, e.g. "1967". It does not yet support pages such as 1967/May, but might do one day.
It takes no parameters and makes some or all of the following sections:

New Group(s)

Group(s) that were wound up

Event(s)

New Website(s)

Website(s) that closed

The pages are listed underneath, sorted by date.