Difference between revisions of "Template:MobInfoBox"

From EncyclopAtys

Jump to: navigation, search
(Examples)
 
(46 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="float:right; margin: 0.5em 0 0.5em 1em; border:1px solid #AAAAAA; padding:2px;">
+
<noinclude>{{Trad
{| class="infobox"
+
<!-- ••••• REPLACED
|-
+
|DE=Template:MobInfoBox
! align="centre" colspan="2" style="background: #339966; padding: 2px;" | <font color="white">{{{name}}}</font>
+
|EN=Template:MobInfoBox
|-
+
|ES=Template:MobInfoBox
! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]]
+
|FR=Template:MobInfoBox
|-
+
|RU=
!align="centre" colspan="2" style="background: #339966; padding: 11px;" |
+
••••• REPLACED ••••• -->
|-
+
|DE=Vorlage:MobInfoBox|DEs=4
|
+
|EN=Template:MobInfoBox|ENs=4
|-
+
|ES=Plantilla:MobInfoBox|ESs=0
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Type:'''</font>
+
|FR=Modèle:MobInfoBox|FRs=4
!align="center" | '''{{{type}}}'''
+
|RU=Template:MobInfoBox|RUs=4
|-
+
<!-- REPLACED ••••• -->
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Main Ecosystem(s):'''</font>
+
}}
!align="center" | '''{{{locale}}}'''
+
</noinclude>{{#vardefine:colour|{{#switch:{{lc:{{{king}}} }}
|-
+
| plant
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Aggressive:'''</font>
+
| plants = rgba(153, 255, 153, 1) <!-- #9f9 opaque -->
!align="center" | '''{{{aggro}}}'''
+
| animal
|-
+
| animals = rgba(255, 153, 153, 1) <!-- #f99 opaque -->
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Damage Type:'''</font>
+
| rgba(255, 255, 153, 1)<!-- #ff9 opaque -->
!align="center" | '''{{{damage}}}'''
+
}} }}<!--
|}</div><!--
+
-->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | yes | Attack | Counterattack }} }}<!--
 +
-->{|style="float: right;   width:25%;  max-width:30%;  margin: 0.1em;  overflow: auto; <!--
 +
-->border: thick outset #C90; border-radius:1em;  padding: 0.1em;<!--
 +
-->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; "
 +
|------------------------- <!--Box title (theme)-->
 +
|colspan="2" <!--
 +
-->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=Taxonomic Amber}}
 +
|------------------------- <!--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: {{{name|}}}|{{{name}}}|{{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;"<!--
 +
-->| {{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));<!--
 +
-->text-align:left; padding:.2em .4em;"<!--
 +
-->| {{{king}}}
 +
|-------------------------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='''Category'''}}
 +
!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;"<!--
 +
-->| {{{species}}}
 +
|-------------------------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;"<!--
 +
-->| {{3DText|text='''Main&nbsp;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}});<!--
 +
-->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}}}
 +
{{#ifeq: {{lc:{{{aggro|}}}-{{{king|}}}-{{{damage|}}} }} | no-plants- |  | <!--
 +
 
 +
 
 +
 
 +
 
 +
-->{{!}}-------------------------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='''{{#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}});<!--
 +
-->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|unknown}}} }}
 +
|}<!--
  
 
--><noinclude>{{Clear}}
 
--><noinclude>{{Clear}}
Line 30: Line 82:
 
{{MobInfoBox
 
{{MobInfoBox
 
|image=<Filename>
 
|image=<Filename>
|name={{PAGENAME}}
+
|name=<Creature name><!-- CHANGED ••••• -->
|type=<Creature Type>
+
|king=<Creature kingdom>
 +
|species=<Creature Type>
 
|locale=<Regions found in>
 
|locale=<Regions found in>
|aggro=<Yes/No>
+
|aggro=<Yes/No>(This is not displayed in the amber cube, but changes the type of damages inflicted if relevant)
|damage=<Primary Output Damage>
+
|damage=<damage(s) of (counter)attack>>
 
|}}
 
|}}
 
</pre>
 
</pre>
 
+
<!-- ••••• TO DELETE
 
Note: Leave <nowiki>{{PAGENAME}}</nowiki> in place unless page name differs from mob name.
 
Note: Leave <nowiki>{{PAGENAME}}</nowiki> in place unless page name differs from mob name.
 
+
TO DELETE ••••• -->
==Example==
+
==Examples==
  
 
{{MobInfoBox
 
{{MobInfoBox
 
|image=Clopper.jpg
 
|image=Clopper.jpg
|name=Fluffy Bunnies
+
|name=Bad Guys
|type=Omnivore
+
|king=Animals
 +
|species= According to some scientists, it is an [[:Category:Omnivore|omnivorous]] [[:Category:Crustaceans|Crustacean]], and according to others, a [[:Category:Carnivore|carnivore]].
 
|locale=Everywhere
 
|locale=Everywhere
 
|aggro=Yes
 
|aggro=Yes
 
|damage=Snappy
 
|damage=Snappy
 +
|}}
 +
<!-- ••••• ADDED -->
 +
{{MobInfoBox
 +
|image=Wombai.jpg
 +
|name=Wombaï
 +
|king=Animals
 +
|species=Quadrodon
 +
|locale=[[Jungle]] & [[Lakes]]
 +
|aggro=No
 +
|}}
 +
{{MobInfoBox
 +
|image=Stinga.jpg
 +
|name=Stinga
 +
|king=Plants
 +
|species=[[:Category:Intelligent Plants| Intelligent Plant]] [[:Category:Aquaplants|Aquaplant]]
 +
|locale=[[Lakes]]
 +
|aggro=No
 +
|damage=[[Cold]] elemental spell & [[Root]] affliction
 +
|}}
 +
<!-- ADDED ••••• -->
 +
{{MobInfoBox
 +
|image=Batao_winter.jpg
 +
|name=Batao
 +
|king=Plants
 +
|species=[[:Category:Trees|Tree]]
 +
|locale=[[Jungle]]
 +
|aggro=No
 +
|}}
 +
<!-- ADDED ••••• -->
 +
{{MobInfoBox
 +
|image=ZorroArgh.png
 +
|name=Zo'ro Argh
 +
|king=Homin
 +
|species=Sushi Eater Librarian
 +
|locale=Amber Cubes
 +
|aggro=No
 +
|damage= Chorizo
 
|}}
 
|}}
 
{{Clear}}
 
{{Clear}}
 +
 
==Also See==
 
==Also See==
 
* [[Template:BossInfoBox]]
 
* [[Template:BossInfoBox]]
  
[[Category: Infobox templates]]
+
[[Category: Infobox templates|MobInfoBox]] [[Category:Amber Cubes]]<!-- ADDED ••••• -->
 
</noinclude>
 
</noinclude>

Latest revision as of 21:17, 23 August 2021

de:Vorlage:MobInfoBox
en:Template:MobInfoBox
es:Plantilla:MobInfoBox
fr:Modèle:MobInfoBox
ru:Template:MobInfoBox
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Leda, 2021-08-23)

Taxonomic Amber
MobInfoBox
[[Image:{{{image}}}|300px]]
Kingdom {{{king}}}
Category {{{species}}}
Main Ecosystem(s) {{{locale}}}
Counterattack type unknown

Description

{{MobInfoBox
|image=<Filename>
|name=<Creature name><!-- CHANGED ••••• -->
|king=<Creature kingdom>
|species=<Creature Type>
|locale=<Regions found in>
|aggro=<Yes/No>(This is not displayed in the amber cube, but changes the type of damages inflicted if relevant)
|damage=<damage(s) of (counter)attack>>
|}}

Examples

Taxonomic Amber
Bad Guys
Clopper.jpg
Kingdom Animals
Category According to some scientists, it is an omnivorous Crustacean, and according to others, a carnivore.
Main Ecosystem(s) Everywhere
Attack type Snappy
Taxonomic Amber
Wombaï
Wombai.jpg
Kingdom Animals
Category Quadrodon
Main Ecosystem(s) Jungle & Lakes
Counterattack type unknown
Taxonomic Amber
Stinga
Stinga.jpg
Kingdom Plants
Category Intelligent Plant Aquaplant
Main Ecosystem(s) Lakes
Counterattack type Cold elemental spell & Root affliction
Taxonomic Amber
Batao
Batao winter.jpg
Kingdom Plants
Category Tree
Main Ecosystem(s) Jungle
Taxonomic Amber
Zo'ro Argh
ZorroArgh.png
Kingdom Homin
Category Sushi Eater Librarian
Main Ecosystem(s) Amber Cubes
Counterattack type Chorizo


Also See