Template:String
Jump to navigation
Jump to search

Alternative version of {{autolang}}
template.

Common use of the template:
{{String|Default Text|ru=Russian Text|it=Italian Text}} → Default Text
Default text is empty (in a language that is not specified there will be an empty line):
{{String|en=English Text|it=Italian Text}} → English Text
The {{{force}}} parameter forces the template to intentionally load the selected language (useful for testing):
{{String|Default Text|force=ru|es=Spanish Text|ru=Russian Text|it=Italian Text}} → Russian Text

By using a hyphen before the language code, it can be linked to any other language (even to default text):
{{String|Default Text|-en=it|it=Some Text}} → Some Text
