Difference between revisions of "Template:Translation switching"
m |
m |
||
Line 1: | Line 1: | ||
{{ ambox | style = border: 1px solid #0F5F85; background-color: #DEE8ED; | image = Globeicon.png | {{ ambox | style = border: 1px solid #0F5F85; background-color: #DEE8ED; | image = Globeicon.png | ||
| contents = {{ambox/message | | contents = {{ambox/message | ||
− | | 2 = This template uses [[Help:Language translation|translation switching]]. The correct language will | + | | 2 = This template uses [[Help:Language translation|translation switching]]. The correct language will be displayed automatically. |
| 3 = Localized versions of this template (e.g. ''Template:{{BASEPAGENAME}}/ru'') are no longer necessary. Add your translations directly to this template by [{{fullurl:Template:{{BASEPAGENAME}}|action=edit}} editing it].{{#if:{{{1|}}}|<br /><span style="font-size: 95%;">'''Supported languages for this template''': {{{1}}} ([{{fullurl:Template:{{BASEPAGENAME}}|action=edit}} add])</span>}} | | 3 = Localized versions of this template (e.g. ''Template:{{BASEPAGENAME}}/ru'') are no longer necessary. Add your translations directly to this template by [{{fullurl:Template:{{BASEPAGENAME}}|action=edit}} editing it].{{#if:{{{1|}}}|<br /><span style="font-size: 95%;">'''Supported languages for this template''': {{{1}}} ([{{fullurl:Template:{{BASEPAGENAME}}|action=edit}} add])</span>}} | ||
}} | }} |
Revision as of 04:40, 9 August 2010
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Translation switching/ru) are no longer necessary. Add your translations directly to this template by editing it. |
- Place
{{translation switching}}
or{{ts}}
on template documentation pages that use{{lang}}
to switch translations based on the language subpagename.- Display the languages supported by the template by using this code:
{{translation switching|de, fr, ja, pl}}
- Display the languages supported by the template by using this code:
- It will categorize them into Category:Templates that use translation switching.