Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
m (/de fix'd)
m (/zh-hans)
Line 46: 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-hans = 如果你会说简体中文,请在[[{{TALKPAGENAME}}|讨论页]]上留言或与为此页面贡献的作者讨论(通过浏览[{{fullurl:{{FULLPAGENAMEE}}|action=history}} 页面历史])。
 
   | zh-hant = 如果你會說繁體中文,請在[[{{TALKPAGENAME}}|討論頁]]中留下你的大名,或透過查看[{{fullurl:{{FULLPAGENAMEE}}|action=history}} 歷史紀錄]跟有編輯這頁的用戶聯繫。
 
   | zh-hant = 如果你會說繁體中文,請在[[{{TALKPAGENAME}}|討論頁]]中留下你的大名,或透過查看[{{fullurl:{{FULLPAGENAMEE}}|action=history}} 歷史紀錄]跟有編輯這頁的用戶聯繫。
 
   }}
 
   }}

Revision as of 11:16, 1 April 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.