Modèle:Lvl : Différence entre versions

De EncyclopAtys

(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 }} )}} &nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div><!--  
+
-->| 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 }} )}} &nbsp;x&nbsp;</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;">♦ ♦</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;">✹ ✹</span>'''</div><!--
 
<!--  Named
 
<!--  Named
 
-->| Named = {{#switch: {{#expr: floor({{#expr: {{{lvl}}} div 50}})}}<!--  
 
-->| Named = {{#switch: {{#expr: floor({{#expr: {{{lvl}}} div 50}})}}<!--  
--> | 1 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> </span>'''</div><!--  
+
--> | 1 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> </span>'''</div><!--  
-->| 2 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> </span>'''</div><!--  
+
-->| 2 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> </span>'''</div><!--  
-->| 3 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> </span>'''</div><!--  
+
-->| 3 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> </span>'''</div><!--  
-->| 4 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> </span>'''</div><!--  
+
-->| 4 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> </span>'''</div><!--  
-->| 5 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> </span>'''</div> }} <!--  
+
-->| 5 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;"> </span>'''</div> }} <!--  
 
--><!--  Boss
 
--><!--  Boss
 
-->| Boss = {{#switch: {{#expr: floor({{#expr: {{{lvl}}} div 50}})}}<!--  
 
-->| Boss = {{#switch: {{#expr: floor({{#expr: {{{lvl}}} div 50}})}}<!--  
-->| 1 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">♦ ♦</span>'''</div><!--  
+
-->| 1 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">✹ ✹</span>'''</div><!--  
-->| 2 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">♦ ♦</span>'''</div><!--  
+
-->| 2 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">✹ ✹</span>'''</div><!--  
-->| 3 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">♦ ♦</span>'''</div><!--  
+
-->| 3 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">✹ ✹</span>'''</div><!--  
-->| 4 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">♦ ♦</span>'''</div><!--  
+
-->| 4 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">✹ ✹</span>'''</div><!--  
-->| 5 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">♦ ♦</span>'''</div> }}<!--                                                              Out of Silan, regular mobs
+
-->| 5 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296;height:16px; width:48px; text-align:center; text-shadow: 1px 1px white;">'''<span style="color: black;">✹ ✹</span>'''</div> }}<!--                                                              Out of Silan, regular mobs
 
-->| #default = {{#switch: {{#expr: floor({{#expr: {{{lvl}}} div 50}})}}<!--  
 
-->| #default = {{#switch: {{#expr: floor({{#expr: {{{lvl}}} div 50}})}}<!--  
-->| 0 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div><!--  
+
-->| 0 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div><!--  
-->| 1 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div><!--  
+
-->| 1 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div><!--  
-->| 2 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div><!--  
+
-->| 2 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div><!--  
-->| 3 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div><!--  
+
-->| 3 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div><!--  
--> | 4 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div> }}    <!--  
+
--> | 4 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div> }}    <!--  
 
-->| Region = {{#switch:  {{{lvl}}}<!--                Regions
 
-->| Region = {{#switch:  {{{lvl}}}<!--                Regions
-->| 50 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
+
-->| 50 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
-->| 100 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
+
-->| 100 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
-->| 150 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
+
-->| 150 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
-->| 200 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
+
-->| 200 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
-->| 250 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
+
-->| 250 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
 
-->| #default =<big>&#9760;</big> Region level error, it should be 50, 100, 150, 200 or 250 <big>&#9760;</big>}}    <!--                Region Silan
 
-->| #default =<big>&#9760;</big> Region level error, it should be 50, 100, 150, 200 or 250 <big>&#9760;</big>}}    <!--                Region Silan
-->| Region Silan =<table><tr><td><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;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><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;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table> }}</includeonly><!--           
+
-->| Region Silan =<table><tr><td><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;">1&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><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;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table> }}</includeonly><!--           
 
--><noinclude> {{WIP}}
 
--><noinclude> {{WIP}}
 
==Documentation==
 
==Documentation==

Version du 28 juin 2020 à 14:56


Important.png
Under Construction Panel.png !!! En travaux !!! Under Construction Panel.png
Il reste actuellement encore 104 articles en préparation dans la catégorie «WIP»
Article en préparation. Laissez l'auteur le terminer avant de le modifier.
La dernière édition était de Dorothée le 2020-06-28.

Documentation

Ce modèle utilise deux paramètres:

  • lvl : le niveau, qui détermine la couleur du fond et le nombre d'étoiles
  • Special : 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 stars
  • Special : 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 estrellas
  • Especial : 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 bestimmt
  • Special : 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 (обратите внимание на регистр).

Usage ⋅ Verwendung ⋅ Utilizar ⋅ Ипользование

{{lvl | lvl =  level | Special= special }} 

Exemples ⋅ Beispiele ⋅ Examples ⋅ Ejemplos ⋅ Примеры:

Mobs

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}}
✹ ✹

Niveaux de régions

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