Difference between revisions of "Template:Examples"

From Wikispooks
Jump to navigation Jump to search
(fix)
(fix?)
Line 6: Line 6:
 
[[Category:Semantic Templates]]
 
[[Category:Semantic Templates]]
 
</noinclude><includeonly>{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]]|format=count}}>0|
 
</noinclude><includeonly>{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]]|format=count}}>0|
=={{PAGENAME}} example{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]]|format=count}}>1|s|}} on WikiSpooks==
+
== {{PAGENAME}} example{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]]|format=count}}>1|s|}} on WikiSpooks==
 
{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]]|format=count}}>1|<small>''Use the Up/Dn symbols to sort''</small>|}}{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]]
 
{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]]|format=count}}>1|<small>''Use the Up/Dn symbols to sort''</small>|}}{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]]
 
|mainlabel=Document name
 
|mainlabel=Document name

Revision as of 18:42, 24 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:

{{PAGENAME}} example(s) on WikiSpooks

Plus a table of examples under this heading