Difference between revisions of "Template:Trans"

From WiiBrew
Jump to: navigation, search
Line 3: Line 3:
 
|image=[[Image:Translation_arrow.svg|40px]]
 
|image=[[Image:Translation_arrow.svg|40px]]
 
|text='''This article is in the process of translating{{#if:{{{2|}}}| &nbsp;from {{{2}}}|}} to {{{1|{{SUBPAGENAME}}}}}.'''<br>
 
|text='''This article is in the process of translating{{#if:{{{2|}}}| &nbsp;from {{{2}}}|}} to {{{1|{{SUBPAGENAME}}}}}.'''<br>
<small>Bitte helfe mit [{{fullurl:{{FULLPAGENAME}}|action=edit}} diesen Artikel zu übersetzen.</small>}}
+
<small>Bitte helfe mit [{{fullurl:{{FULLPAGENAME}}|action=edit}} diesen Artikel] zu übersetzen.</small>}}
 
<includeonly>{{#if:{{{1|}}}|{{#if:{{{nocat|}}}||[[Category:Translating into {{{1}}}]]}}|}}</includeonly>
 
<includeonly>{{#if:{{{1|}}}|{{#if:{{{nocat|}}}||[[Category:Translating into {{{1}}}]]}}|}}</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 16:04, 5 January 2009


[edit] Template documentation

Description

Temporary template for pages being translated. Add this template to new non-english pages that are partially translated and remove it when the translation is done. Partially translated pages will be listed on the page Category:Translating_into_(Language).


Parameters

  1. "to" language name; in a format "Russian" etc.
    If udefined - 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: