Difference between revisions of "Template:Description NativeLook"
[unchecked revision] | [unchecked revision] |
m |
m (better, prepar for transparention) |
||
Line 48: | Line 48: | ||
}} | }} | ||
}} | }} | ||
− | | 80}}px;height: | + | | 80}}px;height:4px;background-color:#2d2a25"> </div> |
<div style="position:absolute;right:0px;top:0px;width:10px;height:10px;line-height:7px;">[[File:UR nativelook.png]]</div> | <div style="position:absolute;right:0px;top:0px;width:10px;height:10px;line-height:7px;">[[File:UR nativelook.png]]</div> | ||
<div style="position:absolute;left:0px;top:10px;width:1px;height:{{#if: {{{height|}}} | <div style="position:absolute;left:0px;top:10px;width:1px;height:{{#if: {{{height|}}} | ||
Line 70: | Line 70: | ||
}} | }} | ||
| 80}}px;background-color:black"> </div> | | 80}}px;background-color:black"> </div> | ||
− | <div style="position:absolute;left:2px;top:10px;width: | + | <div style="position:absolute;left:2px;top:10px;width:4px;height:{{#if: {{{height|}}} |
|{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 20 }}| | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 20 }}| | ||
{{#switch: {{{height}}} | {{#switch: {{{height}}} | ||
Line 100: | Line 100: | ||
}} | }} | ||
| 80}}px;background-color:black"> </div> | | 80}}px;background-color:black"> </div> | ||
− | <div style="position:absolute;right:2px;top:10px;width: | + | <div style="position:absolute;right:2px;top:10px;width:4px;height:{{#if: {{{height|}}} |
|{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 20 }}| | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 20 }}| | ||
{{#switch: {{{height}}} | {{#switch: {{{height}}} | ||
Line 140: | Line 140: | ||
}} | }} | ||
}} | }} | ||
− | | 80}}px;height: | + | | 80}}px;height:4px;background-color:#2d2a25"> </div> |
<div style="position:absolute;right:0px;bottom:0px;width:10px;height:10px;line-height:7px;">[[File:DR nativelook.png]]</div> | <div style="position:absolute;right:0px;bottom:0px;width:10px;height:10px;line-height:7px;">[[File:DR nativelook.png]]</div> | ||
− | <div style="position:absolute;left: | + | <div style="position:absolute;left:6px;top:6px;width:{{#if: {{{width|}}} |
− | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - | + | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 12 }}| |
{{#switch: {{{width}}} | {{#switch: {{{width}}} | ||
− | | 1 = | + | | 1 = 88 |
− | | 2 = | + | | 2 = 188 |
− | | 3 = | + | | 3 = 288 |
− | | #default = | + | | #default = 88 |
}} | }} | ||
}} | }} | ||
− | | | + | | 88}}px;height:{{#if: {{{height|}}} |
− | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - | + | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 12 }}| |
{{#switch: {{{height}}} | {{#switch: {{{height}}} | ||
− | | 1 = | + | | 1 = 88 |
− | | 2 = | + | | 2 = 188 |
− | | 3 = | + | | 3 = 288 |
− | | #default = | + | | #default = 88 |
}} | }} | ||
}} | }} | ||
− | | | + | | 88}}px;background-color:#2d2a25;text-align: center"> |
{{#if: {{{name|}}} |{{#ifeq: {{#explode:{{{name}}}|;|1}} | y | <div style="color:#d5bf98">{{#explode:{{{name}}}|;|0}}</div> | <div style="color:#ebe4dc">{{#explode:{{{name}}}|;|0}}</div> }} |}}{{#if: {{{lvl|}}} |<div style="color:#9eaaa0">From level: {{{lvl}}}</div>|}}{{#if: {{{text|}}} |{{{text}}}|}}{{#if: {{{wearable|}}} |<div style="color:#9eaaa0">[Wearable]</div><div style="color:#9eaaa0">{{#switch: {{{wearable}}} | {{#if: {{{name|}}} |{{#ifeq: {{#explode:{{{name}}}|;|1}} | y | <div style="color:#d5bf98">{{#explode:{{{name}}}|;|0}}</div> | <div style="color:#ebe4dc">{{#explode:{{{name}}}|;|0}}</div> }} |}}{{#if: {{{lvl|}}} |<div style="color:#9eaaa0">From level: {{{lvl}}}</div>|}}{{#if: {{{text|}}} |{{{text}}}|}}{{#if: {{{wearable|}}} |<div style="color:#9eaaa0">[Wearable]</div><div style="color:#9eaaa0">{{#switch: {{{wearable}}} | ||
| warrior = Warrior | | warrior = Warrior |