Difference between revisions of "Template:SMWObject"
Jump to navigation
Jump to search
m (Robin moved page Template:Object to Template:SMWObject without leaving a redirect) |
(has infobox) |
||
Line 1: | Line 1: | ||
− | <noinclude>'''This template is for defining semantic objects.''' It takes the following parameters: | + | <noinclude>'''This template is for defining [[WikiSpooks:Semantic Objects|semantic objects]].''' It takes the following parameters: |
<poem> | <poem> | ||
{{SMWObject | {{SMWObject | ||
− | |{{t|description}} | + | |{{t|description}} = <500 word summary ''([[Property:Description]])'' |
− | |{{t|{{GREEN|KeyProperties}}}}= Slash separated list of important properties of this page ''([[Property:Has keyProperties]])'' | + | |{{t|{{BLUE|infobox}}}} = The name of the infobox template used by this object (if any) ''([[Property:Has infobox]])'' |
− | |{{t|{{GREEN|KeyPropertyHeaders}}}}= Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])'' | + | |{{t|{{GREEN|KeyProperties}}}} = Slash separated list of important properties of this page ''([[Property:Has keyProperties]])'' |
+ | |{{t|{{GREEN|KeyPropertyHeaders}}}} = Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])'' | ||
}} | }} | ||
− | </poem></noinclude><includeonly>{{Description|{{{Description|}}}}}[[Has keyProperties::{{#if: {{{KeyProperties|}}}|{{{KeyProperties}}}|Has type/Description}}| ]] | + | </poem></noinclude><includeonly>[[Constitutes::SMWObject]]{{Description|{{{Description|}}}}}[[Has keyProperties::{{#if: {{{KeyProperties|}}}|{{{KeyProperties}}}|Has type/Description}}| ]][[Has keyPropertyHeaders::{{#if: {{{KeyPropertyHeaders|}}}|{{{KeyPropertyHeaders}}}|Type/Description}}| ]]</includeonly> |
Revision as of 10:40, 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)
}}