Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
Line 24: Line 24:
 
   | 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.
 
   | tr = Bu sayfa şu anda Türkçeye '''[[Help:Language translation|tercüme edilme]]''' aşamasında.
 
   | tr = Bu sayfa şu anda Türkçeye '''[[Help:Language translation|tercüme edilme]]''' aşamasında.
 +
  | zh-hans = 此页面正处于被'''[[Help:Language translation|翻译]]'''成简体中文的过程中。
 
   | zh-hant = 這頁目前正處於被'''[[Help:Language translation|翻譯]]'''至繁體中文的狀態。
 
   | zh-hant = 這頁目前正處於被'''[[Help:Language translation|翻譯]]'''至繁體中文的狀態。
 
  }}
 
  }}
Line 45: Line 46:
 
   | 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]).
 
   | tr = Eğer Türkçe biliyorsanız, [[{{TALKPAGENAME}}|konuşma sayfasına]] yazın ya da daha önceden sayfaya katkıda bulunanlarla konuşun ([{{fullurl:{{FULLPAGENAMEE}}|action=history}} sayfa geçmişinden] isimlerini bularak).
 
   | tr = Eğer Türkçe biliyorsanız, [[{{TALKPAGENAME}}|konuşma sayfasına]] yazın ya da daha önceden sayfaya katkıda bulunanlarla konuşun ([{{fullurl:{{FULLPAGENAMEE}}|action=history}} sayfa geçmişinden] isimlerini bularak).
 +
  | zh-hans = 如果你会说简体中文,请在[[{{TALKPAGENAME}}|讨论页]]上留言或与编辑此页面的作者讨论(可以通过浏览[{{fullurl:{{FULLPAGENAMEE}}|action=history}}页面历史])。
 
   | zh-hant = 如果你會說繁體中文,請在[[{{TALKPAGENAME}}|討論頁]]中留下你的大名,或透過查看[{{fullurl:{{FULLPAGENAMEE}}|action=history}} 歷史紀錄]跟有編輯這頁的用戶聯繫。
 
   | zh-hant = 如果你會說繁體中文,請在[[{{TALKPAGENAME}}|討論頁]]中留下你的大名,或透過查看[{{fullurl:{{FULLPAGENAMEE}}|action=history}} 歷史紀錄]跟有編輯這頁的用戶聯繫。
 
   }}
 
   }}
 
  }}
 
  }}
 
}}<includeonly>[[Category:Translating into {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}|{{BASEPAGENAME}}]]</includeonly><noinclude>
 
}}<includeonly>[[Category:Translating into {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}|{{BASEPAGENAME}}]]</includeonly><noinclude>
{{translation switching|ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ru, sv}}
+
{{translation switching|ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ru, sv, zh-hans}}
 
{{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 09:40, 16 February 2014

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.