Modèle:Lvl : Différence entre versions
De EncyclopAtys
Ligne 4 : | Ligne 4 : | ||
-->| 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: {{{lvl}}} div 10 }} x </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: {{{lvl}}} div 10 }} x </span><span style="color: gold;">★</span>'''</div> | ||
<!-- Named | <!-- Named | ||
− | -->| Named = {{#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> | ||
Ligne 11 : | Ligne 11 : | ||
| 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 = {{#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> | ||
Ligne 17 : | Ligne 17 : | ||
| 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-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-shadow: 1px 1px white;">'''<span style="color: black;">★ ★</span>'''</div> }} <!-- Out of Silan, regular mobs | ||
− | -->| #default = {{#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: ( {{{lvl}}} mod 50 ) div 10 }} x </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: ( {{{lvl}}} mod 50 ) div 10 }} x </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: ( {{{lvl}}} mod 50 ) div 10 }} x </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: ( {{{lvl}}} mod 50 ) div 10 }} x </span><span style="color: gold;">★</span>'''</div> | ||
Ligne 28 : | Ligne 28 : | ||
{{WIP}} | {{WIP}} | ||
Exemples: | Exemples: | ||
− | + | {| class="wikitable" | |
− | + | |- | |
− | {{lvl |lvl = 35}}< | + | ! Code !! Résultat |
− | {{lvl |lvl = | + | |- |
− | {{lvl |lvl = | + | | <nowiki>{{lvl |lvl = 35|Silan}}</nowiki> || {{lvl |lvl = 35|Silan}} |
− | {{lvl |lvl = | + | |- |
− | {{lvl |lvl = | + | | <nowiki>{{lvl |lvl = 35}}</nowiki> || {{lvl |lvl = 35}} |
− | {{lvl |lvl = | + | |- |
− | {{lvl |lvl = | + | | <nowiki>{{lvl |lvl = 75}}</nowiki> || {{lvl |lvl = 75}} |
− | < | + | |- |
− | {{lvl |lvl = | + | | <nowiki>{{lvl |lvl = 110}}</nowiki> || {{lvl |lvl = 110}} |
− | {{lvl |lvl = | + | |- |
− | {{lvl |lvl = | + | | <nowiki>{{lvl |lvl = 163}}</nowiki> || {{lvl |lvl = 163}} |
− | {{lvl |lvl = | + | |- |
− | {{lvl |lvl = | + | | <nowiki>{{lvl |lvl = 224}}</nowiki> || {{lvl |lvl = 224}} |
− | {{lvl |lvl = | + | |- |
− | {{lvl |lvl = | + | | <nowiki>{{lvl |lvl = 160|Named}}</nowiki> || {{lvl |lvl = 160|Named}} |
− | {{lvl |lvl = 270|Boss}} | + | |- |
+ | | <nowiki>{{lvl |lvl = 270|Boss}}</nowiki> || {{lvl |lvl = 270|Boss}} | ||
+ | | Texte || Texte | ||
+ | |} | ||
+ | </noinclude> |
Version du 28 juin 2020 à 06:56
Il reste actuellement encore 96 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.
La dernière édition était de Dorothée le 2020-06-28.
Exemples:
Code | Résultat | ||
---|---|---|---|
{{lvl |lvl = 35|Silan}} | 4 x ✹
| ||
{{lvl |lvl = 35}} | 4 x ✹
| ||
{{lvl |lvl = 75}} | 3 x ✹
| ||
{{lvl |lvl = 110}} | 1 x ✹
| ||
{{lvl |lvl = 163}} | 2 x ✹
| ||
{{lvl |lvl = 224}} | 3 x ✹
| ||
{{lvl |lvl = 160|Named}} | 1 x ✹
| ||
{{lvl |lvl = 270|Boss}} | Texte | Texte |