Modèle:MobInfoBox : Différence entre versions
De EncyclopAtys
m (→Exemples) |
|||
(35 révisions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | < | + | <noinclude>{{Trad |
+ | |DE=Vorlage:MobInfoBox|DEs=4 | ||
+ | |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 | d'attaque | de riposte }} }}<!-- | ||
+ | -->{|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|text= | + | -->font-size:1em; font-weight:b_old; font-variant:small-caps; " <!-- |
− | |- | + | -->| {{3DText|3D=outset|text=Ambre taxonomique}} |
− | + | |------------------------- <!--Logo and name of the subject--> | |
− | + | ! 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]] |
− | -->|{{ | + | |-------------------------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));<!-- | |
− | | | + | -->text-align:right; padding:.2em .8em;"<!-- |
− | -->style="background:transparent; background-color: | + | -->| {{3DText|text='''Règne'''}} |
− | -->text-align: | + | !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;"<!-- | |
− | + | -->| {{{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));<!-- | ||
+ | -->text-align:right; padding:.2em .8em; " <!-- | ||
+ | -->| {{3DText|text='''Catégorie'''}} | ||
+ | !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;"<!-- | ||
+ | -->| {{{catégorie}}} | ||
+ | |-------------------------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));<!-- | ||
-->text-align:right; padding:.2em .8em; " <!-- | -->text-align:right; padding:.2em .8em; " <!-- | ||
− | -->| {{3DText|text= | + | -->| {{3DText|text='''Écosystème'''}} |
− | + | !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; " <!-- | ||
− | -->| {{ | + | -->| {{{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));<!-- |
− | -- | + | -->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}});<!-- |
− | -- | + | -->background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!-- |
− | + | -->text-align:left; padding:.2em .4em;"<!-- | |
− | + | -->{{!}} {{{dégâts|inconnus}}} }} | |
− | -->text-align:right; padding:.2em .8em; "<!-- | + | |}<!-- |
− | --> | + | --><noinclude>{{Clear}} |
− | + | ||
− | + | ==Description== | |
− | + | ||
− | + | <pre> | |
− | |||
− | -->text-align: | ||
− | --> | ||
− | | | ||
− | --> | ||
− | |||
− | |||
− | < | ||
{{MobInfoBox | {{MobInfoBox | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|image=<Filename> | |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 | |
− | + | |image=Clopper.jpg | |
− | + | |nom=Fluffy Bunnies | |
− | + | |règne=animal | |
− | + | |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ï | ||
+ | |règne=animal | ||
+ | |catégorie=Quadrodon | ||
+ | |habitat=[[Jungle]] y [[Lacs]] | ||
+ | |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= | ||
+ | |}} | ||
+ | {{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 |