Template:Trans: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(updated)
(one argument variation)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
</div>
</div>
{{#if:{{{1|}}}|{{#if:{{{nocat|}}}||[[Category:Translating into {{{1}}}]]}}|}}</includeonly>
{{#if:{{{1|}}}|{{#if:{{{nocat|}}}||[[Category:Translating into {{{1}}}]]}}|}}</includeonly>
<noinclude>
<noinclude>== Description ==
== Description ==
Temporary template for pages is in progress of translating.  
Temporary template for pages is in progress of translating.  


Line 16: Line 15:
  <nowiki>{{Trans|Russian|English}}</nowiki>
  <nowiki>{{Trans|Russian|English}}</nowiki>
Result:
Result:
  {{Trans|Russian|English|nocat=1}}
  {{Trans|Russian|English}}
 
Or simply:
 
<nowiki>{{Trans|Russian}}</nowiki>
 
Result:
{{Trans|Russian}}


[[Category:Language templates]]
[[Category:Language templates]]
</noinclude>
</noinclude>

Latest revision as of 19:32, 19 October 2008

Description

Temporary template for pages is in progress of translating.

Two 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

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

{{Trans|Russian|English}}

Result:

This page is in progress of translating to Russian from English.


Or simply:

{{Trans|Russian}}

Result:

This page is in progress of translating to Russian.