Difference between revisions of "Template:MobInfoBox"

From EncyclopAtys

Jump to: navigation, search
Line 1: Line 1:
{{#vardefine:colour|9E9}}<!--
+
{{#vardefine:colour|
 +
  {{#switch:{{{king|}}}
 +
  | fungi = Khaki
 +
  | plants = SpringGreen
 +
  | animals = LightSalmon
 +
  | {{#switch:{{{type|}}}
 +
    | fungi = Khaki
 +
    | plants = SpringGreen
 +
    | animals = LightSalmon
 +
    | Red
 +
    }}
 +
  }}
 +
}}<!--
 +
-->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | yes | Red | {{#var:colour}} }} }}<!--
 +
 
 
-->{|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;<!--
Line 7: Line 21:
 
|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;  " | {{3DText|text={{{title|Ambar [https://es.wikipedia.org/wiki/Taxonomía taxonómico]({{#var:colour}})}}}}}
 
|-                                <!--Logo and name of the subject-->
 
|-                                <!--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: 2px;" | <font color="whi_te">{{{name}}}</font>
+
! 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>
 
|-
 
|-
 
! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]]
 
! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]]
 
+
{{#if:{{{kin_g|}}}|
|-------------------------style="background: #{{#var:colour}};"
+
{{!}}-------------------------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='''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}};"
 
!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='''Type'''}}
Line 19: Line 40:
 
-->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;"| {{{type}}}
|-------------------------style="background: #{{#var:colour}};"
+
|-------------------------style="background: {{#var:colour}};"
 +
{{#if:{{{spe_cies|}}}|
 +
{{!}}-------------------------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='''Species'''}}
 +
!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));<!--
 
!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)'''}}
 
-->text-align:right; padding:.2em .8em;"| {{3DText|text='''Main&nbsp;Ecosystem(s)'''}}
Line 25: Line 55:
 
-->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;"| {{{locale}}}
|-------------------------style="background: #{{#var:colour}};"
+
|-------------------------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));<!--
 
!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='''Aggressive'''}}
 
-->text-align:right; padding:.2em .8em;"| {{3DText|text='''Aggressive'''}}
Line 31: Line 61:
 
-->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;"| {{{aggro}}}
|-------------------------style="background: #{{#var:colour}};"
+
|-------------------------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));<!--
 
!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='''Damage&nbsp;Type'''}}
Line 40: Line 70:
  
 
--><noinclude>{{Clear}}
 
--><noinclude>{{Clear}}
 +
{{WIP}}
 
{{Trad
 
{{Trad
 
|DE=Template:MobInfoBox
 
|DE=Template:MobInfoBox
Line 53: Line 84:
 
|image=<Filename>
 
|image=<Filename>
 
|name={{PAGENAME}}  
 
|name={{PAGENAME}}  
 +
|king=<Creature kingdom>
 
|type=<Creature Type>
 
|type=<Creature Type>
 +
|species=<Creature species>
 
|locale=<Regions found in>
 
|locale=<Regions found in>
 
|aggro=<Yes/No>
 
|aggro=<Yes/No>
Line 67: Line 100:
 
|image=Clopper.jpg
 
|image=Clopper.jpg
 
|name=Fluffy Bunnies
 
|name=Fluffy Bunnies
 +
|king=Animals
 
|type=Omnivore
 
|type=Omnivore
 +
|species=Crustacean
 
|locale=Everywhere
 
|locale=Everywhere
 
|aggro=Yes
 
|aggro=Yes

Revision as of 20:14, 13 July 2019

Ambar taxonómico(Red)
{{{name}}}
[[Image:{{{image}}}|300px|MobInfoBox]]
Type {{{type}}}
Main Ecosystem(s) {{{locale}}}
Aggressive {{{aggro}}}
Damage Type {{{damage}}}


Important.png
Under Construction Panel.png !!!! WIP !!!! Under Construction Panel.png
There are currently still 80 articles in preparation in the category "WIP"
Article in preparation. Please let the author finish it before you modify it.
The last editing was from Zorroargh on 13.07.2019.

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

Reference text ( Maintained text, used as reference ) :
Notes: (Zorroargh, 2019-07-13)

Description

{{MobInfoBox
|image=<Filename>
|name={{PAGENAME}} 
|king=<Creature kingdom>
|type=<Creature Type>
|species=<Creature species>
|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
Clopper.jpg
Kingdom Animals
Category Crustacean
Main Ecosystem(s) Everywhere
Attack type Snappy


Also See