Template:Userbox translator/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 18: Line 18:
| For specifying the language your are translating from.
| For specifying the language your are translating from.
| {{CodeBlock|margin=5px|<nowiki>| 1 = {{#language:en}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| 1 = {{#language:en}}</nowiki>}}
| {{Userbox translator|{{#language:en}}}}
| {{Userbox translator|{{#language: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 = {{#language:es}}</nowiki>}}
| {{Userbox translator|2={{#language:es}}}}
| {{Userbox translator|2={{#language:es}}|nocat=1}}
|}
|}


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

Revision as of 16:01, 25 April 2023

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.

Copy and Paste

{{Userbox translator | {{#language:<from>}} | {{#language:<to>}} }}

Parameters and Examples

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

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

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

This user translates from {{{1}}} to español.