Template:Translations: Difference between revisions

Homunq (talk | contribs)
No edit summary
New page: <div style="border-top:1px solid #888888; border-bottom:1px solid #888888; margin:0px;"> <table width="100%" cellpadding="0" cellspacing="0" style="background-color:#d0e6f9; color:grey"> <...
Line 25: Line 25:
== Not recommended usage ==
== Not recommended usage ==


If an argument is provided, it should be a fully set of wiki links with their display. Unfortunately, '|' is used as parameter delimeter and thus needs to be escaped. A solution is to use &amp;#124; &#124; or some other (discrete) separator (ie: , - /)
If an argument is provided, it should be a fully set of wiki links with their display. Unfortunately, '|' is used as parameter delimiter and thus needs to be escaped. A solution is to use &amp;#124; &#124; or some other (discrete) separator (i.e.: , - /)


  <nowiki>{{Translations  
  <nowiki>{{Translations  
   | [[One Laptop per Child|english]] &amp;#124; [[Una Laptop por Chico|español]] - [[Um Laptop para cada Criança|português]] / [[One Laptop per Child zh|中文]]}}</nowiki>
   | [[Sugar Labs|english]] &amp;#124; [[Azúcar Labs|español]] - [[Açúcar Labs|português]] / [[糖 实验室|中文]]}}</nowiki>


{{Translations  
{{Translations  
   | [[One Laptop per Child|english]] &#124; [[Una Laptop por Chico|español]] - [[Um Laptop para cada Criança|português]] / [[One Laptop per Child/lang-zh|中文]]}}
   | [[Sugar Labs|english]] &#124; [[Azúcar Labs|español]] - [[Açúcar Labs|português]] / [[糖 实验室/lang-zh|中文]]}}


</noinclude>
</noinclude>