Difference between revisions of "Template:PerpetratedEvents"

From Wikispooks
Jump to navigation Jump to search
(New section for groups/people especially)
 
(Add location to the list of events)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>'''This template creates a section listing the events perpetrated by <nowiki>{{PAGENAME}}</nowiki>.''' It has no parameters.
 
<noinclude>'''This template creates a section listing the events perpetrated by <nowiki>{{PAGENAME}}</nowiki>.''' It has no parameters.
  
If the page name has witnessed any events, it makes a section:
+
If the page name perptrated any events, it makes a section:
 
==''Event(s) carried out''==
 
==''Event(s) carried out''==
 
Plus a table of event(s) located here underneath
 
Plus a table of event(s) located here underneath
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
|expression=[[Has perpetrator::{{PAGENAME}}]]
 
|expression=[[Has perpetrator::{{PAGENAME}}]]
|captionSingular=An event carried out
+
|caption_singular=An event carried out
|captionPlural=Events carried out
+
|caption_plural=Events carried out
 
|mainlabel = Event
 
|mainlabel = Event
|properties=Display date/Description
+
|properties=Display date/Has location/Description
|headers=Date/Description
+
|headers=Date/Location/Description
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 07:46, 20 April 2017

This template creates a section listing the events perpetrated by {{PAGENAME}}. It has no parameters.

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

Event(s) carried out

Plus a table of event(s) located here underneath