Difference between revisions of "Template:ExampleObjects"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>'''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:<br/...")
 
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(5 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/>
==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}}]]
|captionSingular=An example
+
|caption_singular=An example
|captionPlural=Examples
+
|caption_plural=Examples
|mainlabel = Page 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}}
|headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Type/Date/Author(s)/Subject(s)/Description}}}}}}</includeonly>
+
|headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Type/Date/Author(s)/Subject(s)/Description}}
 +
|sort={{#show: {{PAGENAME}} | ?Has keySort}}
 +
|order={{#show: {{PAGENAME}} | ?Has keyOrder}}
 +
}}</includeonly>

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