Template:Image rect

From FragoriaWiki

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
-
<div style="LEFT: {{{left}}}px; WIDTH: {{{width}}}px; POSITION: absolute; TOP: {{{top}}}px; HEIGHT: {{{height}}}px">[[Файл:{{{image|Пусто.png}}}|{{{width}}}x{{{height}}}px|link={{{link}}}]]</div>
+
<div style="{{#if:{{{left|}}}|LEFT: {{{left}}}px;}}{{#if:{{{width|}}}| WIDTH: {{{width}}}px;}} POSITION: absolute;{{#if:{{{top|}}}| TOP: {{{top}}}px;}}{{#if:{{{height|}}}| HEIGHT: {{{height}}}px}}">[[Файл:{{{image|Пусто.png}}}{{#if:{{{width|}}}|{{!}}{{{width}}}x{{{height}}}px}}|link={{{link}}}]]</div>

Revision as of 22:29, 3 February 2011

link={{{link}}}
Personal tools