Jump to content

Template:Int table: Difference between revisions

From Wikisource
Content deleted Content added
Jarekt (talk | contribs)
added Category:Internationalization templates using LangSwitch to templates using this template
Undo revision 21401726 by Jarekt (Talk). All sorts of templates end up in Category:Internationalization templates using LangSwitch
Line 362: Line 362:
|en
|en
|#default={{{en|}}}
|#default={{{en|}}}
}}<noinclude>
}}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[Category:Internationalization templates using LangSwitch|{{PAGENAME}}]]}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Function templates]]
[[Category:Function templates]]

Revision as of 13:13, 15 May 2009

Template documentation

Shortcut:
{{LangSwitch}}

This template is used for displaying translated text using the user's UI language taking data from a locally hardcoded table, e.g.

{{int table
 | en=Support
 | it=Favorevole
 | zh=支持
}}

Accepted parameters are of course any language code, |default=, |message= and |item=, as well as |lang= for manual overriding.

See also

  • {{int}} — very similar scope, the data is not written locally but kept in data modules.
  • {{int page}} — transcludes the subpage with the requested translation.