PC Gaming Shelter
An archive dedicated to preserving PC Gaming history and more

Template:Property description/doc

From PC Gaming Shelter
Revision as of 09:54, 26 March 2026 by WikiVisor (talk | contribs) (Created page with " <templatedata> { "params": { "1": { "label": "Property name", "description": "The name of the semantic property", "example": "Has tag", "type": "string", "required": true } }, "description": "A helper template that retrieves the property description and delivers it to the context." } </templatedata> == Example == <pre> {{property description|Has tag}} </pre> ;Result {{property description|Has tag}} Please note that we expect the property to have a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A helper template that retrieves the property description and delivers it to the context.

Template parameters

ParameterDescriptionTypeStatus
Property name1

The name of the semantic property

Example
Has tag
Stringrequired

Example

{{property description|Has tag}}
Result

An arbitrary label for content differentiation. (en)

Please note that we expect the property to have a special annotation:

[[Has property description::Description that we want to retrieve.@en]]

Has property description is a built-in property of SemanticMediaWiki, that supports multilinguality (mind the language code after @).

It is good practice to add descriptions to Property pages, as this helps both editors and readers understand their meanings consistently.