«قالب:Description NativeLook»: الفرق بين المراجعتين
[مراجعة منقحة] | [مراجعة منقحة] |
ط (استرجع تعديلات JeFo (نقاش) حتى آخر مراجعة لIsmailrhiliz) |
|||
سطر ٢: | سطر ٢: | ||
|{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{{width}}}| | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{{width}}}| | ||
{{#switch: {{{width}}} | {{#switch: {{{width}}} | ||
− | | 1 = | + | | 1 = 100 |
− | | 2 = | + | | 2 = 200 |
− | | 3 = | + | | 3 = 300 |
− | | #default = | + | | #default = 100 |
}} | }} | ||
}} | }} | ||
− | | | + | | 100}}px;height:{{#if: {{{height|}}} |
|{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{{height}}}| | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{{height}}}| | ||
{{#switch: {{{height}}} | {{#switch: {{{height}}} | ||
− | | 1 = | + | | 1 = 100 |
− | | 2 = | + | | 2 = 200 |
− | | 3 = | + | | 3 = 300 |
− | | #default = | + | | #default = 100 |
}} | }} | ||
}} | }} | ||
− | | | + | | 100}}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 = 80 |
− | | 2 = | + | | 2 = 180 |
− | | 3 = | + | | 3 = 280 |
− | | #default = | + | | #default = 80 |
}} | }} | ||
}} | }} | ||
− | | | + | | 80}}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 = 80 |
− | | 2 = | + | | 2 = 180 |
− | | 3 = | + | | 3 = 280 |
− | | #default = | + | | #default = 80 |
}} | }} | ||
}} | }} | ||
− | | | + | | 80}}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> | ||
سطر ٥٩: | سطر ٥٩: | ||
|{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 12 }}| | |{{#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}}} - 12 }}| | |{{#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"> |
<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;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"> | <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"> |