Difference between revisions of "Template:Description NativeLook"
[unchecked revision] | [checked revision] |
m |
Skilgannon (talk | contribs) |
||
(39 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
}} | }} | ||
}} | }} | ||
− | | 100}}px;height | + | | 100}}px;height:{{#if: {{{height|}}} |
− | + | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{{height}}}| | |
− | + | {{#switch: {{{height}}} | |
− | |{{#ifexpr:{{#len: {{{ | + | | 1 = 100 |
− | {{#switch: {{{ | + | | 2 = 200 |
− | | 1 = | + | | 3 = 300 |
− | | 2 = | + | | #default = 100 |
− | | 3 = | ||
− | | #default = | ||
}} | }} | ||
}} | }} | ||
− | | | + | | 100}}px;left:0px;top:0px"> |
− | <div style="position:absolute;left:10px;top: | + | <div style="position:absolute;left:0px;top:0px;width:10px;height:10px;line-height:7px;">[[File:UL nativelook.png|link=]]</div> |
+ | <div style="position:absolute;right:0px;top:0px;width:10px;height:10px;line-height:7px;">[[File:UR nativelook.png|link=]]</div> | ||
+ | <div style="position:absolute;left:0px;bottom:0px;width:10px;height:10px;line-height:7px;">[[File:DL nativelook.png|link=]]</div> | ||
+ | <div style="position:absolute;right:0px;bottom:0px;width:10px;height:10px;line-height:7px;">[[File:DR nativelook.png|link=]]</div> | ||
+ | <div style="position:absolute;left:10px;top:0px;width:{{#if: {{{width|}}} | ||
|{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 20 }}| | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 20 }}| | ||
{{#switch: {{{width}}} | {{#switch: {{{width}}} | ||
Line 29: | Line 31: | ||
}} | }} | ||
}} | }} | ||
− | | 80}}px;height:1px;background-color:black"> | + | | 80}}px;height:100%"> |
− | <div style="position:absolute;left: | + | <div style="position:absolute;top:0px;height:1px;background-color:#524e4b;width:100%"></div> |
− | |{{#ifexpr:{{#len: {{{ | + | <div style="position:absolute;top:1px;height:1px;background-color:black;width:100%"></div> |
− | {{#switch: {{{ | + | <div style="position:absolute;top:2px;height:4px;background-color:black;opacity:0.5;width:100%;<!--[if lt IE 9]>filter:alpha(opacity=50)<![endif]-->"></div> |
+ | <div style="position:absolute;bottom:0px;height:1px;background-color:#524e4b;width:100%"></div> | ||
+ | <div style="position:absolute;bottom:1px;height:1px;background-color:black;width:100%"></div> | ||
+ | <div style="position:absolute;bottom:2px;height:4px;background-color:black;opacity:0.5;width:100%;;<!--[if lt IE 9]>filter:alpha(opacity=50)<![endif]-->"></div> | ||
+ | </div> | ||
+ | <div style="position:absolute;left:0px;top:10px;width:100%;height:{{#if: {{{height|}}} | ||
+ | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 20 }}| | ||
+ | {{#switch: {{{height}}} | ||
| 1 = 80 | | 1 = 80 | ||
| 2 = 180 | | 2 = 180 | ||
Line 39: | Line 48: | ||
}} | }} | ||
}} | }} | ||
− | | 80}}px | + | | 80}}px"> |
− | <div style="position:absolute; | + | <div style="position:absolute;left:0px;height:100%;width:1px;background-color:#524e4b"></div> |
− | + | <div style="position:absolute;left:1px;height:100%;width:1px;background-color:black"></div> | |
− | <div style="position:absolute;left:1px; | + | <div style="position:absolute;left:2px;height:100%;width:4px;background-color:black;opacity:0.5;<!--[if lt IE 9]>filter:alpha(opacity=50)<![endif]-->"></div> |
− | <div style="position:absolute;left:2px; | + | <div style="position:absolute;right:0px;height:100%;width:1px;background-color:#524e4b"></div> |
− | <div style="position:absolute;right:0px; | + | <div style="position:absolute;right:1px;height:100%;width:1px;background-color:black"></div> |
− | <div style="position:absolute;right:1px; | + | <div style="position:absolute;right:2px;height:100%;width:4px;background-color:black;opacity:0.5;;<!--[if lt IE 9]>filter:alpha(opacity=50)<![endif]-->"></div> |
− | <div style="position:absolute;right:2px; | + | </div> |
− | + | <div style="position:absolute;left:6px;top:6px;width:{{#if: {{{width|}}} | |
− | <div style="position:absolute;left: | + | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 12 }}| |
− | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - | ||
{{#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}}} - 12 }}| | |
− | |{{#ifexpr:{{#len: {{{ | + | {{#switch: {{{height}}} |
− | {{#switch: {{{ | + | | 1 = 88 |
− | | 1 = | + | | 2 = 188 |
− | | 2 = | + | | 3 = 288 |
− | | 3 = | + | | #default = 88 |
− | | #default = | ||
}} | }} | ||
}} | }} | ||
− | | | + | | 88}}px"> |
− | <div style="position:absolute;left: | + | <div style="position:absolute;background-color:black;opacity:0.5;width:100%;height:100%; <!--[if lt IE 9]>filter:alpha(opacity=50)<![endif]-->"></div> |
− | |{{# | + | <div style="position:absolute;left:0px;top:0px;width:100%;height:100%;text-align:center;font-size:9px;text-shadow:-1px -1px 0.1px black, -1px 1px 0.1px black, 1px 1px 0.1px black, 1px -1px 0.1px black, -1px 0px 0.1px black, 1px 0px 0.1px black, 0px 1px 0.1px black, 0px -1px 0.1px black"> |
− | {{# | + | {{#if: {{{name|}}} |{{#ifeq: {{#explode:{{{name}}}|;|1}} | y | <div style="color:#ffc700;font-weight:bold;">{{#explode:{{{name}}}|;|0}}</div> | <div style="color:silver">{{#explode:{{{name}}}|;|0}}</div> }} |}}{{#if: {{{lvl|}}} |<div style="color:#c1c1c1;font-weight:bold;">From level: {{{lvl}}}</div>|}}{{#if: {{{text|}}} |{{{text}}}|}}{{#if: {{{wearable|}}} |<div style="color:#c1c1c1;font-weight:bold;">[ Wearable ]</div><div style="color:silver;font-weight:bold;">{{#switch: {{{wearable}}} |
− | + | | warrior = Warrior | |
− | + | | ninja = Ninja | |
− | + | | sura = Sura | |
− | + | | shaman = Shaman | |
− | }} | + | | lycan = Lycan |
− | }} | + | | 3 = Warrior Ninja Sura |
− | | | + | | 4 = Warrior Ninja Sura Shaman |
− | <div style=" | + | | #default = Warrior Ninja Sura Shaman |
− | + | }}</div>|}} | |
− | |||
− | |{{ | ||
− | {{#switch: {{{ | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | |||
− | | | ||
− | |||
</div> | </div> | ||
− | |||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | + | <!-- Useable for people who have IQ > 100 // Author Sarevok, Big helper Quinn --> | |
− | + | <noinclude> | |
− | + | [[Category:ArticleTemplates]] | |
− | < | + | </noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[Category: |