Jump to content

Template:Translations/code: Difference between revisions

From CC Public Wiki
No edit summary
Matt Lee (talk | contribs)
Blanked the page
 
(12 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}}
                  -->|,<!--
                  -->|@@@@<!--
                      here add an artificail sort key, to sort alphabetically by language name
                      (final # separates key from name; space before separator is needed for sort)
                  -->|{{#language:{{#ask:[[:@@@@]]|?Has language#=}}}} #<!--
                  -->[[:@@@@ | {{#language: {{#ask:[[:@@@@]]|?Has language#=}} }}]]<!--
                -->}}<!--
              -->|,<!--
              -->|unique,sort=asc<!--
            -->}}<!--
            -->{{#arrayprint:a<!--
              -->|&nbsp;&nbsp;'''&bull;'''&nbsp;&#32;<!--
              -->|@@@@<!--
                  now remove the artificial sort key
              -->|{{#explode:@@@@|#|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