Difference between revisions of "Template:ON Examples"

From Wikispooks
Jump to navigation Jump to search
(revise section headings)
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(12 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/>
==Supposed Example(s) on WikiSpooks==
+
==Supposed Example(s) on Wikispooks==
 
Plus a table of examples under this heading
 
Plus a table of examples under this heading
  
Line 8: Line 8:
 
</noinclude><includeonly>{{SMWDocSection
 
</noinclude><includeonly>{{SMWDocSection
 
|expression= [[ON_constitutes::{{PAGENAME}}]]
 
|expression= [[ON_constitutes::{{PAGENAME}}]]
|captionSingular=An official example
+
|caption_singular=An official example
|captionPlural=Official examples
+
|caption_plural=Official examples
 
|mainlabel=Name
 
|mainlabel=Name
|properties={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType/Has publication date/Has author/Description}}
+
|properties={{#if: {{#show: [[-Has keyProperties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|type/Has publication date/Has author/Description}}
|headers={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Type/Publication date/Author(s)/Description}}
+
|headers={{#if: {{#show: [[-Has keyProperties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Type/Publication date/Author(s)/Description}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 17:23, 14 October 2018

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

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

Supposed Example(s) on Wikispooks

Plus a table of examples under this heading