This template is protected from editing.

Difference between revisions of "Template:Lang cat"

From Team Fortress Wiki
Jump to: navigation, search
m (moved Template:Lang Cat to Template:Lang cat: easier name)
m
Line 53: Line 53:
 
| zh-tw = {{{1}}}/zh-tw
 
| zh-tw = {{{1}}}/zh-tw
 
| #default = {{{1}}}
 
| #default = {{{1}}}
}}]]
+
}}|{{BASEPAGENAME}}]]<noinclude>{{protected}}
<noinclude>{{protected}}
 
 
== Usage ==
 
== Usage ==
 
The main purpose of this template is to retain consistency across multiple translated pages. Using {{tl|Lang Cat}} will switch translations based on the value of <code><nowiki>{{SUBPAGENAME}}</nowiki></code>.
 
The main purpose of this template is to retain consistency across multiple translated pages. Using {{tl|Lang Cat}} will switch translations based on the value of <code><nowiki>{{SUBPAGENAME}}</nowiki></code>.
Line 84: Line 83:
 
.
 
.
  
[[Category:Templates|Lang Cat]]
+
[[Category:Templates|Lang cat]]
[[Category:Language templates|Lang Cat]]
+
[[Category:Language templates|Lang cat]]
 
</noinclude>
 
</noinclude>

Revision as of 05:13, 11 August 2010

[[Category:{{{1}}}|Lang cat]]

Usage

The main purpose of this template is to retain consistency across multiple translated pages. Using {{Lang Cat}} will switch translations based on the value of {{SUBPAGENAME}}.

  • To define a language, simply use the code | xx = and then add your translation after (replacing xx with the correct code from below).
Available languages af, ar, az, bcc, bg, br, ca, cs, da, de, el, es, fa, fi, fr, gl, gu, he, hu, id, it, ja, ka, ko, ksh, kw, mk, ml, mr, ms, nl, no, oc, pl, pt, ro, ru, si, sk, sq, sr, sv, ta, th, tr, uk, vi, yue, zh, zh-hans, zh-hant, zh-tw

Examples

Placing

{{Lang Cat|Scout}}

on Force-A-Nature/ru adds

[[Category:Scout/ru]]

to the page, while placing

{{Lang Cat|Scout}}

on Scout/Rainbows adds

[[Category:Scout]]

.