Modèle:MobInfoBox : Différence entre versions

De EncyclopAtys

Ligne 11 : Ligne 11 :
 
| rgba(255, 255, 153, 1)<!-- #ff9 opaque -->
 
| rgba(255, 255, 153, 1)<!-- #ff9 opaque -->
 
}} }}<!--
 
}} }}<!--
-->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | oui | ffc | {{#var:colour}} }} }}<!--
+
-->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | oui | attaque | riposte }} }}<!--
 
-->{|style="float: right;    width:25%;  max-width:30%;  margin: 0.1em;  overflow: auto; <!--
 
-->{|style="float: right;    width:25%;  max-width:30%;  margin: 0.1em;  overflow: auto; <!--
 
-->border: thick outset #C90; border-radius:1em;  padding: 0.1em;<!--
 
-->border: thick outset #C90; border-radius:1em;  padding: 0.1em;<!--
-->background-color: #C90; background-color: rgba(255, 165, 0, 0.5); background-image: radial-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5)); <!--
+
-->background-color: #C90; background-color: rgba(255, 153, 0, 0.5); background-image: radial-gradient(rgba(255, 255, 255, 0.2),rgba(255, 153, 0, 0.5)); <!--
 
-->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center;  "
 
-->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center;  "
|------------------------- <!--InfoBox title-->
+
|------------------------- <!--InfoBox title ok -->
 
|colspan="2" <!--
 
|colspan="2" <!--
 
-->style="text-align:right; vertical-align:center; padding:.01em .04em; <!--
 
-->style="text-align:right; vertical-align:center; padding:.01em .04em; <!--

Version du 23 août 2019 à 16:33

de:Template:MobInfoBox
en:Template:MobInfoBox
es:Template:MobInfoBox
fr:Template:MobInfoBox
Ambre taxonomique
MobInfoBox
[[Image:{{{image}}}|300px]]
Règne {{{règne}}}
Catégorie
Écosystème
Agressif non
Dégâts sans défenses

Ambre taxonomique
Torbak
Torbak.jpg
Règne animal
Catégorie Carnivore Félin
Écosystème Forêts, Jungle et Lacs
Type d'attaque perçant
Modèle:MobInfoBox

Copier/coller:

{{MobInfoBox
|image=<Filename>
|nom={{PAGENAME}}
|règne=<végétal, animal>
|catégorie=<Creature Type>
|habitat=<Regions found in>
|aggro=<oui/non>
|dégâts=<Primary Output Damage>
|}}

Note: {{PAGENAME}} est la valeur par défaut.

remplacez cette valeur si le nom de la page n'est pas le nom du mob
et si vous avez l'intention d'inclure la page.
Exemple:
{{MobInfoBox
|image=Torbak.jpg
|nom=Torbak
|règne=animal
|catégorie=[[:Catégorie:Carnivore|Carnivore]] [[:Catégorie:Félins|Félin]]
|habitat=[[Forêts]], [[Jungle]] et [[Lacs]]
|aggro=Oui
|dégâts=
}}
Ambre taxonomique
Batao
Batao winter.jpg
Règne végétal
Catégorie Arbres
Écosystème Jungle
Type de riposte sans défenses