Difference between revisions of "Template:LocatedEvents"

From Wikispooks
Jump to navigation Jump to search
(typo - Should fix it)
m (Text replacement - "captionPlural" to "caption_plural")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
|expression=[[Has location::{{PAGENAME}}]][[Has objectClass2::Event]]
 
|expression=[[Has location::{{PAGENAME}}]][[Has objectClass2::Event]]
|captionSingular=Event
+
|caption_singular=Event
|captionPlural=Events
+
|caption_plural=Events
 
|mainlabel = Event
 
|mainlabel = Event
 
|properties=Display date/Description
 
|properties=Display date/Description
 
|headers=Date/Description
 
|headers=Date/Description
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:27, 15 January 2016

This template creates a section listing the events which have location {{PAGENAME}}. It has no parameters.

If the page name has witnessed any events, it makes a section:

Event(s)

Plus a table of event(s) located here underneath