Template:Translations/code: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
<td style="padding-right:10px; padding-top:4px; padding-bottom:4px;"><!-- | <td style="padding-right:10px; padding-top:4px; padding-bottom:4px;"><!-- | ||
-->{{#if: {{{articles|}}} | -->{{#if: {{{articles|}}} | ||
| {{#arraydefine:a|{{#arraymap:{{{articles|}}},{{FULLPAGENAME}}|,|@@@@ | | {{#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<!-- | |||
-->| '''•'''  <!-- | |||
-->|@@@@<!-- | |||
# now remove the artificial sort key (inserted above) | |||
-->|{{#explode:@@@@|\n|1}}<!-- | |||
-->}}<!-- | |||
-->{{#arrayreset:a}}<!-- | |||
-->| {{{message-no-known-translations|}}} | -->| {{{message-no-known-translations|}}} | ||
[[{{Translation of|Category:Untranslated}}]] | [[{{Translation of|Category:Untranslated}}]] | ||
}}<!-- | }}<!-- | ||
--></td> | --></td> | ||
</tr> | |||
</table><!-- | </table><!-- | ||
-->{{Assign property Last revision|{{REVISIONID}}}}<!-- | -->{{Assign property Last revision|{{REVISIONID}}}}<!-- | ||
Revision as of 09:04, 28 April 2011
This is the code page for Template:Translations. Please refer to that template for instructions.