Difference between revisions of "Template:SMWObject"

From Wikispooks
Jump to navigation Jump to search
(infobox)
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>[[Constitutes::SMWObject]]{{Description|{{{Description|}}}}}[[Has keyProperties::{{#if: {{{KeyProperties|}}}|{{{KeyProperties}}}|Has type/Description}}| ]][[Has keyPropertyHeaders::{{#if: {{{KeyPropertyHeaders|}}}|{{{KeyPropertyHeaders}}}|Type/Description}}| ]][[Has infobox::{{{infobox|}}}| ]]</includeonly>
+
</poem></noinclude><includeonly>[[Constitutes::SMWObject| ]]{{Description|{{{Description|}}}}}[[Has keyProperties::{{#if: {{{KeyProperties|}}}|{{{KeyProperties}}}|Has type/Description}}| ]][[Has keyPropertyHeaders::{{#if: {{{KeyPropertyHeaders|}}}|{{{KeyPropertyHeaders}}}|Type/Description}}| ]][[Has infobox::{{{infobox|}}}| ]]</includeonly>

Revision as of 11:02, 7 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)
}}