Difference between revisions of "Template:WitnessedEvents"

From Wikispooks
Jump to navigation Jump to search
(Another section)
 
m (Text replacement - "captionPlural" to "caption_plural")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template places a list of documents authored by <nowiki>{{PAGENAME}}</nowiki> that are hosted on Wikispooks.''' It has no parameters.
+
<noinclude>'''This template creates a section listing the events witnessed by <nowiki>{{PAGENAME}}</nowiki>.''' It has no parameters.
  
If the page name has authored any documents, it makes a section:
+
If the page name has witnessed any events, it makes a section:
 
==''Event(s) Witnessed''==
 
==''Event(s) Witnessed''==
 
Plus a table of event(s) witnessed underneath
 
Plus a table of event(s) witnessed underneath
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
|expression=-[[Has witness::{{PAGENAME}}]]
+
|expression=[[Has witness::{{PAGENAME}}]]
|captionSingular= Event Witnessed
+
|caption_singular= Event Witnessed
|captionPlural=Events Witnessed
+
|caption_plural=Events Witnessed
 
|mainlabel = Event
 
|mainlabel = Event
 
|properties=Display date/Has location/Description
 
|properties=Display date/Has location/Description
 
|headers=Date/Location(s)/Description
 
|headers=Date/Location(s)/Description
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:27, 15 January 2016

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

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

Event(s) Witnessed

Plus a table of event(s) witnessed underneath