Difference between revisions of "Template:ON Examples"

From Wikispooks
Jump to navigation Jump to search
(update query)
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(14 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=A supposed example
+
|caption_singular=An official example
|captionPlural=Supposed examples
+
|caption_plural=Official examples
|mainlabel=Page name
+
|mainlabel=Name
|properties={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType}}
+
|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}}|Docu}}
+
|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