Difference between revisions of "Template:-ON causeDocuments"

From Wikispooks
Jump to navigation Jump to search
m (Text replace - "Has key property headers" to "Has keyPropertyHeaders")
m (Text replacement - "captionPlural" to "caption_plural")
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
If there are any example documents, it places a heading:<br/>
 
If there are any example documents, it places a heading:<br/>
==Example(s) on WikiSpooks==
+
==The Official Culprit(s)==
Plus a table of examples under this heading[[Category:Semantic Templates]]
+
Plus a table of the official perpetrators under this heading[[Category:Semantic Templates]]
 
</noinclude><includeonly>{{SMWDocSection
 
</noinclude><includeonly>{{SMWDocSection
|expression= [[-ON has cause::{{PAGENAME}}]]
+
|expression= [[-ON has perpetrator::{{PAGENAME}}]]
|captionSingular=The Official Culprit
+
|caption_singular=The Official Culprit
|captionPlural=The Official Culprits
+
|caption_plural=The Official Culprits
 
|mainlabel = Name
 
|mainlabel = Name
|properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|Display fate/Description}}
+
|properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|Description}}
|headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Fate/Description}}
+
|headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Description}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:27, 15 January 2016

This template can be used on any pages which might have example documents. It has no parameters.

If there are any example documents, it places a heading:

The Official Culprit(s)

Plus a table of the official perpetrators under this heading