Difference between revisions of "Template:Examples"

From Wikispooks
Jump to navigation Jump to search
(Working as intended?)
(expr->expression)
Line 11: Line 11:
 
{{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|<!-- Key properties specified, so use them to display the document table -->
 
{{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|<!-- Key properties specified, so use them to display the document table -->
 
{{ask
 
{{ask
|expr= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
+
|expression= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
 
|mainlabel={{PAGENAME}}
 
|mainlabel={{PAGENAME}}
 
|format=table
 
|format=table

Revision as of 16:54, 1 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