Modèle:Lvl : Différence entre versions

De EncyclopAtys

Ligne 1 : Ligne 1 :
 
<!-- {{#expr: floor({{#expr: {{{lvl}}} div 50}})}} , {{{Special}}}                                                              (debug)  -->
 
<!-- {{#expr: floor({{#expr: {{{lvl}}} div 50}})}} , {{{Special}}}                                                              (debug)  -->
{{#switch:{{{Special|}}}<!-- In Silan
+
{{#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 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}})}}
Ligne 32 : Ligne 34 :
 
|-
 
|-
 
| <nowiki>{{lvl |lvl = 35|Special=Silan}}</nowiki> || {{lvl |lvl = 35|Special=Silan}}
 
| <nowiki>{{lvl |lvl = 35|Special=Silan}}</nowiki> || {{lvl |lvl = 35|Special=Silan}}
 +
|-
 +
| <nowiki>{{lvl |lvl = 45|Special=Silan boss}}</nowiki> || {{lvl |lvl = 45|Special=Silan boss}}
 
|-
 
|-
 
| <nowiki>{{lvl |lvl = 35}}</nowiki> || {{lvl |lvl = 35}}
 
| <nowiki>{{lvl |lvl = 35}}</nowiki> || {{lvl |lvl = 35}}

Version du 28 juin 2020 à 07:48

</includeonly>


Important.png
Under Construction Panel.png !!! En travaux !!! Under Construction Panel.png
Il reste actuellement encore 95 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.

Exemples:

Code Résultat
{{lvl |lvl = 35|Special=Silan}}
4  x 
{{lvl |lvl = 45|Special=Silan boss}}
✹ ✹
{{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|Special=Named}}
{{lvl |lvl = 270|Special=Boss}}
✹ ✹