15,092
edits
m (Text replacement - "> <includeonly>" to "><includeonly>") |
m (Text replacement - "\[\[(:)?Image:" to "[[$1File:") |
||
(One intermediate revision by the same user not shown) | |||
Line 26: | Line 26: | ||
If the result has decimals, round up, e.g. ''27.9387 = 28''. This is important, because if the height value is too low, only part of the picture is shown, if it's too high, it leaves a long blank space under the picture, which disturbs the surroundings while still acting as a link. | If the result has decimals, round up, e.g. ''27.9387 = 28''. This is important, because if the height value is too low, only part of the picture is shown, if it's too high, it leaves a long blank space under the picture, which disturbs the surroundings while still acting as a link. | ||
[[Category:Utility templates | [[Category:Utility templates]] | ||
</noinclude><includeonly><div style="position:relative; overflow:hidden; width:{{{width}}}; z-index:2;">[[ | </noinclude><includeonly><div style="position:relative; overflow:hidden; width:{{{width}}}; z-index:2;">[[File:{{{image}}}|{{{width}}}|{{{link}}}]]<div style="position:absolute; top:0; left:0; padding-top:3px; z-index:3;">[[{{{link}}}|<span style="float:left; width:{{{width}}}; height:{{{height}}}; font-size:{{{height}}}; line-height:{{{height}}}; word-spacing:{{{width}}}; cursor:pointer;"> </span>]]</div></div></includeonly> |