Template:Imagebox
From PWI Wiki
| [[Image:{{{image}}}|{{{iwidth}}}]] |
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".
- iwidth : the width of the image in the box, such as "76px" for 76 pixels wide. Use "100%" if you want the image to appear full size.
- align : the alignment of the box, meaning left, right, or center. Default is "left".
- bwidth : the width of the box, such as "95px". If no width is specified, it will be sized to either the image or the text, whichever is wider.
- text : the text to put below the image.
The image and iwidth parameters are required, the rest are optional.
| 100% |
| A full and an empty spark. |
So, for example, {{Imagebox|image=Sparks.png|iwidth=100%|text='''A full and an empty spark.'''|align=right|bwidth=95px}} produces the box seen to the right:
| File:Blazing Phoenix.JPG |
| A "Nix". |