Difference between revisions of "Template:SMWObjectHeader"

From Wikispooks
Jump to navigation Jump to search
(Refactoring)
 
(Remove the Wikispooks:Site Status - replace with Template:Site Banner)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>[[category:Semantic Templates]]'''This template is called by all the semantic object templates, and should be called before the infobox (since it might display a header).''' It has one parameter, the object name. <hr/>
 
<noinclude>[[category:Semantic Templates]]'''This template is called by all the semantic object templates, and should be called before the infobox (since it might display a header).''' It has one parameter, the object name. <hr/>
 +
The following category is set:
 +
* <nowiki>[[Category:</nowiki>''Plural of the objectname'']]
 
The following properties are set:
 
The following properties are set:
 
* [[Property:Has objectClass]]
 
* [[Property:Has objectClass]]
 
* [[Property:Has objectClass2]]
 
* [[Property:Has objectClass2]]
</noinclude><includeonly>{{WikiSpooks:Site Status}}[[Has objectClass::{{{1|}}}]][[Has objectClass2::{{{1|}}}]]</includeonly>
+
''It also includes [[Template:Site Banner]]'', enabling this template to appear atop all pages with objects.''</noinclude><includeonly>[[category:{{plural|{{{1|}}}}}]]{{Site Banner}}[[Has objectClass::{{{1|}}}| ]][[Has objectClass2::{{{1|}}}| ]]</includeonly>

Latest revision as of 19:24, 4 May 2015

This template is called by all the semantic object templates, and should be called before the infobox (since it might display a header). It has one parameter, the object name.


The following category is set:

  • [[Category:Plural of the objectname]]

The following properties are set:

It also includes Template:Site Banner, enabling this template to appear atop all pages with objects.