Template:Int/doc

From wikiNonStop
Revision as of 19:53, 7 September 2023 by en>Rebulka (editing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template renders a MediaWiki message in the page language. Not to be confused with the {{int:}} magic word , which uses the user interface language instead.

Examples

  • {{int|vector-view-history}}
    → View history
  • {{int|vector-view-history|lang=de}}
    → Versionsgeschichte
  • {{int|notification-link-text-expand-notice-count|1}}
    → View 1 notice
  • {{int|notification-link-text-expand-notice-count|2}}
    → View 2 notices
  • {{int|notification-link-text-expand-notice-count|5}}
    → View 5 notices

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Localized Interface Message

This template renders a MediaWiki message in the page language. Not to be confused with the {{int:}} magic word, which uses the user interface language instead.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
i18n string1

The i18n string, found using qqx.

Example
rcfilters-filter-patrolled-label
Linerequired
Parameters2

Value of an included parameter (counter, message...)

Example
Notification-link-text-expand-notice-count can display a count
Stringoptional
Languagelang

Language to use in the message. Should be used only in exceptional cases, as the template automatically guesses the language to use when used on translated pages.

Example
de
Lineoptional