Template:Imagebox

From PWI Wiki
Revision as of 22:50, 26 April 2010 by PWpedia>Sangodoc (Created template for images (still testing))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
[[Image:{{{image}}}|]]

This is an image box for the purpose of displaying images in a box with some text beneath them in a standard way that matches the style of this wiki. The parameters are:

image : the image name, like "xyz.jpg".
align : the alignment of the box, meaning left, right, or center.
bwidth : the width of the box, such as "95px" for 95 pixels wide. If no width is specified, it will be sized to the image or the text, whichever is wider.
iwidth : the width of the image in the box, such as "76px". If no width is specified, the image will appear full size.
text : the text to put below the image.

So, for example, {{Imagebox|image=Sparks.png|text='''A full and an empty spark.'''|align=right|bwidth=95px}} produces the box seen to the right:

File:Sparks.png
A full and an empty spark.