Difference between revisions of "Template:Examples"

From Wikispooks
Jump to navigation Jump to search
(test)
(test)
Line 3: Line 3:
 
If there are any example documents, it places a heading:<br/>
 
If there are any example documents, it places a heading:<br/>
 
==Example(s) on WikiSpooks==
 
==Example(s) on WikiSpooks==
Plus a table of examples under this heading
+
Plus a table of examples under this heading[[Category:Semantic Templates]]
 
 
[[Category:Semantic Templates]]
 
 
</noinclude><includeonly>{{SMWDocSection
 
</noinclude><includeonly>{{SMWDocSection
 
|expression= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
 
|expression= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
Line 11: Line 9:
 
|captionPlural=Examples on WikiSpooks
 
|captionPlural=Examples on WikiSpooks
 
|mainlabel = Wikispooks page
 
|mainlabel = Wikispooks page
|properties={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType}}
+
|properties=DocType
|headers={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Docu}}
+
|headers=Type
 +
<!-- |properties={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType}1}
 +
|headers={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Docu}} -->
 
}}</includeonly>
 
}}</includeonly>

Revision as of 04:46, 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