Difference between revisions of "Template:SMWObject"
(Object counts) |
(status) |
||
Line 6: | Line 6: | ||
{{SMWObject | {{SMWObject | ||
|{{t|description}} = <500 word summary ''([[Property:Description]])'' | |{{t|description}} = <500 word summary ''([[Property:Description]])'' | ||
+ | |{{t|status}} = The status of this object ''([[Property:Has status]])'' | ||
|{{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|{{BLUE|logo}}}} | + | |{{t|{{BLUE|logo}}}} = Option icon for this object ''([[Property:Has logo]])'' |
|{{t|{{VIOLET|key_properties}}}} = Slash separated list of important properties of this page ''([[Property:Has keyProperties]])'' | |{{t|{{VIOLET|key_properties}}}} = Slash separated list of important properties of this page ''([[Property:Has keyProperties]])'' | ||
|{{t|{{VIOLET|key_property_headers}}}} = Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])'' | |{{t|{{VIOLET|key_property_headers}}}} = Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])'' | ||
}} | }} | ||
− | </poem></noinclude><includeonly>{{HelpSection|image={{{logo|}}}}}This object has type [[Has objectClass::SMWObject]]. There are currently {{#ask: [[Has objectClass::{{FULLPAGENAME}}]] | format=count}} such objects on [[Wikispooks]]. {{Description|{{{description|}}}}}[[Has infobox::{{{infobox|}}}| ]][[Has keyProperties::{{#if: {{{key_properties|}}}|{{{key_properties}}}|Has objectType/Description}}| ]][[Has keyPropertyHeaders::{{#if: {{{key_property_headers|}}}|{{{key_property_headers}}}|Type/Description}}| ]]</includeonly> | + | </poem></noinclude><includeonly>{{HelpSection|image={{{logo|}}}}}This object has type [[Has objectClass::SMWObject]], and its status is [[Has status::{{{status}}}]]. There are currently {{#ask: [[Has objectClass::{{FULLPAGENAME}}]] | format=count}} such objects on [[Wikispooks]]. {{Description|{{{description|}}}}}[[Has infobox::{{{infobox|}}}| ]][[Has keyProperties::{{#if: {{{key_properties|}}}|{{{key_properties}}}|Has objectType/Description}}| ]][[Has keyPropertyHeaders::{{#if: {{{key_property_headers|}}}|{{{key_property_headers}}}|Type/Description}}| ]]</includeonly> |
Revision as of 10:34, 29 August 2014
This template is for defining semantic objects. All pages that use it are listed at the page SMWObject.
Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameterswere formerly available, but have been upgraded. Some may still work, but do not use these.
It takes the following parameters:
{{SMWObject
|description = <500 word summary (Property:Description)
|status = The status of this object (Property:Has status)
|infobox = The name of the infobox template used by this object (if any) (Property:Has infobox)
|logo = Option icon for this object (Property:Has logo)
|key_properties = 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)
}}