Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 01:54, 16 October 2023 by imported>Im Wired In (Formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Deprecated

Usage

This template controls the display and declaration of Property pages, a part of Semantic MediaWiki. It should be used on all property pages.

{{Property
|type = data type (default: page)
|notes = notes/description of the property (optional)
|templates = templates and modules that automatically set the property (optional)
}}

Datatype can be any of the normal SMW datatypes, as specified here - the parameter will specify the Has type property automatically. Any additional special properties should be specified in the notes parameter with an explanation. <templatedata> { "params": { "type": { "label": "Data type", "description": "SMW data type of the property - see [1]", "example": "text", "type": "string", "default": "page", "required": true }, "notes": { "label": "Notes", "description": "Notes/description of property use and any special properties", "example": "Used to specify what versions the entity applies to.", "type": "string", "suggested": true }, "templates": { "label": "Templates", "description": "List of templates and modules that set the property automatically", "example": "\n* Template:DropsLine\n* Module:DropsLine", "type": "string", "suggested": true } }, "description": "Formats a property page and sets the data type", "format": "block" } </templatedata>

Template:Sandbox other
The above text is transcluded from Template:MC/Property/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Property/doc. (View all subpages of this page.)
Contents