Difference between revisions of "Template:SMWObjectHeader"

From Wikispooks
Jump to navigation Jump to search
m (Protected "Template:SMWObjectHeader": High traffic page: May cause excessive server load ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Put objects in categories)
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 [[WikiSpooks:Site Status]]'', so that this shows as a banner on top of all pages with objects.''</noinclude><includeonly>[[category:{{plural|{{{1|}}}}}]]{{WikiSpooks:Site Status}}[[Has objectClass::{{{1|}}}| ]][[Has objectClass2::{{{1|}}}| ]]</includeonly>

Revision as of 17:50, 15 February 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 WikiSpooks:Site Status, so that this shows as a banner on top of all pages with objects.