Difference between revisions of "Template:DatedObjects"

From Wikispooks
Jump to navigation Jump to search
(Births and Deaths)
(Modify the date, which wasn't displaying)
 
Line 17: Line 17:
 
|caption_plural=Events
 
|caption_plural=Events
 
|mainlabel = Event
 
|mainlabel = Event
|properties=Display date/Description
+
|properties=Start/End/Description
|headers=Date/Description
+
|headers=Start/End/Description
 
}}{{SMWDocSection
 
}}{{SMWDocSection
 
|expression=[[Has objectClass::Group]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]]
 
|expression=[[Has objectClass::Group]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]]

Latest revision as of 16:11, 12 March 2022

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

Death(s)

Birth(s)

The pages are listed underneath, sorted by date.