Template:Translation

From Archaelund Wiki
Revision as of 11:29, 18 October 2022 by MikeB (talk | contribs) (Created page with "<onlyinclude><includeonly><table style="text-align:left; width:100%;"> <tr><td style="vertical-align:top; width:20%;">24px|link=</td><td style="vertical-a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template generates a table of translation entries intended to be used in the infobox of a page. It takes an internationalization string of the form "... <ES>Spanish translation</ES> <DE>German translation</DE> ..." as input.

Usage

{{Translation|<internationalization string>}}

Internationalization string

The internationalization string contains all translated names of a page (which may be an area, quest, item, etc.) in the form <XX>translation</XX>, where XX represents the respective county code (e.g. ES for spain, DE for Germany, FR for France, and so on). All of these entries can be put together in a single string using arbitrary separators (or no separator at all). Just make sure to put proper opening and closing tags (i.e. <XX> and </XX>) around each translation entry.

Currently supported languages

Only the following languages will be recognized by the template:

Flag UK.png
Flag ES.pngSpanish
Flag DE.png

View/Edit documentation page