Difference between revisions of "Template:Victims"

From Wikispooks
Jump to navigation Jump to search
(Revert)
m (Text replacement - "captionSingular" to "caption_singular")
Line 6: Line 6:
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
|expression= [[Victim of::{{PAGENAME}}]]
 
|expression= [[Victim of::{{PAGENAME}}]]
|captionSingular= A victim of {{PAGENAME}} on Wikispooks
+
|caption_singular= A victim of {{PAGENAME}} on Wikispooks
 
|captionPlural= Victims of {{PAGENAME}} on Wikispooks
 
|captionPlural= Victims of {{PAGENAME}} on Wikispooks
 
|mainlabel = Title
 
|mainlabel = Title
 
|properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|Description}}
 
|properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|Description}}
 
|headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Description}}}}</includeonly>
 
|headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Description}}}}</includeonly>

Revision as of 13:23, 15 January 2016

This template places a list of people who are victims of {{PAGENAME}}. It has no parameters.

If the page name is referenced by any property:victim of, it makes a section:

Victim(s) of {{PAGENAME}} on Wikispooks

Plus a table of the affected person(s) underneath