«قالب:Description NativeLook»: الفرق بين المراجعتين
[مراجعة منقحة] | [مراجعة منقحة] |
سطر ٢٥: | سطر ٢٥: | ||
|{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 20 }}| | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 20 }}| | ||
{{#switch: {{{width}}} | {{#switch: {{{width}}} | ||
− | | 1 = | + | | 1 = 130 |
− | | 2 = | + | | 2 = 230 |
− | | 3 = | + | | 3 = 330 |
− | | #default = | + | | #default = 130 |
}} | }} | ||
}} | }} | ||
− | | | + | | 130}}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 = 130 |
− | | 2 = | + | | 2 = 230 |
− | | 3 = | + | | 3 = 330 |
− | | #default = | + | | #default = 130 |
}} | }} | ||
}} | }} | ||
− | | | + | | 130}}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 = 118 |
− | | 2 = | + | | 2 = 218 |
− | | 3 = | + | | 3 = 318 |
− | | #default = | + | | #default = 118 |
}} | }} | ||
}} | }} | ||
− | | | + | | 118}}px;height:{{#if: {{{height|}}} |
|{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 12 }}| | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 12 }}| | ||
{{#switch: {{{height}}} | {{#switch: {{{height}}} | ||
− | | 1 = | + | | 1 = 118 |
− | | 2 = | + | | 2 = 218 |
− | | 3 = | + | | 3 = 318 |
− | | #default = | + | | #default = 118 |
}} | }} | ||
}} | }} | ||
− | | | + | | 118}}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"> |