Difference between revisions of "Template:Examples"

From Wikispooks
Jump to navigation Jump to search
(Fix)
Line 11: Line 11:
 
{{ask
 
{{ask
 
|expr= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
 
|expr= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
|mainlabel=Example
+
|mainlabel={{PAGENAME}}
 
|format=table
 
|format=table
 
|properties={{#show: [[-Has key properties::{{PAGENAME}}]]}}
 
|properties={{#show: [[-Has key properties::{{PAGENAME}}]]}}
Line 18: Line 18:
 
|<!-- 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}}}}]]
|mainlabel=Document name
+
|mainlabel=Title
 
|?Is about=Subject(s)
 
|?Is about=Subject(s)
 
|?Has author=Author(s)
 
|?Has author=Author(s)

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