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 | attaque | riposte }} }}<!-- | + | -->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | oui | d'attaque | de 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;<!-- | ||
| Ligne 24 : | Ligne 24 : | ||
! 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: 0.3em;" <!-- | ! 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: 0.3em;" <!-- | ||
-->| <big>{{3DText|text={{#if: {{{nom|}}}|{{{nom}}}|{{PAGENAME}}}}}}</big> | -->| <big>{{3DText|text={{#if: {{{nom|}}}|{{{nom}}}|{{PAGENAME}}}}}}</big> | ||
| − | |------------------------- <!--main representative Image of the object | + | |------------------------- <!--main representative Image of the object--> |
! colspan="2" |[[Image:{{{image}}}|300px]] | ! colspan="2" |[[Image:{{{image}}}|300px]] | ||
|-------------------------style="background: {{#var:colour}};" <!--Kingdom (plant, animal) --> | |-------------------------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'''}} | ||
!style="background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right,#{{ColorAtys|type=dark}} 1%,#{{ColorAtys|type=light}} 2%,#{{ColorAtys|type=bg}});<!-- | !style="background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right,#{{ColorAtys|type=dark}} 1%,#{{ColorAtys|type=light}} 2%,#{{ColorAtys|type=bg}});<!-- | ||
-->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));<!-- | ||
| Ligne 36 : | Ligne 37 : | ||
!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; " <!-- | ||
| − | -->| {{3DText|text= | + | -->| {{3DText|text='''Catégorie'''}} |
!style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- | !style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- | ||
| − | |||
-->text-align:left; padding:.2em .4em;"<!-- | -->text-align:left; padding:.2em .4em;"<!-- | ||
| − | -->| {{{catégorie | + | -->| {{{catégorie}}} |
|-------------------------style="background: {{#var:colour}};" <!--Where--> | |-------------------------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; " <!-- | ||
| − | -->| {{3DText|text= | + | -->| {{3DText|text='''Écosystème'''}} |
!style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- | !style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- | ||
-->text-align:left; padding:.2em .4em; " <!-- | -->text-align:left; padding:.2em .4em; " <!-- | ||
| − | -->| {{{habitat | + | -->| {{{habitat}}} |
|-------------------------style="background: {{#var:colour}};" <!--Aggro--> | |-------------------------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; "<!-- | ||
| − | --> | {{3DText|text=''' | + | --> | {{3DText|text='''Agressif'''}} |
!style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- | !style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- | ||
-->text-align:left; padding:.2em .4em; " <!-- | -->text-align:left; padding:.2em .4em; " <!-- | ||
| − | -->| {{{aggro | + | -->| {{{aggro}}} |
|-------------------------style="background: {{#var:colour}};" <!--Damage--> | |-------------------------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=''' | + | -->text-align:right; padding:.2em .8em;"<!-- |
| + | -->| {{3DText|text='''Type {{#var:ojo}}'''}} | ||
!style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- | !style="background:transparent; background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- | ||
-->text-align:left; padding:.2em .4em;" <!-- | -->text-align:left; padding:.2em .4em;" <!-- | ||
| − | -->| {{{ | + | -->| {{#ifeq: {{lc:{{{aggro|}}} }} | oui | {{{dégâts|inconnu}}} | {{#if: {{{dégâts|}}} |{{{dégâts}}} |aucun}} }} |
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
|}<!-- | |}<!-- | ||
--><noinclude>{{Clear}} | --><noinclude>{{Clear}} | ||
| Ligne 79 : | Ligne 72 : | ||
|aggro=Oui | |aggro=Oui | ||
|dégâts=perçant | |dégâts=perçant | ||
| − | |||
}} | }} | ||
| Ligne 119 : | Ligne 111 : | ||
|habitat=[[Jungle]] | |habitat=[[Jungle]] | ||
|aggro=non | |aggro=non | ||
| − | |||
|}} | |}} | ||
[[category:Modèle:Infobox]] | [[category:Modèle:Infobox]] | ||
</noinclude> | </noinclude> | ||
Version du 24 août 2019 à 14:38
| Ambre taxonomique | |
| MobInfoBox | |
|---|---|
| [[Image:{{{image}}}|300px]] | |
| Règne | {{{règne}}} |
| Catégorie | {{{catégorie}}} |
| Écosystème | {{{habitat}}} |
| Agressif | {{{aggro}}} |
| Type de riposte | aucun |
| 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 |