Difference between revisions of "Template:Translations"
(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 | + | 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 &#124; | or some other (discrete) separator (i.e.: , - /) |
<nowiki>{{Translations | <nowiki>{{Translations | ||
− | | [[ | + | | [[Sugar Labs|english]] &#124; [[Azúcar Labs|español]] - [[Açúcar Labs|português]] / [[糖 实验室|中文]]}}</nowiki> |
{{Translations | {{Translations | ||
− | | [[ | + | | [[Sugar Labs|english]] | [[Azúcar Labs|español]] - [[Açúcar Labs|português]] / [[糖 实验室/lang-zh|中文]]}} |
</noinclude> | </noinclude> |
Revision as of 20:30, 17 May 2008
Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is Translation Team/ISO 639 language code for your translation) to Template:Translations/translations | HowTo [ID# 496] +/- |
The intent of this template is to mimic the inverse of the Template:Translation (which is geared towards the translated page) by having a template to be placed in the original pages while preserving the capability to navigate all the translations.
NOTE: When translating (or updating a translated page) you MUST update the version number of the {{Translation ... version = xxxxx ... }}—with the value reported on the far right: [ID# 496] by this template in the source page. This will allow exact comparisons between the current version and the version originally translated or last updated.
Usage
If no argument is provided, the sub-page currentPage/translations will be included. This page should use the {{Translationlist}} template to create a list of available translations. For instance, putting {{Translationlist|es|pt|origlang=en}} will result in a list like:
english | español | português
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 | | or some other (discrete) separator (i.e.: , - /)
{{Translations | [[Sugar Labs|english]] | [[Azúcar Labs|español]] - [[Açúcar Labs|português]] / [[糖 实验室|中文]]}}