Difference between revisions of "Template:Description NativeLook"
[unchecked revision] | [unchecked revision] |
m (1. step) |
m |
||
Line 161: | Line 161: | ||
}} | }} | ||
}} | }} | ||
− | | 88}}px;background-color:black;text-align: center | + | | 88}}px;background-color:black;opacity:0.5"> |
− | {{#if: {{{name|}}} |{{#ifeq: {{#explode:{{{name}}}|;|1}} | y | <div style="color: | + | </div> |
+ | <div style="position:absolute;left:6px;top:6px;width:{{#if: {{{width|}}} | ||
+ | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 12 }}| | ||
+ | {{#switch: {{{width}}} | ||
+ | | 1 = 88 | ||
+ | | 2 = 188 | ||
+ | | 3 = 288 | ||
+ | | #default = 88 | ||
+ | }} | ||
+ | }} | ||
+ | | 88}}px;height:{{#if: {{{height|}}} | ||
+ | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 12 }}| | ||
+ | {{#switch: {{{height}}} | ||
+ | | 1 = 88 | ||
+ | | 2 = 188 | ||
+ | | 3 = 288 | ||
+ | | #default = 88 | ||
+ | }} | ||
+ | }} | ||
+ | | 88}}px;text-align: center"> | ||
+ | {{#if: {{{name|}}} |{{#ifeq: {{#explode:{{{name}}}|;|1}} | y | <div style="color:orange">{{#explode:{{{name}}}|;|0}}</div> | <div style="color:navajowhite">{{#explode:{{{name}}}|;|0}}</div> }} |}}{{#if: {{{lvl|}}} |<div style="color:silver">From level: {{{lvl}}}</div>|}}{{#if: {{{text|}}} |{{{text}}}|}}{{#if: {{{wearable|}}} |<div style="color:silver">[Wearable]</div><div style="color:silver">{{#switch: {{{wearable}}} | ||
| warrior = Warrior | | warrior = Warrior | ||
| ninja = Ninja | | ninja = Ninja |