Difference between revisions of "Template:MobInfoBox"
From EncyclopAtys
| Line 1: | Line 1: | ||
| − | {{#vardefine:colour| | + | {{#vardefine:colour|9E9}}<!-- |
| + | --x->{{#vardefine:colour|337733}} | ||
| + | --x>{| class="infobox" | ||
-->{|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, 165, 0, 0.5); background-image: radial-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5)); <!-- | -->background-color: #C90; background-color: rgba(255, 165, 0, 0.5); background-image: radial-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5)); <!-- | ||
-->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center; " | -->cellspacing: 0.01em; cellpadding:0.01em; vertical-align:center; " | ||
| − | |- <!-- | + | |- <!---------------------test |
| + | |- <!--Logo and name of the subject-x-> | ||
|colspan="2" <!-- | |colspan="2" <!-- | ||
| − | -->style=" | + | --x>style="background:transparent; background-color: (rgba(255, 165, 0, 0.2)); background-color: {{taxoboxoutils couleur majeure|{{{1}}}}}; background-image: linear-gradient( rgba(255, 255, 255, 0.2),rgba(255, 165, 0, 0.5),#A50); background-image: linear-gradient( rgba(255, 255, 255, 0.5),rgba(255, 165, 0, 0.5),rgba(160, 80, 0, 0.5));<!-- |
| − | --> | + | -x->vertical-align:middle;text-align:center; padding:.02em .04em; <!-- |
| − | + | -x->{{#if: {{{logo|}}}| |line-height: 1.6}}; <!-- | |
| − | ! 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;" | <font color=" | + | -x->font-size:1.2em; font-weight:bold; "|{{#if: {{{logo|}}}| [[Image:{{{logo}}}|64px|top|left|{{{desc_logo|desc_logo}}}]] <br/>}} <big>{{3DText|text={{{2}}}}}</big> |
| + | -------------------> | ||
| + | ! 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;" | <font color="w_hite">{{{name}}}</font> | ||
|- | |- | ||
! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]] | ! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]] | ||
| Line 17: | Line 22: | ||
-->|<big>{{3DText|text= }}</big> | -->|<big>{{3DText|text= }}</big> | ||
|- | |- | ||
| − | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color=" | + | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="w_hite">'''Type:'''</font> |
!align="center" | '''{{{type}}}''' | !align="center" | '''{{{type}}}''' | ||
|- | |- | ||
| − | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color=" | + | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="wh_ite">'''Main Ecosystem(s):'''</font> |
!align="center" | '''{{{locale}}}''' | !align="center" | '''{{{locale}}}''' | ||
|- | |- | ||
| − | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color=" | + | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="wh_ite">'''Aggressive:'''</font> |
!align="center" | '''{{{aggro}}}''' | !align="center" | '''{{{aggro}}}''' | ||
|- | |- | ||
| − | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color=" | + | !align="centre" style="background: #{{#var:colour}}; padding-left:5px;padding-right:5px;" | <font color="w_hite">'''Damage Type:'''</font> |
!align="center" | '''{{{damage}}}''' | !align="center" | '''{{{damage}}}''' | ||
|}<!-- | |}<!-- | ||
Revision as of 15:17, 6 March 2019
| {{{name}}} | |
|---|---|
| [[Image:{{{image}}}|300px|MobInfoBox]] | |
| Type: | {{{type}}} |
| Main Ecosystem(s): | {{{locale}}} |
| Aggressive: | {{{aggro}}} |
| Damage Type: | {{{damage}}} |
Description
{{MobInfoBox
|image=<Filename>
|name={{PAGENAME}}
|type=<Creature Type>
|locale=<Regions found in>
|aggro=<Yes/No>
|damage=<Primary Output Damage>
|}}
Note: Leave {{PAGENAME}} in place unless page name differs from mob name.
Example
| Taxonomic Amber | |
| Fluffy Bunnies | |
|---|---|
| Kingdom | {{{king}}} |
| Category | {{{species}}} |
| Main Ecosystem(s) | Everywhere |
| Attack type | Snappy |