Difference between revisions of "Template:ON Examples"

From Wikispooks
Jump to navigation Jump to search
m (Text replace - "Has key property headers" to "Has keyPropertyHeaders")
(Another go at whitespace)
Line 6: Line 6:
  
 
[[Category:Semantic Templates]]
 
[[Category:Semantic Templates]]
</noinclude><includeonly>{{SMWDocSection
+
</noinclude><includeonly>{{#if: {{#show: [[ON_constitutes::{{PAGENAME}}]]}}|
 +
{{SMWDocSection
 
|expression= [[ON_constitutes::{{PAGENAME}}]]
 
|expression= [[ON_constitutes::{{PAGENAME}}]]
 
|captionSingular=An official example
 
|captionSingular=An official example
Line 13: Line 14:
 
|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}}|DocType/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>

Revision as of 13:23, 1 May 2014

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