Jump to content

Template:ExampleObjects: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
m Text replacement - "WikiSpooks" to "Wikispooks"
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 4: Line 4:
==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= {{PAGENAME}}
|caption_singular=An example
|caption_singular=An example
|caption_plural=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: ||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}}
|headers={{#if: ||Type/Date/Author(s)/Subject(s)/Description}}
|sort={{#show: {{PAGENAME}} | ?Has keySort}}
|sort=
|order={{#show: {{PAGENAME}} | ?Has keyOrder}}
|order=
}}</includeonly>
}}</includeonly>

Latest revision as of 22:34, 24 September 2026

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