Difference between revisions of "Template:ON Examples"

From Wikispooks
Jump to navigation Jump to search
(try to exclude own page)
 
(update query)
Line 2: Line 2:
  
 
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==
+
==Supposed 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= [[ON_constitutes::{{PAGENAME}}]][[Has fullpagename::!{{FULLPAGENAME}}]]
+
|expression= [[ON_constitutes::{{PAGENAME}}]]
|captionSingular=An example on WikiSpooks
+
|captionSingular=A supposed example
|captionPlural=Examples on WikiSpooks
+
|captionPlural=Supposed examples
|mainlabel = Wikispooks page
+
|mainlabel=Page name
 
|properties={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType}}
 
|properties={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType}}
 
|headers={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Docu}}
 
|headers={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Docu}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 08:19, 2 January 2014

This template can be used on any pages which might have ON_example documents. It has no parameters.

If there are any example documents, it places a heading:

Supposed Example(s) on WikiSpooks

Plus a table of examples under this heading