Difference between revisions of "Template:-ON causeDocuments"

From Wikispooks
Jump to navigation Jump to search
(test)
 
(reword and trip key data)
Line 6: Line 6:
 
</noinclude><includeonly>{{SMWDocSection
 
</noinclude><includeonly>{{SMWDocSection
 
|expression= [[-ON has cause::{{PAGENAME}}]]
 
|expression= [[-ON has cause::{{PAGENAME}}]]
|captionSingular=An example
+
|captionSingular=The Official Culprit
|captionPlural=Examples
+
|captionPlural=The Official Culprits
|mainlabel = Page name
+
|mainlabel = Name
|properties={{#if: {{#show: {{PAGENAME}} | ?Has key properties}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType/Has publication date/Has author/Is about/Description}}
+
|properties={{#if: {{#show: {{PAGENAME}} | ?Has key properties}}|{{#show: {{PAGENAME}} | ?Has key properties}}|Display fate/Description}}
|headers={{#if: {{#show: {{PAGENAME}} | ?Has key properties}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Type/Date/Author(s)/Subject(s)/Description}}
+
|headers={{#if: {{#show: {{PAGENAME}} | ?Has key properties}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Fate/Description}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 03:09, 4 January 2014

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:

Example(s) on WikiSpooks

Plus a table of examples under this heading