Difference between revisions of "Template:MobInfoBox"

From EncyclopAtys

Jump to: navigation, search
(Examples)
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#vardefine:colour|9E9}}<!--
+
<noinclude>{{Trad
 +
<!-- ••••• REPLACED
 +
|DE=Template:MobInfoBox
 +
|EN=Template:MobInfoBox
 +
|ES=Template:MobInfoBox
 +
|FR=Template:MobInfoBox
 +
|RU=
 +
••••• REPLACED ••••• -->
 +
|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
 +
<!-- REPLACED ••••• -->
 +
}}
 +
</noinclude>{{#vardefine:colour|{{#switch:{{lc:{{{king}}} }}
 +
| plant
 +
| plants = rgba(153, 255, 153, 1) <!-- #9f9 opaque -->
 +
| animal
 +
| animals = rgba(255, 153, 153, 1) <!-- #f99 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;<!--
-->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, 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)-->
+
|------------------------- <!--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={{{title|Taxonomic Amber}}}}}
+
-->font-size:1em; font-weight:b_old; font-variant:small-caps;  " <!--
|-                                 <!--Logo and name of the subject-->
+
-->| {{3DText|3D=outset|text=Taxonomic Amber}}
! 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="whi_te">{{{name}}}</font>
+
|------------------------- <!--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;" <!--
! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]]
+
-->| <big>{{3DText|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}</big>
 
+
|------------------------- <!--main representative Image of the object-->
|-------------------------style="background: #{{#var:colour}};"
+
! 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;"| {{3DText|text='''Type'''}}
+
-->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}});<!--
 
!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}};"
+
-->| {{{king}}}
!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: {{#var:colour}};" <!--Category (species...)-->
-->text-align:right; padding:.2em .8em;"| {{3DText|text='''Main&nbsp;Ecosystem(s)'''}}
+
!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}});<!--
 
!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}};"
+
-->| {{{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: {{#var:colour}};" <!--Where-->
-->text-align:right; padding:.2em .8em;"| {{3DText|text='''Aggressive'''}}
+
!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}});<!--
 
!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}};"
+
-->| {{{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));<!--
 
!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='''Damage&nbsp;Type'''}}
+
-->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;"<!--
 +
-->{{!}} {{{damage|unknown}}} }}
 
|}<!--
 
|}<!--
  
 
--><noinclude>{{Clear}}
 
--><noinclude>{{Clear}}
{{Trad
+
 
|DE=Template:MobInfoBox
 
|EN=Template:MobInfoBox
 
|ES=
 
|FR=Modèle:Taxobox début
 
|RU=
 
}}
 
 
==Description==
 
==Description==
  
Line 52: 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|MobInfoBox]]
+
[[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