Template:Format

From Wikidata
Jump to navigation Jump to search
Documentation icon Template documentation[view · edit · history · purge ]

Template used to format uniformally (resp.) property and item labels. Useful into other templates to display with the same conventions. Used for example in {{C}}

Usage

[edit]

⟨ Universe ⟩

⟨ Universe (Q1) ⟩

  • {{Format|property|instance of}}

instance of

instance of (P31)

⟨ Universe ⟩

no value Help

See also

[edit]
  • {{C}}

Used to format properties, items or statement values in a consistent way, used for example in Template:Claim

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
type of format to use1 type

"value" for a claim value, "item" for an item, "property" for a property

Example
{{Format|item|Q5}}
Stringrequired
22 value

the value to format

Example
Q5, no value, P31, instance of, ...
Stringsuggested
colorcolor

no description

Unknownoptional

first parameter must be either "item", "property" or "value"