Changes

Jump to navigation Jump to search
Move if's closebrackets to the appropriate spot.
Line 3: Line 3:  
<tr>
 
<tr>
 
  <td>&nbsp;&nbsp;{{{1|{{#ifexist: {{NAMESPACE}}:{{PAGENAME}}/translations |{{{{NAMESPACE}}:{{PAGENAME}}/translations}}|{{translations/instructions}} }}}}}</td>
 
  <td>&nbsp;&nbsp;{{{1|{{#ifexist: {{NAMESPACE}}:{{PAGENAME}}/translations |{{{{NAMESPACE}}:{{PAGENAME}}/translations}}|{{translations/instructions}} }}}}}</td>
  <td align="right" style="font-size:80%">[[Translating/HowTo|HowTo]]&nbsp;'''[ID#&nbsp;{{REVISIONID}}]'''&nbsp;{{#if:{{{1|}}}||&nbsp;<span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}/translations|action=edit}} <tt>'''+/-'''</tt>]}}&nbsp;&nbsp;</span></td></tr></table>
+
  <td align="right" style="font-size:80%">[[Translating/HowTo|HowTo]]&nbsp;'''[ID#&nbsp;{{REVISIONID}}]'''&nbsp;{{#if:{{{1|}}}||&nbsp;<span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}/translations|action=edit}} <tt>'''+/-'''</tt>]&nbsp;&nbsp;</span>}}</td></tr></table>
 
</div><includeonly>[[Category:Translated Pages]]</includeonly>
 
</div><includeonly>[[Category:Translated Pages]]</includeonly>
 
<noinclude><!--
 
<noinclude><!--
Line 19: Line 19:  
== Usage ==
 
== Usage ==
   −
If no argument is provided, the sub-page <tt>currentPage/translations</tt> will be included. This page should use the <nowiki>{{Translationlist}}</nowiki> template to create a list of available translations. For instance, putting <nowiki>{{Translationlist|es|pt|origlang=en}}</nowiki> will result in a list like:
+
If no argument is provided, the sub-page <tt>currentPage/translations</tt> will be included. This page should use the {{tl|Translationlist}} template to create a list of available translations. For instance, putting <nowiki>{{Translationlist|es|pt|origlang=en}}</nowiki> will result in a list like:
    
  english | español | português
 
  english | español | português
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 delimiter and thus needs to be escaped. A solution is to use &amp;#124; &#124; or some other (discrete) separator (i.e.: , - /)
+
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: , - /)
    
  <nowiki>{{Translations  
 
  <nowiki>{{Translations  
   | [[Sugar Labs|english]] &amp;#124; [[Azúcar Labs|español]] - [[Açúcar Labs|português]] / [[糖 实验室|中文]]}}</nowiki>
+
   | [[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>
    
{{Translations  
 
{{Translations  
   | [[Sugar Labs|english]] &#124; [[Azúcar Labs|español]] - [[Açúcar Labs|português]] / [[糖 实验室/lang-zh|中文]]}}
+
   | [[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|中文]]}}
    
</noinclude>
 
</noinclude>
46

edits

Navigation menu