Difference between revisions of "Template:ExampleObjects"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "captionSingular" to "caption_singular")
m (Text replacement - "captionPlural" to "caption_plural")
Line 6: Line 6:
 
|expression= [[Has objectClass::{{PAGENAME}}]]
 
|expression= [[Has objectClass::{{PAGENAME}}]]
 
|caption_singular=An example
 
|caption_singular=An example
|captionPlural=Examples
+
|caption_plural=Examples
 
|mainlabel = Page name
 
|mainlabel = Page 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}}

Revision as of 13:27, 15 January 2016

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