Difference between revisions of "Template:LiathRoundImage"
From PRIMUS Database
Line 1: | Line 1: | ||
− | <div style="float:left; width:{{{#if:diameter|300|{{formatnum: diameter}}}}}px; height:{{#if:diameter|300|{{formatnum: diameter}}}}px; border-radius:{{{radius|150}}}px; overflow:hidden; border: {{{border|5}}}px solid {{{bordercolor|#000000}}}; padding: 0px; margin:15px; font-size:0px;"> | + | <div style="float:left; width:{{{#if:diameter|300|{{formatnum: diameter}}}}}px; height:{{{#if:diameter|300|{{formatnum: diameter}}}}}px; border-radius:{{{radius|150}}}px; overflow:hidden; border: {{{border|5}}}px solid {{{bordercolor|#000000}}}; padding: 0px; margin:15px; font-size:0px;"> |
− | [[Image:{{{image|Primusdatabase300.jpg}}}|{{#if:diameter|300|{{formatnum: diameter}}}}px|]] | + | [[Image:{{{image|Primusdatabase300.jpg}}}|{{{#if:diameter|300|{{formatnum: diameter}}}}}px|]] |
</div> | </div> | ||
<noinclude> | <noinclude> |
Revision as of 13:38, 4 November 2013
image = Name of your image file (no File: or Image: required)
diameter = Full width/height of your div i.e width of circle (no px required). Default: diameter = 300
radius = Curve size for corners. For full circle make radius = half of diameter (no px required). Default: radius = 150
border = width of border. Set to 0 for no border (no px required). Default: border = 5
bordercolor = color of border. Use #nnnnnn notation of recognised HTML color codes. Default: bordercolor = #000000
Copy the following onto your page and fill out the appropriate information.
{{LiathRoundImage | image = | diameter = | radius = | border = | bordercolor = |}}