Template:User translator: Difference between revisions

From OLPC
Jump to navigation Jump to search
(inspired by wikimedia)
 
m (tweak)
Line 3: Line 3:
|-
|-
| style="width:45px;height:45px;background-color:#fff;text-align:center;font-size:14pt" | [[Image:Crystal 128 fonts.png|33px|none|Translation]]
| style="width:45px;height:45px;background-color:#fff;text-align:center;font-size:14pt" | [[Image:Crystal 128 fonts.png|33px|none|Translation]]
| style="font-size:8pt;padding:4pt;line-height:1.25em" | This Translator translates from ({{{1}}})&rarr;({{{2}}})<br />'''[[:Category:Translators {{{1}}}-{{{2}}}|({{{1}}}) {{#language:{{{1}}}}}&rarr;{{#language:{{{2}}}}} ({{{2}}})]]'''.
| style="font-size:8pt;padding:4pt;line-height:1.25em" | This User translates from ({{{1}}})&rarr;({{{2}}})<br />'''[[:Category:Translators {{{1}}}-{{{2}}}|{{#language:{{{1}}}}}&rarr;{{#language:{{{2}}}}}]]'''.
|}
|}
</div><includeonly>[[Category:Translators {{{1}}}-{{{2}}}|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Language user templates]]{{-}}
</div><includeonly>[[Category:Translators {{{1}}}-{{{2}}}|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Language user templates]]{{-}}
Line 13: Line 13:
{| border=1 cellspacing=0
{| border=1 cellspacing=0
|-
|-
! Template output !! Stand alone code !! [[Template:Babel-X|Babel-X box]] code
! Template output
! Stand alone code
! [[Template:Babel-X|Babel-X box]] code
|-
|-
| {{User translator|en|es}}
| {{User translator|en|es}} || <tt><nowiki>{{User translator|en|es}}</nowiki></tt> || <tt><nowiki>|translator{{!}}en{{!}}es|</nowiki></tt>
| <tt><nowiki>{{User translator|en|es}}</nowiki></tt>
| <tt><nowiki>|translator{{!}}en{{!}}es|</nowiki></tt>
|-
|-
| {{User translator|es|en}}
| {{User translator|es|en}} || <tt><nowiki>{{User translator|es|en}}</nowiki></tt> || <tt><nowiki>|translator{{!}}es{{!}}en|</nowiki></tt>
| <tt><nowiki>{{User translator|es|en}}</nowiki></tt>
| <tt><nowiki>|translator{{!}}es{{!}}en|</nowiki></tt>
|}
|}
{{WikipediaTemplate|Transbabel}}
{{WikipediaTemplate|Transbabel}}

Revision as of 06:15, 4 July 2007

Translation
This User translates from ({{{1}}})→({{{2}}})
[[:Category:Translators {{{1}}}-{{{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 Babel-X box code
Translation
This User translates from (en)→(es)
English→español.
{{User translator|en|es}} |translator{{!}}en{{!}}es|
Translation
This User translates from (es)→(en)
español→English.
{{User translator|es|en}} |translator{{!}}es{{!}}en|

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