Difference between revisions of "Template:MobInfoBox"
From EncyclopAtys
Line 6: | Line 6: | ||
|RU= | |RU= | ||
}} | }} | ||
β | </noinclude>{{#vardefine:colour|{{#switch:{{{king|}}} | + | </noinclude>{{#vardefine:colour|{{#switch:{{lc:{{{king|}}} }} |
| plants = rgba(153, 255, 153, 1) <!-- #9f9 opaque --> | | plants = rgba(153, 255, 153, 1) <!-- #9f9 opaque --> | ||
| animals = rgba(255, 153, 153, 1) <!-- #f99 opaque --> | | animals = rgba(255, 153, 153, 1) <!-- #f99 opaque --> | ||
| rgba(255, 255, 153, 1)<!-- #ff9 opaque --> | | rgba(255, 255, 153, 1)<!-- #ff9 opaque --> | ||
}} }}<!-- | }} }}<!-- | ||
+ | -->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | yes | Attack | Counterattack }} }}<!-- | ||
-->{|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;<!-- | ||
Line 24: | Line 25: | ||
-->| <big>{{3DText|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}</big> | -->| <big>{{3DText|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}</big> | ||
|- | |- | ||
β | ! colspan="2" |[[Image:{{{image}}}|300px | + | ! 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));<!-- | !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;"<!-- |
β | !style="background-color: #{{ColorAtys | + | -->| {{3DText|text='''Kingdom'''}} |
+ | !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;"<!-- |
β | + | -->| {{{king}}} | |
β | |-------------------------style="background: {{#var:colour}};" | + | |-------------------------style="background: {{#var:colour}};" <!--Category (species...)--> |
!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='''Category'''}} | ||
!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;"| {{{type}}} | + | -->text-align:left; padding:.2em .4em;"<!-- |
β | |-------------------------style="background: {{#var:colour}};" | + | -->| {{{type}}} |
β | + | |-------------------------style="background: {{#var:colour}};" <!--Where--> | |
β | |||
!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='''Main Ecosystem(s)'''}} | |
β | |||
β | |||
β | |||
β | |||
β | |||
β | --> | ||
!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;"| {{{locale}}} | + | -->text-align:left; padding:.2em .4em;"<!-- |
β | |-------------------------style="background: {{#var:colour}};" | + | -->| {{{locale}}} |
+ | |-------------------------style="background: {{#var:colour}};" <!--Aggro--> | ||
!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='''Aggressive'''}} | + | -->text-align:right; padding:.2em .8em;"<!-- |
+ | -->| {{3DText|text='''Aggressive'''}} | ||
!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;"| {{{aggro}}} | + | -->text-align:left; padding:.2em .4em;"<!-- |
β | |-------------------------style="background: {{#var:colour}};" | + | -->| {{{aggro}}} |
+ | |-------------------------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='''{{#var:ojo}} type'''}} | ||
!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;"| {{{damage}}} | + | -->text-align:left; padding:.2em .4em;"<!-- |
+ | -->| {{#ifeq: {{lc:{{{aggro|}}} }} | si | {{{damage|unknown}}} | {{#if: {{{damage|}}} |{{{damage}}} |none}} }} | ||
|}<!-- | |}<!-- | ||
Line 78: | Line 78: | ||
|king=<Creature kingdom> | |king=<Creature kingdom> | ||
|type=<Creature Type> | |type=<Creature Type> | ||
β | |||
|locale=<Regions found in> | |locale=<Regions found in> | ||
|aggro=<Yes/No> | |aggro=<Yes/No> | ||
Line 94: | Line 93: | ||
|king=Animals | |king=Animals | ||
|type=Omnivore | |type=Omnivore | ||
β | |||
|locale=Everywhere | |locale=Everywhere | ||
|aggro=Yes | |aggro=Yes | ||
|damage=Snappy | |damage=Snappy | ||
+ | |}} | ||
+ | {{MobInfoBox | ||
+ | |image=Batao_winter.jpg | ||
+ | |name=Batao | ||
+ | |king=Plants | ||
+ | |type=[[:CategorΓa:Trees|Trees]] | ||
+ | |locale=[[jungle]] | ||
+ | |aggro=No | ||
|}} | |}} | ||
{{Clear}} | {{Clear}} |
Revision as of 14:05, 27 August 2019
Taxonomic Amber | |
MobInfoBox | |
---|---|
[[Image:{{{image}}}|300px]] | |
Kingdom | {{{king}}} |
Category | {{{type}}} |
Main Ecosystem(s) | {{{locale}}} |
Aggressive | {{{aggro}}} |
Counterattack type | none |
Description
{{MobInfoBox |image=<Filename> |name={{PAGENAME}} |king=<Creature kingdom> |type=<Creature Type> |locale=<Regions found in> |aggro=<Yes/No> |damage=<damage(s) of (counter)attack>> |}}
Note: Leave {{PAGENAME}} in place unless page name differs from mob name.
Example
Taxonomic Amber | |
Fluffy Bunnies | |
---|---|
Kingdom | Animals |
Category | {{{species}}} |
Main Ecosystem(s) | Everywhere |
Attack type | Snappy |
Taxonomic Amber | |
Batao | |
---|---|
Kingdom | Plants |
Category | {{{species}}} |
Main Ecosystem(s) | jungle |