User talk:SnorlaxMonster: Difference between revisions

m
Line 402: Line 402:
<div style="margin: 0.25em 0 0.4em 0.4em; float:{{{float|right}}};{{#ifeq:{{{float|right}}}|left|margin-right:0.5em;}}width:{{#expr:{{{boxW|100}}}*{{{factor|1}}} round 0}}px; height:{{#expr:{{{boxH|100}}}*{{{factor|1}}} round 0}}px; overflow:hidden;"><div style="float:left; margin-left:-{{#expr:{{{right|0}}}*{{{factor|1}}} round 0}}px; margin-top:-{{#expr:{{{down|0}}}*{{{factor|1}}} round 0}}px;" title="{{{MO|{{{link}}}}}}">
<div style="margin: 0.25em 0 0.4em 0.4em; float:{{{float|right}}};{{#ifeq:{{{float|right}}}|left|margin-right:0.5em;}}width:{{#expr:{{{boxW|100}}}*{{{factor|1}}} round 0}}px; height:{{#expr:{{{boxH|100}}}*{{{factor|1}}} round 0}}px; overflow:hidden;"><div style="float:left; margin-left:-{{#expr:{{{right|0}}}*{{{factor|1}}} round 0}}px; margin-top:-{{#expr:{{{down|0}}}*{{{factor|1}}} round 0}}px;" title="{{{MO|{{{link}}}}}}">
{{#if:{{{url|}}}|<div style="margin-left:{{#expr:-({{{imageW}}}-{{{imageW}}}*{{{factor|1}}})/2 round 0}}px;margin-top:{{#expr:-({{{imageH}}}-{{{imageH}}}*{{{factor|1}}})/2 round 0}}px"><div style="float:left;transform:scale({{{factor|1}}}); -moz-transform:scale({{{factor|1}}}); -webkit-transform:scale({{{factor|1}}}); -o-transform:scale({{{factor|1}}}); -ms-transform:scale({{{factor|1}}}); -khtml-transform:scale({{{factor|1}}})">[{{SERVER}}/{{{link}}} {{{url}}}]</div></div>
{{#if:{{{url|}}}|<div style="margin-left:{{#expr:-({{{imageW}}}-{{{imageW}}}*{{{factor|1}}})/2 round 0}}px;margin-top:{{#expr:-({{{imageH}}}-{{{imageH}}}*{{{factor|1}}})/2 round 0}}px"><div style="float:left;transform:scale({{{factor|1}}}); -moz-transform:scale({{{factor|1}}}); -webkit-transform:scale({{{factor|1}}}); -o-transform:scale({{{factor|1}}}); -ms-transform:scale({{{factor|1}}}); -khtml-transform:scale({{{factor|1}}})">[{{SERVER}}/{{{link}}} {{{url}}}]</div></div>
|[[File:{{{image}}}|{{#expr:{{{imageW}}}*{{{factor|1}}} round 0}}px|link={{{link}}}{{!}}{{{MO|{{{link}}}}}}]]}}</div></div>
|[[File:{{{file}}}|{{#expr:{{{imageW}}}*{{{factor|1}}} round 0}}px|link={{{link}}}{{!}}{{{MO|{{{link}}}}}}]]}}</div></div>
</pre>
</pre>
:where:
:where:
  {{<nowiki />image-cutout
  {{<nowiki />image-cutout
  |image = File name with extension. Used instead of ''url''.
  |file = File name with extension. Used instead of ''url''.
  |url    = URL address of the file. Used instead of ''image''.
  |url    = URL address of the file. Used instead of ''image''.
  |imageW = Width of the image in pixels
  |imageW = Width of the image in pixels
205

edits