Vorlage:MobInfoBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
K
 
(29 dazwischenliegende Versionen von 6 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{| class="infobox"
+
<noinclude>{{Trad
 +
|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
 +
}}
 +
</noinclude>{{#vardefine:colour|{{#switch:{{lc:{{{king|}}} }}
 +
| pflanzen  = rgba(153, 255, 153, 1) <!-- #9f9 opaque -->
 +
| tiere = rgba(255, 153, 153, 1) <!-- #f99 opaque -->
 +
| rgba(255, 255, 153, 1)<!-- #ff9 opaque -->
 +
}} }}<!--
 +
-->{{#vardefine:ojo|{{#ifeq: {{lc:{{{aggro|}}} }} | ja | Art des Angriffs | Art des Gegenangriffs }} }}<!--
 +
-->{|style="float: right;    width:25%;  max-width:30%;  margin: 0.1em;  overflow: auto; <!--
 +
-->border: thick outset #C90; border-radius:1em;  padding: 0.1em;<!--
 +
-->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;  "
 +
|------------------------- <!--Box title (theme)-->
 +
|colspan="2" <!--
 +
-->style="text-align:right; vertical-align:center; padding:.01em .04em; <!--
 +
-->font-size:1em; font-weight:b_old; font-variant:small-caps;  " <!--
 +
-->| {{3DText|3D=outset|text=Taxonomie-Bernstein}}
 +
|------------------------- <!--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>
 
|-
 
|-
! align="centre" colspan="2" style="background: #339966; padding: 2px;" | <font color="white">{{{name}}}</font>
+
! colspan="2" |[[Image:{{{image}}}|300px]]
|-
+
|-------------------------style="background: {{#var:colour}};" <!--Reich (Pflanzen, Tiere)-->
! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]]
+
!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;"<!--
!align="centre" colspan="2" style="background: #339966; padding: 11px;" |
+
-->| {{3DText|text='''Reich'''}}
|-
+
!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;"<!--
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Typ:'''</font>
+
-->| {{{king}}}
!align="center" | [[:Kategorie:{{{type}}}|{{{type}}}]]
+
|-------------------------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));<!--
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Ökosystem(e):'''</font>
+
-->text-align:right; padding:.2em .8em;"<!--
!align="center" | '''{{{locale}}}'''
+
-->| {{3DText|text='''Gruppe'''}}
|-
+
!style="background-color: #{{ColorAtys|type=bg}}; background-image: linear-gradient(to right,#{{ColorAtys|type=dark}} 1%,#{{ColorAtys|type=light}} 2%,#{{ColorAtys|type=bg}});<!--
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Aggressiv:'''</font>
+
-->background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!--
!align="center" | '''{{{aggro}}}'''
+
-->text-align:left; padding:.2em .4em;"<!--
|-
+
-->| {{{species}}}
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Schaden:'''</font>
+
|-------------------------style="background: {{#var:colour}};" <!--Where-->
!align="center" | '''{{{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));<!--
 +
-->text-align:right; padding:.2em .8em;"<!--
 +
-->| {{3DText|text='''Ökosystem'''}}
 +
!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;"<!--
 +
-->| {{{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));<!--
 +
-->text-align:right; padding:.2em .8em;"<!--
 +
-->| {{3DText|text='''Aggressiv'''}}
 +
!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;"<!--
 +
-->| {{{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));<!--
 +
-->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}});<!--
 +
-->background-image: linear-gradient(to right, rgba(255, 165, 0, 0.2),rgba(255, 165, 0, 0.5));<!--
 +
-->text-align:left; padding:.2em .4em;"<!--
 +
-->| {{#ifeq: {{lc:{{{aggro|}}} }} | ja | {{{damage|Unbekannt}}} | {{#if: {{{damage|}}} |{{{damage}}} |Wehrlos}} }}
 
|}<!--
 
|}<!--
  
Zeile 29: Zeile 75:
 
{{MobInfoBox
 
{{MobInfoBox
 
|image=<Dateiname>
 
|image=<Dateiname>
|name={{PAGENAME}}  
+
|name={{PAGENAME}}
|type=<Typ der Kreatur>
+
|king=<Reich der Kreatur>
 +
|species=<Typ der Kreatur>
 
|locale=<vorkommende Regionen>
 
|locale=<vorkommende Regionen>
 
|aggro=<Ja/Nein>
 
|aggro=<Ja/Nein>
|damage=<primärer Schadenstyp>
+
|damage=<primärer Schadenstyp/Wehrlos>
 
|}}
 
|}}
 
</pre>
 
</pre>
Zeile 44: Zeile 91:
 
|image=Kincher.jpg
 
|image=Kincher.jpg
 
|name=Hoppelhase
 
|name=Hoppelhase
|type=Fleischfresser
+
|king=Tiere
 +
|species=Fleischfresser
 
|locale=Überall
 
|locale=Überall
 
|aggro=Ja
 
|aggro=Ja
|damage=Schmetternd
+
|damage=Zerschmettern
 
|}}
 
|}}
 +
{{MobInfoBox
 +
|image=Batao_winter.jpg
 +
|name=Batao
 +
|king=Pflanzen
 +
|species=[[:Category:Bäume|Bäume]]
 +
|locale=[[Dschungel]]
 +
|aggro=Nein
 +
|}}
 +
 
{{Clear}}
 
{{Clear}}
 +
 
==Also See==
 
==Also See==
* [[Template:BossInfoBox]]
+
*[[Vorlage:BossInfoBox]]
[[Category: Infobox Vorlagen|MobInfoBox]]
+
[[Kategorie:Vorlage:Infobox|MobInfoBox]]
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 23. August 2021, 21:35 Uhr

de:Vorlage:MobInfoBox
en:Template:MobInfoBox
es:Plantilla:MobInfoBox
fr:Modèle:MobInfoBox
ru:Template:MobInfoBox
 
UnderConstruction.png
Übersetzung zur Überprüfung
Gib nicht den Mitwirkenden die Schuld, sondern komm und hilf ihnen. 😎
Taxonomie-Bernstein
MobInfoBox
[[Image:{{{image}}}|300px]]
Reich {{{king}}}
Gruppe {{{species}}}
Ökosystem {{{locale}}}
Aggressiv {{{aggro}}}
Art des Gegenangriffs Wehrlos

Beschreibung

{{MobInfoBox
|image=<Dateiname>
|name={{PAGENAME}}
|king=<Reich der Kreatur>
|species=<Typ der Kreatur>
|locale=<vorkommende Regionen>
|aggro=<Ja/Nein>
|damage=<primärer Schadenstyp/Wehrlos>
|}}

Notiz: Verwende {{PAGENAME}}, sofern der Seitename sich nicht vom Mobnamen unterscheidet.

Beispiel

Taxonomie-Bernstein
Hoppelhase
Kincher.jpg
Reich Tiere
Gruppe Fleischfresser
Ökosystem Überall
Aggressiv Ja
Art des Angriffs Zerschmettern
Taxonomie-Bernstein
Batao
Batao winter.jpg
Reich Pflanzen
Gruppe Bäume
Ökosystem Dschungel
Aggressiv Nein
Art des Gegenangriffs Wehrlos


Also See