Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
Line 14: Line 14:
 
   | pt-br = Esta página está no processo de '''[[Help:Language translation|tradução]]''' para {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
 
   | pt-br = Esta página está no processo de '''[[Help:Language translation|tradução]]''' para {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
 
   | ru = В данный момент статья '''[[Help:Language translation|переводится]]''' с английского языка на русский.
 
   | ru = В данный момент статья '''[[Help:Language translation|переводится]]''' с английского языка на русский.
 +
  | sv = Denna sida är på väg att '''[[ Help: Language translation|translated]]''' till {{lang name|name|{{{lang | {{SUBPAGENAME }}}}}}}.
 
   }}
 
   }}
 
  | 3 = {{lang
 
  | 3 = {{lang
Line 26: Line 27:
 
   | pt-br = Se você pode falar {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, escreva na [[{{TALKPAGENAME}}|página de discussão]] ou fale com aqueles que contribuíram para esta página (para isto veja o [{{fullurl:{{FULLPAGENAMEE}}|action=history}} histórico da página]).
 
   | pt-br = Se você pode falar {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, escreva na [[{{TALKPAGENAME}}|página de discussão]] ou fale com aqueles que contribuíram para esta página (para isto veja o [{{fullurl:{{FULLPAGENAMEE}}|action=history}} histórico da página]).
 
   | ru = Если для перевода необходима помощь, напишите об этом на [[{{TALKPAGENAME}}|странице обсуждения]] или обратитесь к участникам, правившим эту статью (просмотрев [{{fullurl:{{FULLPAGENAMEE}}|action=history}} её историю]).
 
   | ru = Если для перевода необходима помощь, напишите об этом на [[{{TALKPAGENAME}}|странице обсуждения]] или обратитесь к участникам, правившим эту статью (просмотрев [{{fullurl:{{FULLPAGENAMEE}}|action=history}} её историю]).
 +
  | sv = Om du kan tala {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, inlägget på [[{{TALKPAGENAME}}| diskussionssidan]] eller tala till dem som har bidragit till sidan (genom att titta på [{{fullurl: {{FULLPAGENAMEE}}|action=history}} sidhistoriken]).
 
   }}
 
   }}
 
  }}
 
  }}
Line 32: Line 34:
 
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
 
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
 
  --></includeonly><noinclude>
 
  --></includeonly><noinclude>
{{translation switching|de, es, fr, hu, no, pl, pt, pt-br, ru}}
+
{{translation switching|de, es, fr, hu, no, pl, pt, pt-br, ru, sv}}
 
{{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 05:23, 19 December 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

  • {{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.