Шаблон:Trad/Documentation — различия между версиями

Материал из ЭнциклопАтис

Перейти к: навигация, поиск
(Перенаправление на Шаблон:Trad)
 
Строка 1: Строка 1:
<noinclude>
+
#REDIRECT [[Шаблон:Trad]]
{{Trad
 
|DE = Vorlage:Trad
 
|ES = Plantilla:Trad
 
|EN = Template:Trad
 
|FR = Modèle:Trad
 
|RU = Шаблон:Trad
 
}}</noinclude>
 
 
 
Small button to switch from one language to another.
 
 
 
=Parameters=
 
Use as follows:
 
 
 
{<nowiki>{</nowiki>Trad|<LanguageCode>=<Name of the translated page in language XX>|etc...}}
 
 
 
*The possible language codes are: DE, EN, ES, FR et RU.<br />
 
*There are two additional  format parameters: "'''H'''" to display the box horiziontally and "'''palette'''" to use a theme palette; for the available palettes, see:  [[:Template:ColorAtys]]
 
*When a language page is not set, the button is not displayed. On the opposite it will be displayed even if the destination page is empty. the button has no way to know if the destination page has been translated or not.
 
 
 
=Usage=
 
<pre><nowiki>
 
{{Trad
 
|DE =
 
|EN =
 
|ES =
 
|FR =
 
|RU =
 
|H  =
 
|palette=
 
}}</nowiki></pre>
 
 
 
=Exemples=
 
*Exemple used in this page (top right):
 
{<nowiki>{</nowiki>Trad| DE=Vorlage:Trad| ES=Plantilla:Trad | EN=Template:Trad | FR=Modèle:Trad | RU=Шаблоны:Trad}} comme montré plus haut
 
 
 
*Horizontal version, with "fyros" palette:
 
 
 
{<nowiki>{</nowiki>Trad| DE=Vorlage:Trad| ES=Plantilla:Trad | EN=Template:Trad | FR=Modèle:Trad | RU=Шаблоны:Trad |H Ja, Yes, Si, Oui, Da  and every no blank text|palette=fyros}} {{clear}}
 
:gives :{{Trad| DE=Vorlage:Trad| ES=Plantilla:Trad | EN=Template:Trad | FR=Modèle:Trad | RU=Шаблоны:Trad |H= Ja, Yes, Si, Oui, Da and every no blank text|palette=fyros }}
 
 
 
 
 
 
 
<noinclude>[[category:templates]]</noinclude>
 

Текущая версия на 20:13, 23 сентября 2019

Перенаправление на: