Difference between revisions of "Template:Description NativeLook"
m |
m |
||
Line 1: | Line 1: | ||
− | <div style="position:relative;width: | + | <div style="position:relative;width:{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{{width}}}| |
+ | {{#switch: {{{width}}} | ||
+ | | 1 = 100 | ||
+ | | 2 = 200 | ||
+ | | 3 = 300 | ||
+ | | #default = 100 | ||
+ | }} | ||
+ | }}px;height:300px;left:0px;top:0px"> | ||
<div style="position:absolute;left:0px;top:0px;width:10px;height:10px;line-height:7px;">[[File:UL nativelook.png]]</div> | <div style="position:absolute;left:0px;top:0px;width:10px;height:10px;line-height:7px;">[[File:UL nativelook.png]]</div> | ||
<div style="position:absolute;left:10px;top:0px;width:{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{{width}}}| | <div style="position:absolute;left:10px;top:0px;width:{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{{width}}}| |
Revision as of 16:39, 25 January 2013
Vision: make with real colors, maybe transparent (css) make it inteligent - variables of template: height - set height of native description - case ? width - set width of native description - case ? text - set text to body of description, must be 2 poles, delimeter maybe ";" , first will be text, second color of text - maybe it can be pre-defined some for more comfortable working - case ?