(Annulation des modifications 55392 de Dorothée (discussion)) |
|||
Ligne 1 : | Ligne 1 : | ||
<includeonly> <!-- {{#expr: floor({{#expr: {{{lvl}}} div 50}})}} , {{{Special}}} (debug) -->{{#switch:{{{Special|}}}<!-- In Silan | <includeonly> <!-- {{#expr: floor({{#expr: {{{lvl}}} div 50}})}} , {{{Special}}} (debug) -->{{#switch:{{{Special|}}}<!-- In Silan | ||
− | -->| Silan = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6eaa87;height:16px; width:48px; text-align:center;text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: {{{lvl}}} div 10 }} )}} x </span><span style="color: gold;"> | + | -->| Silan = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6eaa87;height:16px; width:48px; text-align:center;text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: {{{lvl}}} div 10 }} )}} x </span><span style="color: gold;">⚪</span>'''</div><!-- |
-->| Silan named = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6eaa87;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> ✹</span>'''</div><!-- | -->| Silan named = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6eaa87;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> ✹</span>'''</div><!-- | ||
− | -->| Silan boss= <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6eaa87;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> | + | -->| Silan boss= <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6eaa87;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">⚪ ✹</span>'''</div><!-- |
<!-- Named | <!-- Named | ||
-->| Named = {{#switch: {{#expr: floor({{#expr: {{{lvl}}} div 50}})}}<!-- | -->| Named = {{#switch: {{#expr: floor({{#expr: {{{lvl}}} div 50}})}}<!-- |
Ce modèle utilise deux paramètres:
lvl
: le niveau, qui détermine la couleur du fond et le nombre d'étoilesSpecial
: optionnel, qui détermine les variantes. Il peut prendre les valeurs Silan, Silan named, Silan boss, Named, Boss, Region ou Region Silan
(attention à la casse).This model use two parameters:
lvl
: the level, which determines the background color and the number of starsSpecial
: optional, which determines the variants. It can have the values Silan, Silan named, Silan boss, Named, Boss, Region or Region Silan
(case sensitive).Este modelo utiliza dos parámetros:
lvl
: el nivel, que determina el color de fondo y el número de estrellasEspecial
: opcional, que determina las variantes. Puede tomar los valores Silan, Silan named, Silan boss, Named, Boss, Region o Region Silan
(distingue entre mayúsculas y minúsculas).Dieses Modell verwendet zwei Parameter:
lvl
: die Ebene, die die Hintergrundfarbe und die Anzahl der Sterne bestimmtSpecial
: Optional, welches die Varianten bestimmt. Es kann die Werte Silan, Silan named, Silan boss, Named, Boss, Region oder Region Silan
(Achtung groß-und Kleinschreibung) annehmen.Этот шаблон использует два параметра:
lvl
: уровень, который определяет цвет фона и количество звездSpecial
: необязательный, который определяет варианты. Он может принимать значения Silan, Silan named, Silan boss, Silan boss, Named, Boss, Region или Region Silan
(обратите внимание на регистр).{{lvl | lvl = level | Special= special }}
Code | Résultat |
---|---|
{{lvl |lvl = 35|Special=Silan}} | 4 x ✹
|
{{lvl |lvl = 45|Special=Silan boss}} | ✹ ✹
|
{{lvl |lvl = 45}} | 5 x ✹
|
{{lvl |lvl = 75}} | 3 x ✹
|
{{lvl |lvl = 110}} | 1 x ✹
|
{{lvl |lvl = 163}} | 2 x ✹
|
{{lvl |lvl = 224}} | 3 x ✹
|
{{lvl |lvl = 160|Special=Named}} | ✹
|
{{lvl |lvl = 270|Special=Boss}} | ✹ ✹
|
Niveau | Code | Résultat | |
---|---|---|---|
50 | {{lvl |Special=Region Silan}} |
| |
50 | {{lvl |lvl = 50|Special=Region}} |
| |
100 | {{lvl |lvl = 100|Special=Region}} |
| |
150 | {{lvl |lvl = 150|Special=Region}} |
| |
200 | {{lvl |lvl = 200|Special=Region}} |
| |
250 | {{lvl |lvl = 250|Special=Region}} |
| |
153 | {{lvl |lvl = 153|Special=Region}} | ☠ Region level error, it should be 50, 100, 150, 200 or 250 ☠ |