Difference between revisions of "Template:Examples"

From Wikispooks
Jump to navigation Jump to search
(trim heading names)
m (Text replace - "Has key properties" to "Has keyProperties")
Line 9: Line 9:
 
|captionPlural=Examples
 
|captionPlural=Examples
 
|mainlabel = Page name
 
|mainlabel = Page name
|properties={{#if: {{#show: {{PAGENAME}} | ?Has key properties}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType/Has publication date/Has author/Is about/Description}}
+
|properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|DocType/Has publication date/Has author/Is about/Description}}
|headers={{#if: {{#show: {{PAGENAME}} | ?Has key properties}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Type/Date/Author(s)/Subject(s)/Description}}
+
|headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Type/Date/Author(s)/Subject(s)/Description}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 13:33, 9 January 2014

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