Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
(Added Dutch support)
m
Line 19: Line 19:
 
   | sv = Denna sida är på väg att bli '''[[ Help: Language translation|översatt]]''' till svenska.
 
   | sv = Denna sida är på väg att bli '''[[ Help: Language translation|översatt]]''' till svenska.
 
   | fi = Tätä sivua ollaan '''[[Help:Language translation|kääntämässä]]''' suomeksi.
 
   | fi = Tätä sivua ollaan '''[[Help:Language translation|kääntämässä]]''' suomeksi.
 +
  | ko = 이 페이지는 {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}로 '''[[Help:Language translation|번역]]'''되는 중입니다.
 
  }}
 
  }}
 
  | 3 = {{lang
 
  | 3 = {{lang
Line 36: Line 37:
 
   | sv = Om du kan tala svenska, posta på [[{{TALKPAGENAME}}| diskussionssidan]] eller prata med dom som har bidragit till sidan (genom att titta på [{{fullurl: {{FULLPAGENAMEE}}|action=history}} sidhistoriken]).
 
   | sv = Om du kan tala svenska, posta på [[{{TALKPAGENAME}}| diskussionssidan]] eller prata med dom 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]).
 
   | fi = Jos pystyt puhumaan suomea, kirjoita [[{{TALKPAGENAME}}|keskustelusivulle]] tai puhu niille jotka ovat parantaneet sivua (katsomalla [{{fullurl:{{FULLPAGENAMEE}}|action=history}} sivuhistoriaa]).
 +
  | ko = 만약 당신이 {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}를 할 수 있다면 [[{{TALKPAGENAME}}|토론 페이지]]에 글을 남기거나 ([{{fullurl:{{FULLPAGENAMEE}}|action=history}} 페이지 역사]를 보고) 이 글에 기여한 사람들에게 이 사실을 알려주세요.
 
   }}
 
   }}
 
  }}
 
  }}
Line 42: Line 44:
 
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
 
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
 
  --></includeonly><noinclude>
 
  --></includeonly><noinclude>
{{translation switching|ar, de, es, it, 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, ko}}
 
{{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 01:27, 15 May 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.