Difference between revisions of "Template:Translation switching"
m |
|||
Line 1: | Line 1: | ||
{{ ambox | style = border: 1px solid #0F5F85; background-color: #C9E1ED; | image = Globeicon.png | {{ ambox | style = border: 1px solid #0F5F85; background-color: #C9E1ED; | image = Globeicon.png | ||
| contents = {{ambox/message | | contents = {{ambox/message | ||
− | | 2 = This template uses [[Help:Language translation|translation switching]]. | + | | 2 = This template uses [[Help:Language translation|translation switching]]. The correct language will now 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 this template].{{#if:{{{1|}}}|<br /><span style="font-size: 95%;">'''Supported languages''': {{{1}}}</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 this template].{{#if:{{{1|}}}|<br /><span style="font-size: 95%;">'''Supported languages for this template''': {{{1}}}</span>}} |
}} | }} | ||
}}<includeonly>[[Category:Templates that use translation switching|{{PAGENAME}}]]</includeonly><noinclude><br /> | }}<includeonly>[[Category:Templates that use translation switching|{{PAGENAME}}]]</includeonly><noinclude><br /> |
Revision as of 08:25, 8 August 2010
This template uses translation switching. The correct language will now 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 this template. |
- Place
{{translation switching}}
on template documentation pages that use{{lang}}
to switch translations based on the language subpagename. - It will categorize them into Category:Templates that use translation switching.