Template:Trad

From EncyclopAtys

(Redirected from Template:Trad/Documentation)
Jump to: navigation, search
de:Vorlage:Trad
en:Template:Trad
es:Plantilla:Trad
fr:Modèle:Trad
ru:Шаблон:Trad
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Zorroargh, 2021-12-12)

Small buttons to switch from one language to another.

To be put as high up in the page as possible.

It is possible to transform this tool into an alert banner in case of doubtful translation on the page where this "template" is affixed.

See Template:TIP

Parameters

Use as follows:

{{Trad|<LanguageCode>=<Name of the translated page in language XX>|<Page_Status>= <Colour Code>| H=<Vertical/Horizontal>|palette=<Theme Colour>|ref= <Link to Reference Page> |com= <Comment>}}
  • The possible language codes are: DE, EN, ES, FR and RU.
  • Page translation status:
    • When a language page is not set, the button is not displayed. On the opposite, if set, it will be displayed even if the destination page is empty. the button has no way to know if the destination page exists, is empty, has been translated or not (hence the interest of the status indicator).
    • Status parameters DEs, ENs, ESs, FRs et RUs can be 0, 1, 2, 3, 4, 5 or nothing. They are used to display a coloured dot (Template:Dot) to the right of the language symbol, which indicates the status of the corresponding page. The color code is identical to that of the Template:TIP:
Code Résult Translation Status
XXs=0 Original.
XXs=1 Translation requested.
XXs=2 Translation in progress.
XXs=3 Translation under review.
XXs=4 Translated.
XXs=5 Not translated or the page doesn't exist yet.
XXs= Unknown status.
  • There are two additional format parameters: "H" to display the box horizontally and "palette" to use a theme palette; for the available palettes, see: Template:ColorAtys

Usage

{{Trad
|DE = Page |DEs= 
|EN = Page |ENs= 
|ES = Page |ESs= 
|FR = Page |FRs= 
|RU = Page |RUs= 
|H  = 
|palette= Theme
|ref= Page_link
|com= Comment
}}

Exemples

Exemple : This Page (see upper right corner)

{{Trad
|DE = Vorlage:Trad
|EN = Template:Trad 
|ES = Plantilla:Trad 
|FR = Modèle:Trad 
|RU = Шаблон:Trad 
|palette=fyros
}}

Alert Exemple

{{Trad
|DE = Vorlage:Trad
|EN = Template:Trad 
|ES = Plantilla:Trad 
|FR = Modèle:Trad 
|RU = Шаблон:Trad 
|H  =
|palette=fyros
|ref=[[:ru:Template:Trad|This template in Russian]]
|com=Significant discrepancies with the reference. To be reread.
}}

which gives:

de:Vorlage:Trad en:Template:Trad es:Plantilla:Trad fr:Modèle:Trad ru:Шаблон:Trad
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) : This template in Russian
Notes: Significant discrepancies with the reference. To be reread. (Zorroargh, 2021-12-12)


Alert exemple with translation status

{{Trad
|DE = Vorlage:Trad
|DEs=4
|EN = Template:Trad 
|ENs=1
|ES = Plantilla:Trad 
|ESs=2
|FR = Modèle:Trad 
|FRs=3
|RU = Шаблон:Trad 
|RUs=0
|H  =
|palette=fyros
|ref=[[:ru:Template:Trad|This template in Russian]]
|com=Significant discrepancies with the reference. To be reread.
}}

which gives:

de:Vorlage:Trad en:Template:Trad es:Plantilla:Trad fr:Modèle:Trad ru:Шаблон:Trad
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) : This template in Russian
Notes: Significant discrepancies with the reference. To be reread. (Zorroargh, 2021-12-12)


Exemple with translation status in horizontal mode, and fyros palette.

{{Trad
|DE = Vorlage:Trad
|DEs=4
|EN = Template:Trad 
|ENs=1
|ES = Plantilla:Trad 
|FR = Modèle:Trad 
|FRs=3
|RU = Шаблон:Trad 
|RUs=0
|H  = はい
|palette=fyros
}}
which gives:
de:Vorlage:Trad en:Template:Trad es:Plantilla:Trad fr:Modèle:Trad ru:Шаблон:Trad
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Zorroargh, 2021-12-12)


Exemple in horizontal mode, without translation status

{{Trad
|DE = Vorlage:Trad
|EN = Template:Trad 
|ES = Plantilla:Trad 
|FR = Modèle:Trad 
|RU = Шаблон:Trad 
|H  = はい
|palette=fyros
}}
which gives:
de:Vorlage:Trad en:Template:Trad es:Plantilla:Trad fr:Modèle:Trad ru:Шаблон:Trad
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Zorroargh, 2021-12-12)


Last version 2021-12-12•