Difference between revisions of "Template:MobInfoBox"

From EncyclopAtys

Jump to: navigation, search
(β†’β€ŽDescription)
(β†’β€ŽExamples)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
βˆ’
{{#vardefine:colour|
+
<noinclude>{{Trad
βˆ’
  {{#switch:{{{king|}}}
+
<!-- β€’β€’β€’β€’β€’ REPLACED
βˆ’
  | fungi = Khaki
+
|DE=Template:MobInfoBox
βˆ’
  | plants = SpringGreen
+
|EN=Template:MobInfoBox
βˆ’
  | animals = LightSalmon
+
|ES=Template:MobInfoBox
βˆ’
  | {{#switch:{{{type|}}}
+
|FR=Template:MobInfoBox
βˆ’
    | fungi = Khaki
+
|RU=
βˆ’
    | Flora = SpringGreen
+
β€’β€’β€’β€’β€’ REPLACED β€’β€’β€’β€’β€’ -->
βˆ’
    | Fauna = LightSalmon
+
|DE=Vorlage:MobInfoBox|DEs=4
βˆ’
    | Red
+
|EN=Template:MobInfoBox|ENs=4
βˆ’
    }}
+
|ES=Plantilla:MobInfoBox|ESs=0
βˆ’
  }}
+
|FR=Modèle:MobInfoBox|FRs=4
βˆ’
}}<!--
+
|RU=Template:MobInfoBox|RUs=4
βˆ’
-->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | yes | Red | {{#var:colour}} }} }}<!--
+
<!-- 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>
βˆ’
{{#if:{{{kin_g|}}}|  
+
|------------------------- <!--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='''Kingdom'''}}
+
-->text-align:right; padding:.2em .8em;"<!--
βˆ’
!style="background-color: #{{ColorAtys{{!}}type=bg}}; background-image: linear-gradient(to right,#{{ColorAtys{{!}}type=dark}} 1%,#{{ColorAtys{{!}}type=light}} 2%,#{{ColorAtys{{!}}type=bg}});<!--
+
-->| {{3DText|text='''Kingdom'''}}
βˆ’
-->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}};"
 
βˆ’
!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'''}}
 
 
!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}}}
βˆ’
{{#if:{{{spe_cies|}}}|  
+
|-------------------------style="background: {{#var:colour}};" <!--Category (species...)-->
βˆ’
{{!}}-------------------------style="background: {{#var:colour}};"
+
!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));<!--
βˆ’
!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='''Species'''}}
+
-->| {{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}};"
 
βˆ’
!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='''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;"| {{{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=Template:MobInfoBox
 
βˆ’
|FR=Template:MobInfoBox
 
βˆ’
|RU=
 
βˆ’
}}
 
 
==Description==
 
==Description==
  
Line 82: Line 82:
 
{{MobInfoBox
 
{{MobInfoBox
 
|image=<Filename>
 
|image=<Filename>
βˆ’
|name={{PAGENAME}}
+
|name=<Creature name><!-- CHANGED β€’β€’β€’β€’β€’ -->
 
|king=<Creature kingdom>
 
|king=<Creature kingdom>
βˆ’
|type=<Creature Type>
+
|species=<Creature Type>
βˆ’
|species=<Creature species>
 
 
|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=<damage(s) of (counter)attack>>
 
|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
 
|king=Animals
 
|king=Animals
βˆ’
|type=Omnivore
+
|species= According to some scientists, it is an [[:Category:Omnivore|omnivorous]] [[:Category:Crustaceans|Crustacean]], and according to others, a [[:Category:Carnivore|carnivore]].
βˆ’
|species=Crustacean
 
 
|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