Modèle:MobLvl : Différence entre versions

De EncyclopAtys

(Stars)
(18 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<noinclude>{{WIP}}</noinclude>
+
{{#switch: {{{lvl}}}<!--  
{{#switch: {{{lvl|}}}<!--  
+
  -->| boss =<!--  
  --> | boss =<!--  
+
  --><div style="border:0px;padding: 1px 1px 3px 1px; background-color: {{{bgcolor}}};height:16px; width:48px; text-align:center;text-shadow: 1px 1px white;">'''<span style="color: black;">★ ★</span>'''</div><!--  
  -->{|cellspacing="0" cellpadding="3px" style="height:16px; width:32px; text-align:center;" <!--
+
  -->| named = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: {{{bgcolor}}};height:16px; width:48px; text-align:center;text-shadow: 1px 1px white;">'''<span style="color: black;">★</span>'''</div><!--  
-->|-bgcolor="{{{colour}}}" <!--
+
  -->| 1|2|3|4|5 =<div style="border:0px;padding: 1px 1px 3px 1px; background-color: {{{bgcolor}}};height:16px; width:48px; text-align:center;text-shadow: 1px 1px black;">'''<span style="color: white;">{{{lvl}}}&nbsp;x&nbsp;</span><span style="color: gold;">★</span>'''</div><!--   
-->| colspan="3"|<font style="color: gold;">★ ★</font>'''<!--
+
-->| #default = <big><big>&#127988;&#8205;&#9760;&#65039;</big></big> }}
-->|-<!--
+
 
-->|}<!--  
+
<noinclude>{{WIP}}
  --> | named= <!--
 
-->{|cellspacing="0" cellpadding="3px" style="height:16px; width:32px; text-align:center;" <!--
 
-->|-bgcolor="{{{colour}}}" <!--
 
-->| colspan="3"|<font style="color: gold;">★</font>'''<!--
 
-->|-<!--
 
-->|}<!--  
 
  --> | 1|2|3|4|5 =<!--
 
-->{|cellspacing="0" cellpadding="3px" style="height:16px; width:32px; text-align:center;" <!--
 
-->|-bgcolor="{{{colour}}}" <!--
 
-->| <font style="color: white;">''' {{{lvl}}}'''</font> || <font style="color: white; ">'''x'''</font> ||'''<font style="color: gold;">★</font>'''<!--
 
-->|-<!--  
 
  -->|}<!--
 
-->}}
 
{|cellspacing="0" cellpadding="3px" style="height:16px; width:32px; text-align:center;"
 
|-bgcolor="{{{colour}}}"
 
| <font style="color: white;">''' {{{lvl}}}'''</font> || <font style="color: white; ">'''x'''</font> ||'''<font style="color: gold;">★</font>'''
 
|-
 
|}
 
<noinclude>
 
<span style="font: italic 1em serif; color: gold; ">2 x★</span><br />
 
 
==Usage==
 
==Usage==
 
  <nowiki>{{MobLvl
 
  <nowiki>{{MobLvl
|colour= green, orange, red, purple (background color)
+
|bgcolor= see below <!-- DarkSeaGreen, CornflowerBlue, DarkSlateBlue, LemonChiffon,dark  orange, red, purple (background color) -->
|lvl= 1, 2, 3, 4, 5, named, boss
+
|lvl= 5  
 
}}</nowiki>
 
}}</nowiki>
==example==
+
===Color code===
 +
{| class="wikitable"
 +
|-
 +
! Approx. Level range !! Color !! Color
 +
|-
 +
| ≤ 40 || #6eaa87 ||style="color:White; background-color:#6eaa87;"| <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★</span>
 +
|-
 +
| 10-50 || #6e6ee1 ||style="color:White; background-color:#6e6ee1;"| <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★</span>
 +
|-
 +
| 50-100 || #ffffac ||style="color:White; background-color:#ffffac;"| <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★</span>
 +
|-
 +
| 100 -150 || #ffb464 ||style="color:White; background-color:#ffb464;"| <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★</span>
 +
|-
 +
| 150-200 || #c83232 ||style="color:White; background-color:#c83232;"| <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★</span>
 +
|-
 +
| ≥ 200 || #963296 ||style="color:White; background-color:#963296;"| <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★</span>
 +
|}
 +
===Stars ===
 +
{| class="wikitable"
 +
|-
 +
! Dizain !! Stars
 +
|-
 +
| 0 - +10 || <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★</span>
 +
|-
 +
| +10 - +20 || <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★ ★</span>
 +
|-
 +
| +20 - +30 || <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★ ★ ★</span>
 +
|-
 +
| +30 - +40 || <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★ ★ ★ ★</span>
 +
|-
 +
| +40 - +50 || <span style="color: gold;text-align:center;text-shadow: 1px 1px black;">★ ★ ★ ★ ★</span>
 +
|-
 +
| Named (+60) || <span style="color: black;text-align:center;text-shadow: 1px 1px grey;">★</span>
 +
|-
 +
| Boss/King (+70) || <span style="color: black;text-align:center;text-shadow: 1px 1px grey;">★ ★</span>
 +
|}
 +
 
 +
==Exemples==
 
  <nowiki>{{MobLvl
 
  <nowiki>{{MobLvl
|colour= purple
+
|bgcolor= #963296
 
|lvl= 3
 
|lvl= 3
 
}}</nowiki>
 
}}</nowiki>
 
{{MobLvl
 
{{MobLvl
|colour= purple
+
|bgcolor= #963296
 
|lvl= 3
 
|lvl= 3
 
}}
 
}}
 
  <nowiki>{{MobLvl
 
  <nowiki>{{MobLvl
|colour= red
+
|bgcolor= #c83232
 
|lvl= boss
 
|lvl= boss
 
}}</nowiki>
 
}}</nowiki>
 
{{MobLvl
 
{{MobLvl
|colour= red
+
|bgcolor= #c83232
 
|lvl= boss
 
|lvl= boss
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Version du 22 mai 2020 à 08:28

🏴‍☠️


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-05-22.

Usage

{{MobLvl
|bgcolor= see below <!-- DarkSeaGreen, CornflowerBlue, DarkSlateBlue, LemonChiffon,dark  orange, red, purple (background color) -->
|lvl= 5 
}}

Color code

Approx. Level range Color Color
≤ 40 #6eaa87
10-50 #6e6ee1
50-100 #ffffac
100 -150 #ffb464
150-200 #c83232
≥ 200 #963296

Stars

Dizain Stars
0 - +10
+10 - +20 ★ ★
+20 - +30 ★ ★ ★
+30 - +40 ★ ★ ★ ★
+40 - +50 ★ ★ ★ ★ ★
Named (+60)
Boss/King (+70) ★ ★

Exemples

{{MobLvl
|bgcolor= #963296
|lvl= 3
}}

🏴‍☠️ Woaaah! no stars!


{{MobLvl
|bgcolor= #c83232
|lvl= boss
}}

🏴‍☠️ Woaaah! no stars!