Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
Line 3: Line 3:
 
| image = Globeicon.png
 
| image = Globeicon.png
 
| contents = This page is in the process of being '''[[Help:Language translation|translated]]''' to {{{1|{{#language:{{SUBPAGENAME}}}}}}}{{#if:{{{2|}}}| &nbsp;from {{{2}}}|}}.<br /><small>If you can speak {{{1|{{#language:{{SUBPAGENAME}}}}}}}{{#if:{{{1|}}}|&nbsp;or another non-English language|}}, see [[Help:Language translation]] for how you can help by translating.</small>
 
| contents = This page is in the process of being '''[[Help:Language translation|translated]]''' to {{{1|{{#language:{{SUBPAGENAME}}}}}}}{{#if:{{{2|}}}| &nbsp;from {{{2}}}|}}.<br /><small>If you can speak {{{1|{{#language:{{SUBPAGENAME}}}}}}}{{#if:{{{1|}}}|&nbsp;or another non-English language|}}, see [[Help:Language translation]] for how you can help by translating.</small>
}}<includeonly>{{#if:{{{1|}}}|{{#if:{{{nocat|}}}||[[Category:Translating into {{{1}}}]]}}|}}</includeonly><noinclude><br />
+
}}<includeonly>{{#if:{{{1|}}}|{{#if:{{{nocat|}}}||[[Category:Translating into {{#switch:{{{1|}}}
 +
| zh-hans = Chinese (Simplified)
 +
| zh-hant = Chinese (Traditional)
 +
| #default = {{{1}}}
 +
}}|{{BASEPAGENAME}}]]}}|}}</includeonly><noinclude><br />
 
== Description ==
 
== Description ==
 
Temporary template for pages in progress of being translated.  
 
Temporary template for pages in progress of being translated.  

Revision as of 05:58, 17 September 2010


Description

Temporary template for pages in progress of being translated.

Two parameters:

  1. "to" language name; in a format "Russian" etc.
    If undefined - substitute variable "SUBPAGENAME"
    If defined - page automatically added in category named "Category:Translating into <"to" language name>"
  2. (optional) "from" language name

Example

Sample calling for page in progress of translating from English to Russian:

{{Trans|Russian|English}}

Result: