Difference between revisions of "Template:Examples"

From Wikispooks
Jump to navigation Jump to search
(Still learning the finer SMW points)
Line 16: Line 16:
 
|properties={{#show: [[-Has key properties::{{PAGENAME}}]]}}
 
|properties={{#show: [[-Has key properties::{{PAGENAME}}]]}}
 
|headers={{#show: [[-Has key property headers::{{PAGENAME}}]]}}
 
|headers={{#show: [[-Has key property headers::{{PAGENAME}}]]}}
}}{{#show: [[-Has key properties::{{PAGENAME}}]]}}
+
}}{{#show: {{PAGENAME}} | ?-Has key properties}}
 
|<!-- No key properties known, so use the default set for documents -->
 
|<!-- No key properties known, so use the default set for documents -->
 
{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
 
{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]

Revision as of 17:23, 31 December 2013

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