Difference between revisions of "Template:Examples"

From Wikispooks
Jump to navigation Jump to search
(fix)
Line 4: Line 4:
 
==Example(s) on WikiSpooks==
 
==Example(s) on WikiSpooks==
 
Plus a table of examples under this heading[[Category:Semantic Templates]]
 
Plus a table of examples under this heading[[Category:Semantic Templates]]
</noinclude><includeonly>{{SMWDocSection
+
</noinclude><includeonly>
|expression= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
+
{{#ask: [[-Has key properties::{{PAGENAME}}]]|format=count}}
|captionSingular=An example on WikiSpooks
 
|captionPlural=Examples on WikiSpooks
 
|mainlabel = Wikispooks page
 
|properties={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType/Has publication date/Has author/Is about/Description}}
 
|headers={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Type/Date/Author(s)/Subject(s)/Description}}
 
 
}}</includeonly>
 
}}</includeonly>

Revision as of 06:58, 2 January 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