Difference between revisions of "Template:Examples"

From Wikispooks
Jump to navigation Jump to search
(test refinement)
(tidy)
Line 1: Line 1:
<noinclude>'''This template can be used on ''any'' pages which might have example documents.''' It has no parameters.
+
<noinclude>'''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:<br/>
 
If there are any example documents, it places a heading:<br/>
Line 5: Line 5:
 
Plus a table of examples under this heading[[Category:Semantic Templates]]
 
Plus a table of examples under this heading[[Category:Semantic Templates]]
 
</noinclude><!-- The below test is to prevent re-displaying of data which will be displayed by {{JobHolders}}...
 
</noinclude><!-- The below test is to prevent re-displaying of data which will be displayed by {{JobHolders}}...
--><includeonly>{{#ifexpr: {{#ask: [[Has jobTitle::{{PAGENAME}]]|format=count}}>0||{{SMWDocSection
+
--><includeonly>{{#ifexpr: {{#ask: [[Has jobTitle::{{PAGENAME}]]|format=count}}=0|{{SMWDocSection
 
|expression= [[Constitutes::{{PAGENAME}}]]
 
|expression= [[Constitutes::{{PAGENAME}}]]
 
|captionSingular=An example
 
|captionSingular=An example

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