Difference between revisions of "Template:DatedObjects"
Jump to navigation
Jump to search
(New Groups section) |
(New Websites section) |
||
Line 10: | Line 10: | ||
==''Event(s)''== | ==''Event(s)''== | ||
Plus a table of event(s) underneath, sorted by start date: | Plus a table of event(s) underneath, sorted by start date: | ||
+ | |||
+ | If any [[group]]s were founded during the page name, it makes a section: | ||
+ | ==''New Website(s)''== | ||
+ | Plus a table of new website(s) underneath, sorted by start date. | ||
+ | |||
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection | [[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection | ||
|expression=[[Has objectClass::Group]][[Start::>{{PAGENAME}}]] | |expression=[[Has objectClass::Group]][[Start::>{{PAGENAME}}]] | ||
Line 26: | Line 31: | ||
|properties=Display date/Has eventType/Description | |properties=Display date/Has eventType/Description | ||
|headers=Date/Type/Description | |headers=Date/Type/Description | ||
+ | }}{{SMWDocSection | ||
+ | |expression=[[Has objectClass::Website]][[Start::>{{PAGENAME}}]][[End::<{{#expr: {{PAGENAME}}+1}}]] | ||
+ | |sort=Start | ||
+ | |captionSingular=New Website | ||
+ | |captionPlural=New Websites | ||
+ | |mainlabel = Event | ||
+ | |properties=Display date/Has URL/Has logo/Description | ||
+ | |headers=Date/URL/Logo/Description | ||
}}</includeonly> | }}</includeonly> |
Revision as of 05:39, 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.
If any groups were founded during the page name, it makes a section:
New Group(s)
Plus a table of new group(s) underneath, sorted by start date.
If any events were ongoing during the page name, it makes a section:
Event(s)
Plus a table of event(s) underneath, sorted by start date:
If any groups were founded during the page name, it makes a section:
New Website(s)
Plus a table of new website(s) underneath, sorted by start date.