Modèle:MobInfoBox : Différence entre versions
De EncyclopAtys
Ligne 1 : | Ligne 1 : | ||
− | + | {{#vardefine:colour|{{#switch:{{{règne|}}} | |
− | | végétal = | + | | végétal = rgba(153, 255, 153, 1) <!-- #9f9 opaque --> |
− | | animal = | + | | animal = rgba(255, 153, 153, 1) <!-- #f99 opaque --> |
− | | | + | | rgba(255, 255, 153, 1)<!-- #ff9 opaque --> |
}} }}<!-- | }} }}<!-- | ||
-->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | oui | ffc | {{#var:colour}} }} }}<!-- | -->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | oui | ffc | {{#var:colour}} }} }}<!-- | ||
Ligne 14 : | Ligne 14 : | ||
-->font-size:1em; font-weight:b_old; font-variant:small-caps; " | {{3DText|3D=outset|text={{{title|Ambre taxonomique}}}}} | -->font-size:1em; font-weight:b_old; font-variant:small-caps; " | {{3DText|3D=outset|text={{{title|Ambre taxonomique}}}}} | ||
|------------------------- <!--Logo and name of the subject--> | |------------------------- <!--Logo and name of the subject--> | ||
− | ! align="centre" colspan="2" style="background: | + | ! align="centre" colspan="2" style="background: {{#var:colour}}; background-color: (rgba(255, 165, 0, 0.2)); background-color: (rgba(255, 165, 0, 0.2)); background-image: linear-gradient(#A50,rgba(255, 165, 0, 0.5),rgba(255, 255, 255, 0.2));background-image: linear-gradient( rgba(255, 255, 255, 0.5),rgba(255, 165, 0, 0.5),rgba(160, 80, 0, 0.5)); padding: 2px;" | <big>{{3DText|text={{#if: {{{nom|}}}|{{{nom}}}|{{PAGENAME}}}}}}</big><br/> |
|- <!--main representative Image of the object--> | |- <!--main representative Image of the object--> | ||
! colspan="2" |[[Image:{{{image}}}|300px]] | ! colspan="2" |[[Image:{{{image}}}|300px]] | ||
− | |-------------------------style="background: | + | |-------------------------style="background: {{#var:colour}};" <!--Kingdom (plant, animal) --> |
!style="background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!-- | !style="background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!-- | ||
-->text-align:right; padding:.2em .8em;"| {{3DText|text='''Règne'''}} | -->text-align:right; padding:.2em .8em;"| {{3DText|text='''Règne'''}} | ||
Ligne 23 : | Ligne 23 : | ||
-->background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- | -->background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- | ||
-->text-align:left; padding:.2em .4em;"| {{{règne}}} | -->text-align:left; padding:.2em .4em;"| {{{règne}}} | ||
− | |-------------------------style="background: | + | |-------------------------style="background: {{#var:colour}};" <!--Category (carnivore, diet, species...)--> |
!style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!-- | !style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!-- | ||
-->text-align:right; padding:.2em .8em; " <!-- | -->text-align:right; padding:.2em .8em; " <!-- | ||
Ligne 30 : | Ligne 30 : | ||
-->text-align:left; padding:.2em .4em; " <!-- | -->text-align:left; padding:.2em .4em; " <!-- | ||
-->text-align:left; padding:.2em .4em;"| {{{catégorie|}}} | -->text-align:left; padding:.2em .4em;"| {{{catégorie|}}} | ||
− | |-------------------------style="background: | + | |-------------------------style="background: {{#var:colour}};" <!--Where--> |
!style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!-- | !style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!-- | ||
-->text-align:right; padding:.2em .8em; " <!-- | -->text-align:right; padding:.2em .8em; " <!-- | ||
Ligne 37 : | Ligne 37 : | ||
-->text-align:left; padding:.2em .4em; " <!-- | -->text-align:left; padding:.2em .4em; " <!-- | ||
-->| {{{habitat|}}} | -->| {{{habitat|}}} | ||
− | |-------------------------style="background: | + | |-------------------------style="background: {{#var:colour}};" <!--Aggro--> |
!style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!-- | !style="background:transparent; background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!-- | ||
-->text-align:right; padding:.2em .8em; "<!-- | -->text-align:right; padding:.2em .8em; "<!-- | ||
Ligne 44 : | Ligne 44 : | ||
-->text-align:left; padding:.2em .4em; " <!-- | -->text-align:left; padding:.2em .4em; " <!-- | ||
-->| {{{aggro|non}}} | -->| {{{aggro|non}}} | ||
− | |-------------------------style="background: | + | |-------------------------style="background: {{#var:colour}};" <!--Damage--> |
!style="background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!-- | !style="background-color: rgba(255, 165, 0, 0.5); background-image: linear-gradient(to left,#900 1%,rgba(255, 165, 0, 0.5) 4%,rgba(255, 165, 0, 0.2));<!-- | ||
-->text-align:right; padding:.2em .8em;"| {{3DText|text='''Dégâts'''}} | -->text-align:right; padding:.2em .8em;"| {{3DText|text='''Dégâts'''}} | ||
Ligne 58 : | Ligne 58 : | ||
-x->| {{{king|}}} | -x->| {{{king|}}} | ||
--> | --> | ||
− | |}< | + | |}<!-- |
− | <noinclude> | + | --><noinclude>{{Clear}} |
{{Trad | {{Trad | ||
|DE=Template:MobInfoBox | |DE=Template:MobInfoBox | ||
Ligne 107 : | Ligne 107 : | ||
}}</nowiki></pre></div> | }}</nowiki></pre></div> | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{MobInfoBox | {{MobInfoBox | ||
|image=Batao_winter.jpg | |image=Batao_winter.jpg | ||
Ligne 123 : | Ligne 117 : | ||
|dégâts=sans défenses | |dégâts=sans défenses | ||
|}} | |}} | ||
− | |||
[[category:Modèle:Infobox]] | [[category:Modèle:Infobox]] | ||
</noinclude> | </noinclude> |
Version du 23 août 2019 à 10:40
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 | |
---|---|
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 | |
---|---|
Règne | végétal |
Catégorie | Arbres |
Écosystème | Jungle |
Type de riposte | sans défenses |