Difference between revisions of "Template:SMWObject"

From Wikispooks
Jump to navigation Jump to search
m (fix)
Line 7: Line 7:
 
|{{t|{{GREEN|KeyPropertyHeaders}}}} = Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])''
 
|{{t|{{GREEN|KeyPropertyHeaders}}}} = Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])''
 
}}
 
}}
</poem></noinclude><includeonly>This object has type [[Has objectClass::SMWObject]].{{Description|{{{description|}}}}}[[Has infobox::{{{infobox|}}}]][[Has keyProperties::{{#if: {{{KeyProperties|}}}|{{{KeyProperties}}}|Has objectType/Description}}| ]][[Has keyPropertyHeaders::{{#if: {{{KeyPropertyHeaders|}}}|{{{KeyPropertyHeaders}}}|Type/Description}}| ]]</includeonly>
+
</poem></noinclude><includeonly>This object has type [[Has objectClass::SMWObject]].{{Description|{{{description|}}}}}[[Has infobox::{{{infobox|}}}| ]][[Has keyProperties::{{#if: {{{KeyProperties|}}}|{{{KeyProperties}}}|Has objectType/Description}}| ]][[Has keyPropertyHeaders::{{#if: {{{KeyPropertyHeaders|}}}|{{{KeyPropertyHeaders}}}|Type/Description}}| ]]</includeonly>

Revision as of 09:29, 27 June 2014

This template is for defining semantic objects. It takes the following parameters:

{{SMWObject
|description = <500 word summary (Property:Description)
|infobox = The name of the infobox template used by this object (if any) (Property:Has infobox)
|KeyProperties = Slash separated list of important properties of this page (Property:Has keyProperties)
|KeyPropertyHeaders = Slash separated list of property descriptions (same length as the above) (Property:Has keyPropertyHeaders)
}}