Template:User translator: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (tweak)
m (make a link directly to the category of translations in said language combination)
Line 3: Line 3:
|-
|-
| style="width:45px;height:45px;background-color:#fff;text-align:center;font-size:14pt" | [[Image:Translate icon1.svg|40px|none|Translation]]
| style="width:45px;height:45px;background-color:#fff;text-align:center;font-size:14pt" | [[Image:Translate icon1.svg|40px|none|Translation]]
| style="font-size:8pt;padding:4pt;line-height:1.25em" | [[:Category:Translators|Translator]]: ([[:Category:User {{{1}}}|{{{1}}}]])&rarr;([[:Category:User {{{2}}}|{{{2}}}]])<br />'''[[:Category:Translators {{{1}}}-{{{2}}}|{{#language:{{{1}}}}}&rarr;{{#language:{{{2}}}}}]]'''.
| style="font-size:8pt;padding:4pt;line-height:1.25em" | [[:Category:Translators {{{1}}}-{{{2}}}|Translators]]: ([[:Category:User {{{1}}}|{{{1}}}]]) &rarr; ([[:Category:User {{{2}}}|{{{2}}}]])<br />'''[[:Category:Translations lang-{{{2}}}|{{#language:{{{1}}}}} &rarr; {{#language:{{{2}}}}}]]'''.
|}
|}
</div><includeonly>[[Category:Translators {{{1}}}-{{{2}}}|{{PAGENAME}}]][[Category:Translators|{{PAGENAME}}]]</includeonly><noinclude>{{-}}
</div><includeonly>[[Category:Translators {{{1}}}-{{{2}}}|{{PAGENAME}}]][[Category:Translators|{{PAGENAME}}]]</includeonly><noinclude>{{-}}

Revision as of 14:17, 16 October 2007

Translation
[[:Category:Translators {{{1}}}-{{{2}}}|Translators]]: ([[:Category:User {{{1}}}|{{{1}}}]]) → ([[:Category:User {{{2}}}|{{{2}}}]])
[[:Category:Translations lang-{{{2}}}|{{{1}}} → {{{2}}}]].


This template will categorize you as a translator in a specific direction (lang-a to lang-b), allowing for non-symmetrical capabilities.

Usage

Template output Stand alone code {{userboxmacro}} code
{{User translator|en|es}} |translator{{!}}en{{!}}es|
{{User translator|es|en}} |translator{{!}}es{{!}}en|

This template was extracted, copied, adapted or otherwise inspired by an existing one in the Meta-Wikimedia, which is licensed under the GNU Free Documentation License.