«قالب:Description NativeLook»: الفرق بين المراجعتين
[مراجعة منقحة] | [مراجعة منقحة] |
سطر ٢: | سطر ٢: | ||
|{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{{width}}}| | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{{width}}}| | ||
{{#switch: {{{width}}} | {{#switch: {{{width}}} | ||
− | | 1 = | + | | 1 = 130 |
− | | 2 = | + | | 2 = 230 |
− | | 3 = | + | | 3 = 330 |
− | | #default = | + | | #default = 130 |
}} | }} | ||
}} | }} | ||
− | | | + | | 130}}px;height:{{#if: {{{height|}}} |
|{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{{height}}}| | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{{height}}}| | ||
{{#switch: {{{height}}} | {{#switch: {{{height}}} | ||
− | | 1 = | + | | 1 = 130 |
− | | 2 = | + | | 2 = 230 |
− | | 3 = | + | | 3 = 330 |
− | | #default = | + | | #default = 130 |
}} | }} | ||
}} | }} | ||
− | | | + | | 130}}px;left:0px;top:0px"> |
<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;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;right:0px;top:0px;width:10px;height:10px;line-height:7px;">[[File:UR nativelook.png|link=]]</div> | ||
سطر ٢٥: | سطر ٢٥: | ||
|{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 20 }}| | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 20 }}| | ||
{{#switch: {{{width}}} | {{#switch: {{{width}}} | ||
− | | 1 = | + | | 1 = 100 |
− | | 2 = | + | | 2 = 200 |
− | | 3 = | + | | 3 = 300 |
− | | #default = | + | | #default = 100 |
}} | }} | ||
}} | }} | ||
− | | | + | | 100}}px;height:100%"> |
<div style="position:absolute;top:0px;height:1px;background-color:#524e4b;width:100%"></div> | <div style="position:absolute;top:0px;height:1px;background-color:#524e4b;width:100%"></div> | ||
<div style="position:absolute;top:1px;height:1px;background-color:black;width:100%"></div> | <div style="position:absolute;top:1px;height:1px;background-color:black;width:100%"></div> | ||
سطر ٤٢: | سطر ٤٢: | ||
|{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 20 }}| | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 20 }}| | ||
{{#switch: {{{height}}} | {{#switch: {{{height}}} | ||
− | | 1 = | + | | 1 = 100 |
− | | 2 = | + | | 2 = 200 |
− | | 3 = | + | | 3 = 3000 |
− | | #default = | + | | #default = 100 |
}} | }} | ||
}} | }} | ||
− | | | + | | 100}}px"> |
<div style="position:absolute;left:0px;height:100%;width:1px;background-color:#524e4b"></div> | <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;height:100%;width:1px;background-color:black"></div> |