Difference between revisions of "Template:MobInfoBox"

From EncyclopAtys

Jump to: navigation, search
(Alignment on FR Mobinfobox)
Line 1: Line 1:
 
<noinclude>{{Trad
 
<noinclude>{{Trad
 +
<!-- ••••• REPLACED
 
|DE=Template:MobInfoBox
 
|DE=Template:MobInfoBox
 
|EN=Template:MobInfoBox
 
|EN=Template:MobInfoBox
Line 5: Line 6:
 
|FR=Template:MobInfoBox
 
|FR=Template:MobInfoBox
 
|RU=
 
|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|}}} }}
 
</noinclude>{{#vardefine:colour|{{#switch:{{lc:{{{king|}}} }}
Line 24: Line 32:
 
! 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;" <!--
 
! 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>
 
-->| <big>{{3DText|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}</big>
|-
+
|------------------------- <!--main representative Image of the object-->
 
! colspan="2" |[[Image:{{{image}}}|300px]]
 
! colspan="2" |[[Image:{{{image}}}|300px]]
 
|-------------------------style="background: {{#var:colour}};" <!--Kingdom (plant, animal) -->
 
|-------------------------style="background: {{#var:colour}};" <!--Kingdom (plant, animal) -->
Line 35: Line 43:
 
-->| {{{king}}}
 
-->| {{{king}}}
 
|-------------------------style="background: {{#var:colour}};" <!--Category (species...)-->
 
|-------------------------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: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;"<!--
 
-->text-align:right; padding:.2em .8em;"<!--
 
-->| {{3DText|text='''Category'''}}
 
-->| {{3DText|text='''Category'''}}
Line 43: Line 51:
 
-->| {{{species}}}
 
-->| {{{species}}}
 
|-------------------------style="background: {{#var:colour}};" <!--Where-->
 
|-------------------------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: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;"<!--
 
-->text-align:right; padding:.2em .8em;"<!--
 
-->| {{3DText|text='''Main&nbsp;Ecosystem(s)'''}}
 
-->| {{3DText|text='''Main&nbsp;Ecosystem(s)'''}}
Line 50: Line 58:
 
-->text-align:left; padding:.2em .4em;"<!--
 
-->text-align:left; padding:.2em .4em;"<!--
 
-->| {{{locale}}}
 
-->| {{{locale}}}
 +
<!-- ••••• TO DELETE -->
 
|-------------------------style="background: {{#var:colour}};" <!--Aggro-->
 
|-------------------------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));<!--
Line 58: Line 67:
 
-->text-align:left; padding:.2em .4em;"<!--
 
-->text-align:left; padding:.2em .4em;"<!--
 
-->| {{{aggro}}}
 
-->| {{{aggro}}}
 +
<!-- TO DELETE ••••• -->
 +
<!-- ••••• ADDED -->
 +
{{#ifeq: {{lc:{{{aggro|}}}-{{{règne|}}}-{{{dégâts|}}} }} | non-végétal- |  | <!--
 +
-->{{!}}
 +
<!-- ADDED ••••• -->
 
|-------------------------style="background: {{#var:colour}};" <!--Damage-->
 
|-------------------------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));<!--
Line 65: Line 79:
 
-->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;"<!--
-->| {{#ifeq: {{lc:{{{aggro|}}} }} | si | {{{damage|unknown}}} | {{#if: {{{damage|}}} |{{{damage}}} |none}} }}  
+
<!-- ••••• REPLACED
 +
-->| {{#ifeq: {{lc:{{{aggro|}}} }} | si | {{{damage|unknown}}} | {{#if: {{{damage|}}} |{{{damage}}} |none}} }}
 +
••••• REPLACED ••••• -->
 +
-->| {{#ifeq: {{lc:{{{aggro|}}} }} | si | {{{damage|unknown}}} | {{#if: {{{damage|}}} |{{{damage}}} |none}} }}
 +
-->{{!}} {{{damage|unknown}}} }}
 +
<!-- REPLACED ••••• -->
 
|}<!--
 
|}<!--
  
Line 75: Line 94:
 
{{MobInfoBox
 
{{MobInfoBox
 
|image=<Filename>
 
|image=<Filename>
|name={{PAGENAME}}
+
|name=<Creature name><!-- CHANGED ••••• -->
 
|king=<Creature kingdom>
 
|king=<Creature kingdom>
 
|species=<Creature Type>
 
|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)<!-- ADDED ••••• -->
 
|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
Line 92: Line 111:
 
|name=Fluffy Bunnies
 
|name=Fluffy Bunnies
 
|king=Animals
 
|king=Animals
|species=[[:Category:Crustaceans|Crustaceans]]
+
|species=[[:Category:Crustaceans|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
 
{{MobInfoBox
 
|image=Batao_winter.jpg
 
|image=Batao_winter.jpg
 
|name=Batao
 
|name=Batao
 
|king=Plants
 
|king=Plants
|species=[[:Category:Trees|Trees]]
+
|species=[[:Category:Trees|Tree]]
|locale=[[jungle]]
+
|locale=[[Jungle]]
 
|aggro=No
 
|aggro=No
 
|}}
 
|}}
Line 109: Line 147:
 
* [[Template:BossInfoBox]]
 
* [[Template:BossInfoBox]]
  
[[Category: Infobox templates|MobInfoBox]]
+
[[Category: Infobox templates|MobInfoBox]] [[Category:Cubes d'ambre]]<!-- ••••• ADDED -->
 
</noinclude>
 
</noinclude>

Revision as of 11:38, 19 October 2019

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: (Lanstiril, 2019-10-19)

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

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)<!-- ADDED ••••• -->
|damage=<damage(s) of (counter)attack>>
|}}

Examples

Taxonomic Amber
Fluffy Bunnies
Clopper.jpg
Kingdom Animals
Category Crustacean
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


Also See