Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
(added support for finnish)
Line 15: Line 15:
 
   | 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 }}}}}}}.
 
   | sv = Denna sida är på väg att '''[[ Help: Language translation|translated]]''' till {{lang name|name|{{{lang | {{SUBPAGENAME }}}}}}}.
   }}
+
   | fi = Tätä sivua ollaan '''[[Help:Language translation|kääntämässä]]''' suomeksi.
 +
}}
 
  | 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]).
Line 28: Line 29:
 
   | 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]).
 
   | 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]).
 +
  | fi = Jos pystyt puhumaan suomea, kirjoita [[{{TALKPAGENAME}}|keskustelusivulle]] tai puhu niille jotka ovat parantaneet sivua (katsomalla [{{fullurl:{{FULLPAGENAMEE}}|action=history}} sivuhistoriaa]).
 
   }}
 
   }}
 
  }}
 
  }}
Line 34: Line 36:
 
  -->{{#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, sv}}
+
{{translation switching|de, es, 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 06:49, 23 January 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.