Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
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-hans = 此页面正在被'''[[Help:Language translation|翻译]]'''成简体中文。
 
   | zh-hant = 這頁目前正處於被'''[[Help:Language translation|翻譯]]'''至繁體中文的狀態。
 
   | zh-hant = 這頁目前正處於被'''[[Help:Language translation|翻譯]]'''至繁體中文的狀態。
 
  }}
 
  }}
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}} 歷史紀錄]跟有編輯這頁的用戶聯繫。
 
   }}
 
   }}

Latest revision as of 07:32, 24 January 2023

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.