Difference between revisions of "Template:SMWObject"
Jump to navigation
Jump to search
m (fix) |
m (Text replacement - "KeyPropertyHeaders" to "key_property_headers") |
||
Line 5: | Line 5: | ||
|{{t|{{BLUE|infobox}}}} = The name of the infobox template used by this object (if any) ''([[Property:Has infobox]])'' | |{{t|{{BLUE|infobox}}}} = The name of the infobox template used by this object (if any) ''([[Property:Has infobox]])'' | ||
|{{t|{{GREEN|KeyProperties}}}} = Slash separated list of important properties of this page ''([[Property:Has keyProperties]])'' | |{{t|{{GREEN|KeyProperties}}}} = Slash separated list of important properties of this page ''([[Property:Has keyProperties]])'' | ||
− | |{{t|{{GREEN| | + | |{{t|{{GREEN|key_property_headers}}}} = 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: {{{ | + | </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: {{{key_property_headers|}}}|{{{key_property_headers}}}|Type/Description}}| ]]</includeonly> |
Revision as of 20:18, 29 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)
|key_property_headers = Slash separated list of property descriptions (same length as the above) (Property:Has keyPropertyHeaders)
}}