Template:Autotranslate/doc
Appearance
This template is used to show a page in the users interface language.
For autotranslating templates, please use Template:Autotranslate template instead, otherwise a circular reference will be detected when an autotranslated template is transcluded into an autotranslated page.
How to use this template
- Rename the English "Pagename" to "Pagename/en".
- Replace the content of Pagename (what is now a #REDIRECT [[Pagename/en]]) with:
{{Autotranslate|1={{{1|}}}|base=''Pagename''}}<noinclude><!-- --------------------------------------------------------------------------------------------------------------------- To edit the text shown on an "autotranslated" page: * click on a language link for the subpage (English or so) although you are seeing the text in that language already, * then click on the Edit Tab. --------------------------------------------------------------------------------------------------------------------- --></noinclude>
That is all.
Language selection
When linking to [[Pagename]] the content of [[Pagename/xx]] will be shown, where xx is a language code.
The language code is determined in the following sequence:
- The language in your user preference; yours is "en";
- The fallback language of the language in your user preference; yours is "en" (see Template:GetFallback);
- If none of the above language subpages exist, the page is displayed in the English language.