13,208
edits
m (Johan G moved page Help:Template to Help:Templates: This is not about a specific template) |
(→Translating templates: I simplified this quite a bit by creating Template:LangSwitch) |
||
Line 6: | Line 6: | ||
=== Translating templates === | === Translating templates === | ||
Translating templates is | Translating templates is different from translating normal articles. All translations are written within one and the same template. To do that one can use the {{tl|LangSwitch}} template. | ||
< | <pre>{{LangSwitch |en=English text |de=<German text> |fr=<French text> ...}}</pre> | ||
German text | |||
}} | |||
</ | |||
It uses the two letter language code present in all but the English page titles. If none of the languages that have been translated to is found, a template have not yet been translated to that language and the English text will be used instead, provided it is available. | |||
== Small collection of various templates == | == Small collection of various templates == |