Difference between revisions of "Template:DatedObjects"

From Wikispooks
Jump to navigation Jump to search
(Remove not so important "type" property for events)
(Add quotation objects)
Line 50: Line 50:
 
|properties=Display image2/Display date/Has URL/Description
 
|properties=Display image2/Display date/Has URL/Description
 
|headers=Image/Date/URL/Description
 
|headers=Image/Date/URL/Description
 +
}}{{SMWDocSection
 +
|expression=[[Has objectClass::Quotation]][[Has publicationDate::>{{PAGENAME}}]][[Has publicationDate::<<{{#expr: {{PAGENAME}}+1}}]]
 +
|sort=Start
 +
|caption_singular=A Quotation
 +
|caption_plural=Quotations
 +
|mainlabel = Title
 +
|properties=Has publicationDate/Has author/Has text
 +
|headers=Date/Author(s)/Text
 
}}}}</includeonly>
 
}}}}</includeonly>

Revision as of 04:22, 25 April 2017

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.