Difference between revisions of "Template:Examples"

From Wikispooks
Jump to navigation Jump to search
({{!}} escpaing)
Line 11: Line 11:
 
{{
 
{{
 
{{#arraymaptemplate:value|template|delimiter|new_delimiter}}
 
{{#arraymaptemplate:value|template|delimiter|new_delimiter}}
{{#ifexpr:{{Has key properties::{{PAGENAME}}}}|fish|
+
{{#ifexpr:{{#ask: [[Has key properties::{{PAGENAME}}]]|format=count}}>0||
 
{{!}}?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
 
}}|}}</includeonly>
 
}}|}}</includeonly>

Revision as of 15:37, 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