Difference between revisions of "Template:Examples"

From Wikispooks
Jump to navigation Jump to search
(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|&nbsp;{{PAGENAME}}}} on WikiSpooks==
 
== Example{{#ifexpr:{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]|format=count}}>1|s|&nbsp;{{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>|}}{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
+
{{#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: [[-Has key properties::{{PAGENAME}}]]|format=count}}=0|
 +
 
 +
{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
 
|mainlabel=Document name
 
|mainlabel=Document name
{{#ifexpr:{{#ask: [[-Has key properties::{{PAGENAME}}]]|format=count}}>0|{{|}}?Is about=Ska|
+
|Is about=Subject(s)
{{|}}?Is about=Subject(s)
+
|Has author=Author(s)
{{|}}?Has author=Author(s)
+
|Has publication date=Publication date
{{|}}?Has publication date=Publication date
+
}}
 +
 
 +
|
 +
 
 +
{{#ask: [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
 +
|mainlabel=Document name
 +
|Has publication date=Publication date
 +
}}
 +
 
 
}}
 
}}
 
}}|}}</includeonly>
 
}}|}}</includeonly>

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