Template:Translations: Difference between revisions
(fully qualifying the reference to /translations (hope nothing breaks ;)) |
(adding link to Translating/HowTo + cosmetics... need to see how it expands) |
||
Line 3: | Line 3: | ||
<tr> |
<tr> |
||
<td> {{{1|{{{{NAMESPACE}}:{{PAGENAME}}/translations}}}}}</td> |
<td> {{{1|{{{{NAMESPACE}}:{{PAGENAME}}/translations}}}}}</td> |
||
<td align="right" |
<td align="right" style="font-size:80%">[[Translating/HowTo|HowTo]] '''[ID# {{REVISIONID}}]''' {{#if:{{{1|}}}|| <span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}/translations|action=edit}} <tt>'''+/-'''</tt>]}} </span></td></tr></table> |
||
</div><includeonly>[[Category:Translated Pages]]</includeonly> |
</div><includeonly>[[Category:Translated Pages]]</includeonly> |
||
<noinclude><!-- |
<noinclude><!-- |
||
Line 26: | Line 26: | ||
english | español | português |
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 delimeter and thus needs to be escaped. A solution is to use &#124; | or some other (discrete) separator (ie: , - /) |
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 &#124; | or some other (discrete) separator (ie: , - /) |
Revision as of 00:23, 19 July 2007
Template:Translations/translations | HowTo [ID# 52920] +/- |
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 capibility 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# 52920] by this template in the source page. This will allow exact comparissons 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 be as simple as possible, and is currently being used as a sequence of links displayed not by their title, but by the short language names (in their own respective language) separated by '|'.
{{Translations}}
Could result in a line with several links (although one should be the original page) each pointing to a translated version of the current original page. ie:
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 delimeter and thus needs to be escaped. A solution is to use | | or some other (discrete) separator (ie: , - /)
{{Translations | [[One Laptop per Child|english]] | [[Una Laptop por Chico|español]] - [[Um Laptop para cada Criança|português]] / [[One Laptop per Child zh|中文]]}}