Difference between revisions of "Template:DatedObjects"

From Wikispooks
Jump to navigation Jump to search
m (t)
(Fix)
Line 11: Line 11:
  
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
|expression=[[Has objectClass::Event]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]] OR [[Has objectClass::Event]][[Start::<<{{PAGENAME}}]][[End::>{{#expr: {{PAGENAME}}+1}}]]
+
|expression=[[Has objectClass::Event]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]] OR [[Has objectClass::Event]][[Start::<<{{PAGENAME}}]][[End::>{{#expr: {{PAGENAME}}}}]]
 
|sort=Start
 
|sort=Start
 
|captionSingular=Event
 
|captionSingular=Event

Revision as of 17:14, 4 May 2015

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 events which were ongoing during the year {{PAGENAME}}.

The template can only be used on pages which are numerical, e.g. "1967". It does not yet support pages such as 1967/May.
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.