Vorlage:MobInfoBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
K
 
(7 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 7: Zeile 7:
 
}}
 
}}
 
</noinclude>{{#vardefine:colour|{{#switch:{{lc:{{{king|}}} }}
 
</noinclude>{{#vardefine:colour|{{#switch:{{lc:{{{king|}}} }}
| pflantzen = rgba(153, 255, 153, 1) <!-- #9f9 opaque -->
+
| pflanzen = rgba(153, 255, 153, 1) <!-- #9f9 opaque -->
| tieren = rgba(255, 153, 153, 1) <!-- #f99 opaque -->
+
| tiere = rgba(255, 153, 153, 1) <!-- #f99 opaque -->
 
| rgba(255, 255, 153, 1)<!-- #ff9 opaque -->
 
| rgba(255, 255, 153, 1)<!-- #ff9 opaque -->
 
}} }}<!--
 
}} }}<!--
Zeile 26: Zeile 26:
 
|-
 
|-
 
! colspan="2" |[[Image:{{{image}}}|300px]]
 
! colspan="2" |[[Image:{{{image}}}|300px]]
|-------------------------style="background: {{#var:colour}};" <!--Reich (Pflantzen, Tieren)-->
+
|-------------------------style="background: {{#var:colour}};" <!--Reich (Pflanzen, Tiere)-->
 
!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 41: Zeile 41:
 
-->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;"<!--
 
-->text-align:left; padding:.2em .4em;"<!--
-->| {{{type}}}
+
-->| {{{species}}}
 
|-------------------------style="background: {{#var:colour}};" <!--Where-->
 
|-------------------------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));<!--
Zeile 50: Zeile 50:
 
-->text-align:left; padding:.2em .4em;"<!--
 
-->text-align:left; padding:.2em .4em;"<!--
 
-->| {{{locale}}}
 
-->| {{{locale}}}
{{#ifeq: {{lc:{{{aggro|}}}-{{{king|}}}-{{{damage|}}} }} | no-plants- |  |
 
 
 
 
 
 
 
 
|-------------------------style="background: {{#var:colour}};" <!--Aggro-->
 
|-------------------------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;"<!--
 
-->text-align:right; padding:.2em .8em;"<!--
-->| {{3DText|text='''Aggressive'''}}
+
-->| {{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));<!--
Zeile 84: Zeile 77:
 
|name={{PAGENAME}}
 
|name={{PAGENAME}}
 
|king=<Reich der Kreatur>
 
|king=<Reich der Kreatur>
|type=<Typ der Kreatur>
+
|species=<Typ der Kreatur>
 
|locale=<vorkommende Regionen>
 
|locale=<vorkommende Regionen>
 
|aggro=<Ja/Nein>
 
|aggro=<Ja/Nein>
Zeile 98: Zeile 91:
 
|image=Kincher.jpg
 
|image=Kincher.jpg
 
|name=Hoppelhase
 
|name=Hoppelhase
|king=Tier
+
|king=Tiere
|type=Fleischfresser
+
|species=Fleischfresser
 
|locale=Überall
 
|locale=Überall
 
|aggro=Ja
 
|aggro=Ja
Zeile 107: Zeile 100:
 
|image=Batao_winter.jpg
 
|image=Batao_winter.jpg
 
|name=Batao
 
|name=Batao
|king=Pflanze
+
|king=Pflanzen
|type=[[:Category:Bäume|Baum]]
+
|species=[[:Category:Bäume|Bäume]]
 
|locale=[[Dschungel]]
 
|locale=[[Dschungel]]
 
|aggro=Nein
 
|aggro=Nein
Zeile 117: Zeile 110:
 
==Also See==
 
==Also See==
 
*[[Vorlage:BossInfoBox]]
 
*[[Vorlage:BossInfoBox]]
[[Kategorie: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