Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
m (Example)
Line 3: Line 3:
 
|contents=
 
|contents=
 
This page is in progress of being translated to {{{1|{{SUBPAGENAME}}}}}{{#if:{{{2|}}}|  from {{{2}}}|}}. You can help translating it or go to another language version that follows:  
 
This page is in progress of being translated to {{{1|{{SUBPAGENAME}}}}}{{#if:{{{2|}}}|  from {{{2}}}|}}. You can help translating it or go to another language version that follows:  
<includeonly><span style="text-align:left">{{Languages|{{{3|{{#if: {{NAMESPACE}} | {{NAMESPACE}}: }}{{#titleparts:{{BASEPAGENAME}}|1}}}}}}} </span></includeonly>
 
 
}}
 
}}
 
<includeonly>{{#if:{{{1|}}}|{{#if:{{{nocat|}}}||[[Category:Translating into {{{1}}}]]}}|}}</includeonly>
 
<includeonly>{{#if:{{{1|}}}|{{#if:{{{nocat|}}}||[[Category:Translating into {{{1}}}]]}}|}}</includeonly>

Revision as of 17:59, 4 July 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: