"Şablon:Kutucuk" sayfasının sürümleri arasındaki fark
[kontrol edilmemiş revizyon] | [kontrol edilmemiş revizyon] |
(Yatay %95) |
|||
1. satır: | 1. satır: | ||
− | <div style="position:relative;width: | + | <div style="position:relative;width:{{#if: {{{width|}}} |
+ | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{{width}}}| | ||
+ | {{#switch: {{{width}}} | ||
+ | | 1 = 110 | ||
+ | | 2 = 200 | ||
+ | | 3 = 300 | ||
+ | | #default = 110 | ||
+ | }} | ||
+ | }} | ||
+ | | 110}}px;height:{{#if: {{{height|}}} | ||
|{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{{height}}}| | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{{height}}}| | ||
{{#switch: {{{height}}} | {{#switch: {{{height}}} | ||
13. satır: | 22. satır: | ||
<div style="position:absolute;left:0px;bottom:0px;width:10px;height:10px;line-height:7px;">[[File:solalt.png|link=]]</div> | <div style="position:absolute;left:0px;bottom:0px;width:10px;height:10px;line-height:7px;">[[File:solalt.png|link=]]</div> | ||
<div style="position:absolute;right:0px;bottom:0px;width:10px;height:10px;line-height:7px;">[[File:sagalt.png|link=]]</div> | <div style="position:absolute;right:0px;bottom:0px;width:10px;height:10px;line-height:7px;">[[File:sagalt.png|link=]]</div> | ||
− | <div style="position:absolute;left:10px;top:0px;width: | + | <div style="position:absolute;left:10px;top:0px;width:{{#if: {{{width|}}} |
+ | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 20 }}| | ||
+ | {{#switch: {{{width}}} | ||
+ | | 1 = 90 | ||
+ | | 2 = 180 | ||
+ | | 3 = 280 | ||
+ | | #default = 90 | ||
+ | }} | ||
+ | }} | ||
+ | | 90}}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> | ||
38. satır: | 56. satır: | ||
<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;height:100%;width:4px;background-color:black;opacity:0.5;;<!--[if lt IE 9]>filter:alpha(opacity=50)<![endif]-->"></div> | ||
</div> | </div> | ||
− | <div style="position:absolute;left:6px;top:6px;width:98 | + | <div style="position:absolute;left:6px;top:6px;width:{{#if: {{{width|}}} |
+ | |{{#ifexpr:{{#len: {{{width}}} }} > 1 |{{#expr: {{{width}}} - 12 }}| | ||
+ | {{#switch: {{{width}}} | ||
+ | | 1 = 98 | ||
+ | | 2 = 188 | ||
+ | | 3 = 288 | ||
+ | | #default = 98 | ||
+ | }} | ||
+ | }} | ||
+ | | 98}}px;height:{{#if: {{{height|}}} | ||
|{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 12 }}| | |{{#ifexpr:{{#len: {{{height}}} }} > 1 |{{#expr: {{{height}}} - 12 }}| | ||
{{#switch: {{{height}}} | {{#switch: {{{height}}} |