Difference between revisions of "Template:DatedObjects"

From Wikispooks
Jump to navigation Jump to search
(Add quotation objects)
(Births and Deaths)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{TemplateProblem|This sometimes creates blank sections. See, for example, [[2009]]}}'''This template creates a section listing the objects relevant to the year <nowiki>{{PAGENAME}}</nowiki>.<br/>
+
<noinclude>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.<br/>
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.<br/>
 
 
It takes no parameters and makes some or all of the following sections:
 
It takes no parameters and makes some or all of the following sections:
 
__NOTOC__
 
__NOTOC__
Line 8: Line 7:
 
==New Website(s)==
 
==New Website(s)==
 
==Website(s) that closed==
 
==Website(s) that closed==
 +
==Death(s)==
 +
==Birth(s)==
 
''The pages are listed underneath, sorted by date.''
 
''The pages are listed underneath, sorted by date.''
  
Line 58: Line 59:
 
|properties=Has publicationDate/Has author/Has text
 
|properties=Has publicationDate/Has author/Has text
 
|headers=Date/Author(s)/Text
 
|headers=Date/Author(s)/Text
 +
}}{{SMWDocSection
 +
|expression=[[Died on::~*{{PAGENAME}}*]]
 +
|sort=Died on
 +
|caption_singular=A Death
 +
|caption_plural=Deaths
 +
|mainlabel = Title
 +
|properties=Born on/Died on/Has deathPlace/Has deathCause/Constitutes/Description
 +
|headers=Born/Died/Place of death/Cause of death/Summary/Description
 +
}}{{SMWDocSection
 +
|expression=[[Born on::~*{{PAGENAME}}*]]
 +
|sort=Born on
 +
|caption_singular=A Birth
 +
|caption_plural=Births
 +
|mainlabel = Title
 +
|properties=Born on/Has birthPlace/Died on/Constitutes/Description
 +
|headers=Born/Place of birth/Died/Summary/Description
 
}}}}</includeonly>
 
}}}}</includeonly>

Revision as of 11:52, 16 April 2019

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.