Template:Userbox translator/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
Userbox used for denoting that you do translation work.
Userbox used for denoting that you do translation work.
== Translations ==
The used strings are on [[/strings|strings subpage]]. Please follow the format to add translations for them.


== Copy and Paste ==
== Copy and Paste ==
{{CodeBlock|<nowiki>{{Userbox translator
{{CodeBlock|<nowiki>{{Userbox translator
| {{#language:<from>}}
| <from>
| {{#language:<to>}}
| <to>
}}</nowiki>}}
}}</nowiki>}}


Line 17: Line 20:
| align="center" | {{Code|style=2|{{Param|1}}}}
| align="center" | {{Code|style=2|{{Param|1}}}}
| For specifying the language your are translating from.
| For specifying the language your are translating from.
| {{CodeBlock|margin=5px|<nowiki>| 1 = {{#language:eo}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| 1 = en</nowiki>}}
| {{Userbox translator|{{#language:en}}}}
| {{Userbox translator|en|nocat=1}}
|-
|-
| align="center" | {{Code|style=2|{{Param|2}}}}
| align="center" | {{Code|style=2|{{Param|2}}}}
| For specifying the language you are translating to
| For specifying the language you are translating to
| {{CodeBlock|margin=5px|<nowiki>| 2 = {{#language:es}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| 2 = es</nowiki>}}
| {{Userbox translator|2={{#language:es}}}}
| {{Userbox translator|2=es|nocat=1}}
|}
|}


<includeonly>[[Category:Templates]][[Category:Translation templates]][[Category:Userbox Templates]]</includeonly>
<includeonly>[[Category:Templates]][[Category:Translation templates]][[Category:Userbox Templates]]</includeonly>

Latest revision as of 12:14, 7 January 2024

Edit-copy.png
This is a documentation subpage for Template:Userbox translator.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Userbox used for denoting that you do translation work.

Translations

The used strings are on strings subpage. Please follow the format to add translations for them.

Copy and Paste

{{Userbox translator | <from> | <to> }}

Parameters and Examples

Parameter Description Example Preview
{{{1}}} For specifying the language your are translating from.
| 1 = en
Translation.png

This user translates from English to {{{2}}}.

{{{2}}} For specifying the language you are translating to
| 2 = es
Translation.png

This user translates from {{{1}}} to Spanish.