Template:User translator: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (tweak)
m (+cat)
Line 5: Line 5:
| style="font-size:8pt;padding:4pt;line-height:1.25em" | This User [[:Category:Translators|translates]] from ([[: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" | This User [[:Category:Translators|translates]] from ([[:Category:User {{{1}}}|{{{1}}}]])&rarr;([[:Category:User {{{2}}}|{{{2}}}]])<br />'''[[:Category:Translators {{{1}}}-{{{2}}}|{{#language:{{{1}}}}}&rarr;{{#language:{{{2}}}}}]]'''.
|}
|}
</div><includeonly>[[Category:Translators {{{1}}}-{{{2}}}|{{PAGENAME}}]][[Category:Translators|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Language user templates]]{{-}}
</div><includeonly>[[Category:Translators {{{1}}}-{{{2}}}|{{PAGENAME}}]][[Category:Translators|{{PAGENAME}}]]</includeonly><noinclude>{{-}}


This template will categorize you as a translator in a specific direction (lang-a to lang-b), allowing for non-symmetrical capabilities.
This template will categorize you as a translator in a specific direction (lang-a to lang-b), allowing for non-symmetrical capabilities.
Line 15: Line 15:
! Template output
! Template output
! Stand alone code
! Stand alone code
! {{tl|userboxmacro}} code
! [[Template:Babel-X|Babel-X box]] code
|-
|-
| {{User translator|en|es}}
| {{User translator|en|es}}
Line 26: Line 26:
|}
|}
{{WikipediaTemplate|Transbabel}}
{{WikipediaTemplate|Transbabel}}
[[Category:Language user templates|Translator]]
[[Category:Userbox templates|Translator]]
[[Category:OBX templates|Translator]]

</noinclude>
</noinclude>

Revision as of 19:05, 5 July 2007

Translation
This User translates from ([[:Category:User {{{1}}}|{{{1}}}]])→([[:Category:User {{{2}}}|{{{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 {{userboxmacro}} 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.