Vorlage:MobInfoBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
 
(23 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{#vardefine:colour|9E9}}<!--
+
<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; <!--
 
-->{|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|Taxonomie-Bernstein}}}}}
+
-->font-size:1em; font-weight:b_old; font-variant:small-caps;  " <!--
|-                                 <!--Logo and name of the subject-->
+
-->| {{3DText|3D=outset|text=Taxonomie-Bernstein}}
! 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;" <!--
 +
-->| <big>{{3DText|text={{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}</big>
 
|-
 
|-
! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]]
+
! colspan="2" |[[Image:{{{image}}}|300px]]
 
+
|-------------------------style="background: {{#var:colour}};" <!--Reich (Pflanzen, Tiere)-->
|-------------------------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='''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;"<!--
 +
-->| {{{king}}}
 +
|-------------------------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='''Typ'''}}
+
-->text-align:right; padding:.2em .8em;"<!--
 +
-->| {{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}});<!--
 
!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}};"
+
-->| {{{species}}}
 +
|-------------------------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'''}}
 
!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}};"
+
-->| {{{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='''Aggressiv'''}}
+
-->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}});<!--
 
!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}};"
+
-->| {{{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='''Schaden'''}}
+
-->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}}} |Wehrlos}} }}  
 
|}<!--
 
|}<!--
 
--><noinclude>{{Clear}}
 
{{Trad
 
|DE=Template:MobInfoBox
 
|EN=Template:MobInfoBox
 
|ES=
 
|FR=Modèle:Taxobox début
 
|RU=
 
}}
 
<!--{| class="infobox"
 
|-
 
! align="centre" colspan="2" style="background: #339966; padding: 2px;" | <font color="white">{{{name}}}</font>
 
|-
 
! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]]
 
|-
 
!align="centre" colspan="2" style="background: #339966; padding: 11px;" |
 
|-
 
|
 
|-
 
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Typ:'''</font>
 
!align="center" | {{{type}}}
 
|-
 
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Ökosystem(e):'''</font>
 
!align="center" | '''{{{locale}}}'''
 
|-
 
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Aggressiv:'''</font>
 
!align="center" | '''{{{aggro}}}'''
 
|-
 
!align="centre" style="background: #339966; width:50%;" | <font color="white">'''Schaden:'''</font>
 
!align="center" | '''{{{damage}}}'''
 
|}--><!--
 
  
 
--><noinclude>{{Clear}}
 
--><noinclude>{{Clear}}
Zeile 77: 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 92: 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==
 
*[[Vorlage:BossInfoBox]]
 
*[[Vorlage:BossInfoBox]]
[[Kategorie:Infobox Vorlagen|MobInfoBox]]
+
[[Kategorie:Vorlage:Infobox|MobInfoBox]]
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 23. August 2021, 22: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