Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
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}}}}}}}.
   | fr = This page is in the process of being '''[[Help:Language translation|translated]]''' into French.
+
   | fr = Cette page est en cours de '''[[Help:Language translation|traduction]]''' en Français.
 
   }}
 
   }}
 
  | 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]).
   | fr = If you can speak French, 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]).
+
   | fr = Si vous parlez français, écrivez sur la [[{{TALKPAGENAME}}|discussion]] ou contactez ceux qui ont déjà contribuez à cette page (en regardant l'[{{fullurl:{{FULLPAGENAMEE}}|action=history}} historique]).
 
   }}
 
   }}
 
  }}
 
  }}
Line 16: Line 16:
 
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
 
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
 
  --></includeonly><noinclude>
 
  --></includeonly><noinclude>
{{translation switching|none}}
+
{{translation switching|fr}}
 
{{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 03:49, 24 October 2010

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