Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
(Heavy: "Go, go, давай!" ___________ added some arabic trans text)
(Added the italian translation)
Line 5: Line 5:
 
  | 2 = {{lang
 
  | 2 = {{lang
 
   | en = This page is in the process of being '''[[Help:Language translation|translated]]''' into {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
 
   | en = This page is in the process of being '''[[Help:Language translation|translated]]''' into {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
 +
  | it = Questa pagina sta venendo '''[[Help:Language translation|tradotta]]''' in {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
 
   | ar = هذه صفحة ويب هو في يجري العمل '''[[Help:Language translation|مترجم]]''' على {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
 
   | ar = هذه صفحة ويب هو في يجري العمل '''[[Help:Language translation|مترجم]]''' على {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
 
   | de = Diese Seite ist im Prozess auf {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}} '''[[Help:Language translation|übersetzt zu werden]]'''
 
   | de = Diese Seite ist im Prozess auf {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}} '''[[Help:Language translation|übersetzt zu werden]]'''
Line 19: Line 20:
 
  }}
 
  }}
 
  | 3 = {{lang
 
  | 3 = {{lang
   | en = If you can speak {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, post on the [[{{TALKPAGENAME}}|talk page]] or speak to those who have contributed to the page (by viewing the [{{fullurl:{{FULLPAGENAMEE}}|action=history}} page history]).
+
   | en = If you can speak {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, post on the [[{{TALKPAGENAME}}|talk page]] or speak to those who have  
 +
contributed to the page (by viewing the [{{fullurl:{{FULLPAGENAMEE}}|action=history}} page history]).
 +
  | it = Se sapete parlare {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, postate nella [[{{TALKPAGENAME}}|talk page]] o parlate con coloro che hanno contribuito a questa pagina ( vedendo [{{fullurl:{{FULLPAGENAMEE}}|action=history}} la cronologia della pagina]).
 
   | de = Wenn du {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}} sprichst poste bitte auf die [[{{TALKPAGENAME}}|Talk Page]] oder sprich mit denen die zu dieser Seite beigetragen haben (zu finden in der [{{fullurl:{{FULLPAGENAMEE}}|action=history}} Page History]).
 
   | de = Wenn du {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}} sprichst poste bitte auf die [[{{TALKPAGENAME}}|Talk Page]] oder sprich mit denen die zu dieser Seite beigetragen haben (zu finden in der [{{fullurl:{{FULLPAGENAMEE}}|action=history}} Page History]).
 
  | es = Si hablas español, pon una versión traducida [[{{TALKPAGENAME}}|en la discusión]] o habla con quienes han contribuido a la pagina (observando [{{fullurl:{{FULLPAGENAMEE}}|action=history}} el historial del archivo]).
 
  | es = Si hablas español, pon una versión traducida [[{{TALKPAGENAME}}|en la discusión]] o habla con quienes han contribuido a la pagina (observando [{{fullurl:{{FULLPAGENAMEE}}|action=history}} el historial del archivo]).
Line 37: Line 40:
 
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
 
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
 
  --></includeonly><noinclude>
 
  --></includeonly><noinclude>
{{translation switching|ar, de, es, fr, hu, no, pl, pt, pt-br, ru, sv, fi}}
+
{{translation switching|ar, de, es, it, fr, hu, no, pl, pt, pt-br, ru, sv, fi}}
 
{{doc begin}}
 
{{doc begin}}
 
Use {{tl|trans}} on pages that have not been fully translated yet. It will display the above notice and categorize the page correctly so uncompleted translations can be managed.
 
Use {{tl|trans}} on pages that have not been fully translated yet. It will display the above notice and categorize the page correctly so uncompleted translations can be managed.

Revision as of 10:31, 7 March 2011

Documentation for Trans

Use {{trans}} on pages that have not been fully translated yet. It will display the above notice and categorize the page correctly so uncompleted translations can be managed.

{{trans}} automatically detects the language of the page and will display the correct name and categorize the page correctly by default.

"{{trans|Italian|English}}" is no longer needed, just {{trans}} at the top of the page will suffice.

Usage

  • {{Trans}} when used on Soldier/ru will place the above notice and put the page in Category:Translating into Russian
  • If, for example, you need to place the notice on a page that doesn't use a lang subpage, like a draft version in the user space, you can force a particular language using the parameter lang:
    {{Trans|lang=de}} will place the same notice and put the page in Category:Translating into German.
    ^ This is not needed on article pages. Just place {{trans}} at the top of the page and the message will automatically change.