Difference between revisions of "Template:ExampleObjects"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "captionSingular" to "caption_singular")
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(One intermediate revision 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/>
==Example(s) on WikiSpooks==
+
==Example(s) on Wikispooks==
 
Plus a table of examples under this heading[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
Plus a table of examples under this heading[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
|expression= [[Has objectClass::{{PAGENAME}}]]
 
|expression= [[Has objectClass::{{PAGENAME}}]]
 
|caption_singular=An example
 
|caption_singular=An example
|captionPlural=Examples
+
|caption_plural=Examples
 
|mainlabel = Page&nbsp;name
 
|mainlabel = Page&nbsp;name
 
|properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|Has documentType/Has publicationDate/Has author/Is about/Description}}
 
|properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|Has documentType/Has publicationDate/Has author/Is about/Description}}

Latest revision as of 17:14, 14 October 2018

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