Vorlage:MobInfoBox: Unterschied zwischen den Versionen
Aus EnzyklopAtys
| Zeile 1: | Zeile 1: | ||
| + | {{#vardefine:colour|9E9}}<!-- | ||
| + | -->{|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, 165, 0, 0.5); background-image: radial-gradient(rgba(255, 255, 255, 0.2),rgba(255, 165, 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|text={{{title|Taxonomie-Amber}}}}} | ||
| + | |- <!--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: 2px;" | <font color="whi_te">{{{name}}}</font> | ||
| + | |- | ||
| + | ! colspan="2" |[[Image:{{{image}}}|300px|{{PAGENAME}}]] | ||
| + | |||
| + | |-------------------------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='''Typ'''}} | ||
| + | !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;"| {{{type}}} | ||
| + | |-------------------------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='''Ö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}});<!-- | ||
| + | -->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}};" | ||
| + | !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}};" | ||
| + | !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'''}} | ||
| + | !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;"| {{{damage}}} | ||
| + | |}<!-- | ||
| + | |||
| + | --><noinclude>{{Clear}} | ||
| + | {{Trad | ||
| + | |DE=Template:MobInfoBox | ||
| + | |EN=Template:MobInfoBox | ||
| + | |ES= | ||
| + | |FR=Template:MobInfoBox | ||
| + | |RU= | ||
| + | }} | ||
{| class="infobox" | {| class="infobox" | ||
|- | |- | ||
Version vom 10. März 2019, 14:05 Uhr
| Taxonomie-Amber | |
| {{{name}}} | |
|---|---|
| [[Image:{{{image}}}|300px|MobInfoBox]] | |
| Typ | {{{type}}} |
| Ökosystem(e) | {{{locale}}} |
| Aggressiv | {{{aggro}}} |
| Schaden | {{{damage}}} |
| {{{name}}} | |
|---|---|
| [[Image:{{{image}}}|300px|MobInfoBox]] | |
| Typ: | {{{type}}} |
| Ökosystem(e): | {{{locale}}} |
| Aggressiv: | {{{aggro}}} |
| Schaden: | {{{damage}}} |
Beschreibung
{{MobInfoBox
|image=<Dateiname>
|name={{PAGENAME}}
|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 | {{{king}}} |
| Gruppe | {{{species}}} |
| Ökosystem | Überall |
| Aggressiv | Ja |
| Art des Angriffs | Schmetternd |