Difference between revisions of "Template:Examples"
Jump to navigation
Jump to search
(test) |
(test) |
||
Line 8: | Line 8: | ||
</noinclude><includeonly>{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]|format=count}}>0| | </noinclude><includeonly>{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]|format=count}}>0| | ||
== Example{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]|format=count}}>1|s| {{PAGENAME}}}} on WikiSpooks== | == Example{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]|format=count}}>1|s| {{PAGENAME}}}} on WikiSpooks== | ||
− | {{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]|format=count}}>1|<small>''Use the Up/Dn symbols to sort''</small>|}} | + | {{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]|format=count}}>1|<small>''Use the Up/Dn symbols to sort''</small>|}}<!-- Key properties specified, so use them to display the document table --> |
− | |||
− | <!-- Key properties specified, so use them to display the document table --> | ||
{{ask | {{ask | ||
|expr= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]] | |expr= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]] | ||
Line 16: | Line 14: | ||
|format=table | |format=table | ||
|properties=Start/ON has cause/Has cause/Description | |properties=Start/ON has cause/Has cause/Description | ||
− | |headers= | + | |headers={{#show: [[-Has key property headers::{{PAGENAME}}]]}} |
}} | }} | ||
− | + | |<!-- No key properties known, so use the default set for documents --> | |
− | + | {{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]] | |
− | |||
− | |||
− | |||
− | <!-- No key properties known, so use the default set for documents -->{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]] | ||
|mainlabel=Document name | |mainlabel=Document name | ||
|?Is about=Subject(s) | |?Is about=Subject(s) |
Revision as of 16:29, 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