Template:Property

From the Tesseract Wiki, the wiki for all things Marvel Cinematic Universe
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Property/doc. [edit] [history] [purge]

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

Usage

{{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.

Formats a property page and sets the data type

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Data typetype

SMW data type of the property - see [https://www.semantic-mediawiki.org/wiki/Help:List_of_datatypes]

Default
page
Example
text
Stringrequired
Notesnotes

Notes/description of property use and any special properties

Example
Used to specify if the entity is members-only or not.
Stringsuggested
Templatestemplates

List of templates and modules that set the property automatically

Example
  • [[Template:Infobox Character]]
Stringsuggested