Modèle:MobInfoBox : Différence entre versions
De EncyclopAtys
m (→Exemples) |
|||
(25 révisions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | < | + | <noinclude>{{Trad |
− | | végétal = | + | |DE=Vorlage:MobInfoBox|DEs=4 |
− | | animal = | + | |EN=Template:MobInfoBox|ENs=4 |
− | | | + | |ES=Plantilla:MobInfoBox|ESs=0 |
+ | |FR=Modèle:MobInfoBox|FRs=4 | ||
+ | |RU=Template:MobInfoBox|RUs=4 | ||
+ | }} | ||
+ | </noinclude>{{#vardefine:colour|{{#switch:{{lc:{{{règne}}} }} | ||
+ | | végétal = rgba(153, 255, 153, 1) <!-- #9f9 opaque --> | ||
+ | | animal = rgba(255, 153, 153, 1) <!-- #f99 opaque --> | ||
+ | | rgba(255, 255, 153, 1)<!-- #ff9 opaque --> | ||
}} }}<!-- | }} }}<!-- | ||
− | -->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | oui | | + | -->{{#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;<!-- | ||
− | -->background-color: #C90; background-color: rgba(255, | + | -->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; " | ||
− | |------------------------- <!-- | + | |------------------------- <!--Box title (theme)--> |
|colspan="2" <!-- | |colspan="2" <!-- | ||
-->style="text-align:right; vertical-align:center; padding:.01em .04em; <!-- | -->style="text-align:right; vertical-align:center; padding:.01em .04em; <!-- | ||
− | -->font-size:1em; font-weight:b_old; font-variant:small-caps; " | {{3DText|3D=outset|text= | + | -->font-size:1em; font-weight:b_old; font-variant:small-caps; " <!-- |
+ | -->| {{3DText|3D=outset|text=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: 0.3em;" <!-- |
− | |- | + | -->| <big>{{3DText|text={{#if: {{{nom|}}}|{{{nom}}}|{{PAGENAME}}}}}}</big> |
+ | |------------------------- <!--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'''}} | ||
!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));<!-- | ||
− | -->text-align:left; padding:.2em .4em;"| {{{règne}}} | + | -->text-align:left; padding:.2em .4em;"<!-- |
− | |-------------------------style="background: {{#var:colour}};" <!--Category ( | + | -->| {{{règne}}} |
+ | |-------------------------style="background: {{#var:colour}};" <!--Category (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; " <!-- | ||
− | -->| {{3DText|text= | + | -->| {{3DText|text='''Catégorie'''}} |
− | !style="background: | + | !style="background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right,#{{ColorAtys|type=dark}} 1%,#{{ColorAtys|type=light}} 2%,#{{ColorAtys|type=bg}});<!-- |
− | -->text-align:left; padding:.2em .4em; " <!-- | + | -->background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- |
− | --> | + | -->text-align:left; padding:.2em .4em;"<!-- |
+ | -->| {{{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=" | + | !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));<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->text-align:left; padding:.2em .4em; " <!-- | -->text-align:left; padding:.2em .4em; " <!-- | ||
− | -->| {{{aggro| | + | -->| {{{habitat}}} |
− | + | {{#ifeq: {{lc:{{{aggro|}}}-{{{règne|}}}-{{{dégâts|}}} }} | non-végétal- | | <!-- | |
+ | -->{{!}}-------------------------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;" | + | -->text-align:right; padding:.2em .8em;"<!-- |
+ | -->{{!}} {{3DText|text='''Type {{#var:ojo}}'''}} | ||
!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));<!-- | ||
− | -->text-align:left; padding:.2em .4em;" | + | -->text-align:left; padding:.2em .4em;"<!-- |
− | | | + | -->{{!}} {{{dégâts|inconnus}}} }} |
− | + | |}<!-- | |
− | - | + | --><noinclude>{{Clear}} |
− | + | ||
− | | | + | ==Description== |
− | + | ||
− | + | <pre> | |
− | + | {{MobInfoBox | |
− | + | |image=<Filename> | |
− | + | |nom=<nom de la créature> | |
+ | |règne= végétal, animal ou autres (par défaut) | ||
+ | |catégorie=<catégorie du règne> | ||
+ | |habitat=<régions principales où vit la créature> | ||
+ | |aggro=<oui/non> (Cette information n'apparaît pas dans le cube d'ambre, mais modifie l'intitulé de l'attaque selon le cas si elle existe.) | ||
+ | |dégâts=<type d'attaque ou de défense> | ||
+ | |}} | ||
+ | </pre> | ||
+ | |||
+ | ==Exemples== | ||
+ | |||
{{MobInfoBox | {{MobInfoBox | ||
− | |image= | + | |image=Clopper.jpg |
− | |nom= | + | |nom=Fluffy Bunnies |
|règne=animal | |règne=animal | ||
− | |catégorie= | + | |catégorie='''Controverse:''' |
− | + | D'après certains scientifiques, c'est un crustacé omnivore, et selon d'autres, un carnivore. | |
− | + | |habitat=partout | |
− | + | |aggro=oui | |
− | + | |dégâts=Tenaillement | |
− | + | |}} | |
− | + | {{MobInfoBox | |
− | + | |image=Wombai.jpg | |
− | + | |nom=Wombaï | |
− | |||
− | ''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |habitat= | ||
− | |aggro= | ||
− | |dégâts= | ||
− | |}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |image= | ||
− | |nom= | ||
|règne=animal | |règne=animal | ||
− | |catégorie=[[:Catégorie: | + | |catégorie=Quadrodon |
− | |habitat=[[ | + | |habitat=[[Jungle]] y [[Lacs]] |
− | |aggro= | + | |aggro=non |
+ | |}} | ||
+ | {{MobInfoBox | ||
+ | |image=Stinga.jpg | ||
+ | |nom=Stinga | ||
+ | |règne=végétal | ||
+ | |catégorie=[[:Catégorie: Plantes intelligentes| Plantes intelligentes]] [[:Catégorie:aquatiques|aquatiques]] | ||
+ | |habitat=[[Lacs]] | ||
+ | |aggro=non | ||
+ | |dégâts=missile magique de [[froid]] et [[enracinement]] | ||
+ | |}} | ||
+ | {{MobInfoBox | ||
+ | |image=Batao_winter.jpg | ||
+ | |nom=Batao | ||
+ | |règne=végétal | ||
+ | |catégorie=[[:Catégorie:arbres|arbres]] | ||
+ | |habitat=[[Jungle]] | ||
+ | |aggro=non | ||
|dégâts= | |dégâts= | ||
− | }} | + | |}} |
− | + | {{Clear}} | |
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[category:Modèle:Infobox]] | + | [[category:Modèle:Infobox]] [[Catégorie:Cubes d'ambre]] |
</noinclude> | </noinclude> |
Version actuelle datée du 19 octobre 2019 à 08:50
Ambre taxonomique | |
MobInfoBox | |
---|---|
[[Image:{{{image}}}|300px]] | |
Règne | {{{règne}}} |
Catégorie | {{{catégorie}}} |
Écosystème | {{{habitat}}} |
Type de riposte | inconnus |
Description
{{MobInfoBox |image=<Filename> |nom=<nom de la créature> |règne= végétal, animal ou autres (par défaut) |catégorie=<catégorie du règne> |habitat=<régions principales où vit la créature> |aggro=<oui/non> (Cette information n'apparaît pas dans le cube d'ambre, mais modifie l'intitulé de l'attaque selon le cas si elle existe.) |dégâts=<type d'attaque ou de défense> |}}
Exemples
Ambre taxonomique | |
Wombaï | |
---|---|
Règne | animal |
Catégorie | Quadrodon |
Écosystème | Jungle y Lacs |
Type de riposte | inconnus |
Ambre taxonomique | |
Stinga | |
---|---|
Règne | végétal |
Catégorie | Plantes intelligentes aquatiques |
Écosystème | Lacs |
Type de riposte | missile magique de froid et enracinement |
Ambre taxonomique | |
Batao | |
---|---|
Règne | végétal |
Catégorie | arbres |
Écosystème | Jungle |