Vorlage:MobInfoBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
K
Zeile 1: Zeile 1:
<noinclude>{{TIP
+
<noinclude>{{Trad
|DE=1
+
|DE=Template:MobInfoBox
|EN=4
+
|EN=Template:MobInfoBox
|ES=0
+
|ES=Template:MobInfoBox
|FR=4
+
|FR=Template:MobInfoBox
 
|RU=
 
|RU=
}}</noinclude><!--
+
}}
-->{{#vardefine:colour|9E9}}<!--
+
</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, 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 (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: #{{#var:colour}};"
+
|-------------------------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='''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: #{{#var:colour}};"
+
-->| {{{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: #{{#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='''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: #{{#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}}} |kein}} }}  
 
|}<!--
 
|}<!--
 
--><noinclude>{{Clear}}
 
{{Trad
 
|DE=Template:MobInfoBox
 
|EN=Template:MobInfoBox
 
|ES=Template:MobInfoBox
 
|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 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

de:Template:MobInfoBox
en:Template:MobInfoBox
es:Template:MobInfoBox
fr: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}}}
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
Kincher.jpg
Reich Tieren
Gruppe {{{species}}}
Ökosystem Überall
Aggressiv Ja
Art des Angriffs Schmetternd
Taxonomie-Bernstein
Batao
Batao winter.jpg
Reich Pflantzen
Gruppe {{{species}}}
Ökosystem jungle
Aggressiv No
Art des Gegenangriffs Wehrlos


Also See