Difference between revisions of "Template:Translations/code"

From Creative Commons
Jump to: navigation, search
(Blanked the page)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><!--
 
--><table width=100% {{#if:{{{rtl|}}}|dir="rtl"}} style="background:#EEF3E2; border-collapse:collapse; font-size:90%;">
 
      <tr>
 
        <td width=1% valign=top style="padding-left:10px; padding-top:4px; padding-bottom:4px;"><!--
 
        -->[[{{Translation of|CC Wiki:Translate}}|{{{message-languages|}}}]]&nbsp;<!--
 
      --></td>
 
        <td style="padding-right:10px; padding-top:4px; padding-bottom:4px;"><!--
 
        -->{{#if: {{{articles|}}}
 
              | {{#arraydefine:a<!--
 
              -->|{{#arraymap:{{{articles|}}},{{FULLPAGENAME}}|,|@@@@<!--
 
#                      prefix an artificial sort key, to fix sort (must end in " \n")
 
                  -->| {{#language:{{Language code of page|@@@@}}}} \n<!--
 
                    -->[[:@@@@|{{#language:{{Language code of page|@@@@}}}}]]<!--
 
                -->}}<!--
 
              -->|,<!--
 
              -->|unique,sort=asc<!--
 
            -->}}<!--
 
            -->{{#arrayprint:a<!--
 
              -->|&nbsp;&nbsp;&#124;&nbsp;&#32;<!--
 
              -->|@@@@<!--
 
#                  now remove the artificial sort key (inserted above)
 
              -->|{{#explode:@@@@|\n|1}}<!--
 
            -->}}<!--
 
            -->{{#arrayreset:a}}<!--
 
          -->| {{{message-no-known-translations|}}}
 
                [[{{Translation of|Category:Untranslated}}]]
 
            }}<!--
 
      --></td>
 
      </tr>
 
  </table><!--
 
-->{{Assign property Last revision|{{REVISIONID}}}}<!--
 
-->{{Assign property Has translation|{{{articles|}}}}}<!--
 
-->{{Assign property Has language}}</includeonly><noinclude>
 
This is the code page for [[Template:Translations]]. Please refer to that template for instructions.
 
  
[[Category:Support translation templates]]
 
</noinclude>
 

Latest revision as of 20:41, 9 June 2015