Vorlage:MobInfoBox: Unterschied zwischen den Versionen
Aus EnzyklopAtys
K |
|||
Zeile 1: | Zeile 1: | ||
− | <noinclude>{{ | + | <noinclude>{{Trad |
− | |DE= | + | |DE=Template:MobInfoBox |
− | |EN= | + | |EN=Template:MobInfoBox |
− | |ES= | + | |ES=Template:MobInfoBox |
− | |FR= | + | |FR=Template:MobInfoBox |
|RU= | |RU= | ||
− | }}</noinclude><!-- | + | }} |
− | -->{{#vardefine: | + | </noinclude>{{#vardefine:colour|{{#switch:{{lc:{{{king|}}} }} |
+ | | pflantzen = rgba(153, 255, 153, 1) <!-- #9f9 opaque --> | ||
+ | | tieren = rgba(255, 153, 153, 1) <!-- #f99 opaque --> | ||
+ | | rgba(255, 255, 153, 1)<!-- #ff9 opaque --> | ||
+ | }} }}<!-- | ||
+ | -->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | ja | Art des Angriffs | Art der Gegenleistung }} }}<!-- | ||
-->{|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, | + | -->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)--> |
|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= | + | -->font-size:1em; font-weight:b_old; font-variant:small-caps; " <!-- |
− | |- | + | -->| {{3DText|3D=outset|text=Taxonomie-Bernstein}} |
− | ! align="centre" colspan="2" style="background: | + | |------------------------- <!--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> | ||
|- | |- | ||
− | ! colspan="2" |[[Image:{{{image}}}|300px | + | ! colspan="2" |[[Image:{{{image}}}|300px]] |
− | |-------------------------style="background: {{#var:colour}};" <!--Reich (Pflantzen, Tieren) --> | + | |-------------------------style="background: {{#var:colour}};" <!--Reich (Pflantzen, Tieren)--> |
!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;"<!-- | -->text-align:right; padding:.2em .8em;"<!-- | ||
Zeile 27: | Zeile 34: | ||
-->text-align:left; padding:.2em .4em;"<!-- | -->text-align:left; padding:.2em .4em;"<!-- | ||
-->| {{{king}}} | -->| {{{king}}} | ||
− | |-------------------------style="background: | + | |-------------------------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-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=''' | + | -->text-align:right; padding:.2em .8em;"<!-- |
+ | -->| {{3DText|text='''Kategorien'''}} | ||
!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: | + | -->| {{{type}}} |
+ | |-------------------------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-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='''Ökosystem(e)'''}} | + | -->text-align:right; padding:.2em .8em;"<!-- |
+ | -->| {{3DText|text='''Ökosystem(e)'''}} | ||
!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: | + | -->| {{{locale}}} |
+ | |-------------------------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));<!-- | ||
− | -->text-align:right; padding:.2em .8em;"| {{3DText|text=''' | + | -->text-align:right; padding:.2em .8em;"<!-- |
+ | -->| {{3DText|text='''Aggressive'''}} | ||
!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: | + | -->| {{{aggro}}} |
+ | |-------------------------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=''' | + | -->text-align:right; padding:.2em .8em;"<!-- |
+ | -->| {{3DText|text='''{{#var:ojo}}'''}} | ||
!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;"<!-- |
+ | -->| {{#ifeq: {{lc:{{{aggro|}}} }} | ja | {{{damage|unbekannt}}} | {{#if: {{{damage|}}} |{{{damage}}} |kein}} }} | ||
|}<!-- | |}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--><noinclude>{{Clear}} | --><noinclude>{{Clear}} | ||
Zeile 113: | Zeile 97: | ||
|damage=Schmetternd | |damage=Schmetternd | ||
|}} | |}} | ||
+ | {{MobInfoBox | ||
+ | |image=Batao_winter.jpg | ||
+ | |name=Batao | ||
+ | |king=Pflantzen | ||
+ | |type=[[:Category:Trees|Trees]] | ||
+ | |locale=[[jungle]] | ||
+ | |aggro=No | ||
+ | |}} | ||
+ | |||
{{Clear}} | {{Clear}} | ||
==Also See== | ==Also See== |
Version vom 9. September 2019, 17:19 Uhr
Taxonomie-Bernstein | |
MobInfoBox | |
---|---|
[[Image:{{{image}}}|300px]] | |
Reich | {{{king}}} |
Kategorien | {{{type}}} |
Ökosystem(e) | {{{locale}}} |
Aggressive | {{{aggro}}} |
Art der Gegenleistung | kein |
Beschreibung
{{MobInfoBox |image=<Dateiname> |name={{PAGENAME}} |king=<Reich der Kreatur> |type=<Typ der Kreatur> |locale=<vorkommende Regionen> |aggro=<Ja/Nein> |damage=<primärer Schadenstyp> |}}
Notiz: Verwende {{PAGENAME}}, sofern der Seitename sich nicht vom Mobnamen unterscheidet.
Beispiel
Taxonomie-Bernstein | |
Hoppelhase | |
---|---|
Reich | Tieren |
Gruppe | {{{species}}} |
Ökosystem | Überall |
Aggressiv | Ja |
Art des Angriffs | Schmetternd |
Taxonomie-Bernstein | |
Batao | |
---|---|
Reich | Pflantzen |
Gruppe | {{{species}}} |
Ökosystem | jungle |
Aggressiv | No |
Art des Gegenangriffs | Wehrlos |