Difference between revisions of "Template:ON Examples"

From Wikispooks
Jump to navigation Jump to search
m
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(6 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
  
 
[[Category:Semantic Templates]]
 
[[Category:Semantic Templates]]
</noinclude><includeonly>{{#if: {{#show: [[ON_constitutes::{{PAGENAME}}]]}}|
+
</noinclude><includeonly>{{SMWDocSection
 
 
{{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 keyProperties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|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 keyProperties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|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