Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
(Assuming I got the arabic right.)
(Removing another null string.)
Line 30: Line 30:
 
   | da = Hvis du kan snakke dansk, så skriv på [[{{TALKPAGENAME}}|diskussionssiden]] eller snak med dem, som har bidraget til siden (ved at se [{{fullurl:{{FULLPAGENAMEE}}|action=history}} sidens historik]).
 
   | da = Hvis du kan snakke dansk, så skriv på [[{{TALKPAGENAME}}|diskussionssiden]] eller snak med dem, som har bidraget til siden (ved at se [{{fullurl:{{FULLPAGENAMEE}}|action=history}} sidens historik]).
 
   | de = Wenn du Deutsch sprichst, poste bitte auf die [[{{TALKPAGENAME}}|Diskussionsseite]] oder sprich mit denen, die zu dieser Seite beigetragen haben (zu finden in der [{{fullurl:{{FULLPAGENAMEE}}|action=history}} Versionsgeschichte]).
 
   | de = Wenn du Deutsch sprichst, poste bitte auf die [[{{TALKPAGENAME}}|Diskussionsseite]] oder sprich mit denen, die zu dieser Seite beigetragen haben (zu finden in der [{{fullurl:{{FULLPAGENAMEE}}|action=history}} Versionsgeschichte]).
   | 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 English, 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]).
 
   | es = Si hablas español, pon una versión traducida [[{{TALKPAGENAME}}|en la discusión]] o habla con quienes han contribuido a la página (observando [{{fullurl:{{FULLPAGENAMEE}}|action=history}} el historial del archivo]).
 
   | es = Si hablas español, pon una versión traducida [[{{TALKPAGENAME}}|en la discusión]] o habla con quienes han contribuido a la página (observando [{{fullurl:{{FULLPAGENAMEE}}|action=history}} el historial del archivo]).
 
   | 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]).

Revision as of 18:02, 24 October 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.