Difference between revisions of "Template:DatedObjects"

From Wikispooks
Jump to navigation Jump to search
m (t)
(Fix <)
Line 12: Line 12:
  
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
|expression=[[Has objectClass::Group]][[Start::>{{PAGENAME}}]][[Start::<{{#expr: {{PAGENAME}}+1}}]]
+
|expression=[[Has objectClass::Group]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]]
 
|sort=Start
 
|sort=Start
 
|captionSingular=A New Group
 
|captionSingular=A New Group
Line 20: Line 20:
 
|headers=Date/Logo/Type/Description
 
|headers=Date/Logo/Type/Description
 
}}{{SMWDocSection
 
}}{{SMWDocSection
|expression=[[Has objectClass::Group]][[End::>{{PAGENAME}}]][[End::<{{#expr: {{PAGENAME}}+1}}]]
+
|expression=[[Has objectClass::Group]][[End::>{{PAGENAME}}]][[End::<<{{#expr: {{PAGENAME}}+1}}]]
 
|sort=Start
 
|sort=Start
 
|captionSingular=A Group that was Wound Up
 
|captionSingular=A Group that was Wound Up
Line 28: Line 28:
 
|headers=Date/Logo/Type/Description
 
|headers=Date/Logo/Type/Description
 
}}{{SMWDocSection
 
}}{{SMWDocSection
|expression=[[Has objectClass::Event]][[Start::>{{PAGENAME}}]][[Start::<{{#expr: {{PAGENAME}}+1}}]] OR [[Has objectClass::Event]][[End::>{{PAGENAME}}]][[End::<{{#expr: {{PAGENAME}}+1}}]]
+
|expression=[[Has objectClass::Event]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]] OR [[Has objectClass::Event]][[End::>{{PAGENAME}}]][[End::<<{{#expr: {{PAGENAME}}+1}}]]
 
|sort=Start
 
|sort=Start
 
|captionSingular=Event
 
|captionSingular=Event
Line 36: Line 36:
 
|headers=Date/Type/Description
 
|headers=Date/Type/Description
 
}}{{SMWDocSection
 
}}{{SMWDocSection
|expression=[[Has objectClass::Website]][[Start::>{{PAGENAME}}]][[Start::<{{#expr: {{PAGENAME}}+1}}]]
+
|expression=[[Has objectClass::Website]][[Start::>{{PAGENAME}}]][[Start::<<{{#expr: {{PAGENAME}}+1}}]]
 
|sort=Start
 
|sort=Start
 
|captionSingular=New Website
 
|captionSingular=New Website
Line 44: Line 44:
 
|headers=Date/URL/Logo/Description
 
|headers=Date/URL/Logo/Description
 
}}{{SMWDocSection
 
}}{{SMWDocSection
|expression=[[Has objectClass::Website]][[End::>{{PAGENAME}}]][[End::<{{#expr: {{PAGENAME}}+1}}]]
+
|expression=[[Has objectClass::Website]][[End::>{{PAGENAME}}]][[End::<<{{#expr: {{PAGENAME}}+1}}]]
 
|sort=Start
 
|sort=Start
 
|captionSingular=A Website that Closed
 
|captionSingular=A Website that Closed

Revision as of 14:30, 31 January 2015

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 no parameters.

It makes some or all of the followings 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.