Difference between revisions of "Template:WA VersionHistory"
From Worms Knowledge Base
m |
|||
Line 3: | Line 3: | ||
|es={{WA VersionHistory/core|W:A Historial de Versiones|Léeme de Worms Armageddon|Actualizaciones del Beta ||Actualizaciones del | v3.5}} | |es={{WA VersionHistory/core|W:A Historial de Versiones|Léeme de Worms Armageddon|Actualizaciones del Beta ||Actualizaciones del | v3.5}} | ||
|ru={{WA VersionHistory/core|История версий W:A|Worms Armageddon ReadMe (Russian)|| Beta Update|v3.5 | Update}} | |ru={{WA VersionHistory/core|История версий W:A|Worms Armageddon ReadMe (Russian)|| Beta Update|v3.5 | Update}} | ||
+ | |fr={{WA VersionHistory/core|Historique des versions de W:A|http://worms2d.info/Worms_Armageddon_ReadMe_%28French%29|| Beta Update|v3.5 | Update}} | ||
<!-- | <!-- | ||
(add new languages above this comment) | (add new languages above this comment) | ||
Line 18: | Line 19: | ||
*es : Spanish | *es : Spanish | ||
*ru : Russian | *ru : Russian | ||
+ | *fr : French | ||
===Example=== | ===Example=== | ||
Line 23: | Line 25: | ||
<nowiki>{{WA VersionHistory|es}}</nowiki> | <nowiki>{{WA VersionHistory|es}}</nowiki> | ||
<nowiki>{{WA VersionHistory|ru}}</nowiki> | <nowiki>{{WA VersionHistory|ru}}</nowiki> | ||
+ | <nowiki>{{WA VersionHistory|fr}}</nowiki> | ||
==Adding a new language== | ==Adding a new language== |
Revision as of 17:36, 11 December 2010
This navbox should help people navigate inside the version history pages.
Usage
{{WA VersionHistory|language code}}
The language will default to Engilsh (en) if the parameter is empty.
Language codes supported
- en : English
- es : Spanish
- ru : Russian
- fr : French
Example
{{WA VersionHistory|en}} {{WA VersionHistory|es}} {{WA VersionHistory|ru}} {{WA VersionHistory|fr}}
Adding a new language
To add a new language, you have to translate the following texts:
Description | Text & Parameters (used later) | English version |
---|---|---|
Navbox title | {{{1}}} | W:A Version History |
Link to the readme page | {{{2}}} | Worms_Armageddon_ReadMe_(English) |
Links to the v3.6.x.x Beta update subpages | {{{3|}}}v3.6.x.x{{{4|}}} | v3.6.x.x_Beta_Update |
Links to the v3.5 Beta update subpages | {{{5|}}}Beta N{{{6|}}} | v3.5_Beta N_Update |
Note: the spaces inside the links are converted to underscores (_) for visibility. |
Once the translation is complete, add the following to the template code inside the #switch parameters:
|language code={{WA VersionHistory/core|{{{1}}}|{{{2}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}
for example, in English:
|en={{WA VersionHistory/core|W:A Version History|Worms Armageddon ReadMe (English)|| Beta Update|v3.5 | Update}}
Please be careful when adding spaces; those in the start or end of parameters are preserved when transcluding. [1]