Editing
Template:Imagebox
From PWI Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{| style="background: #171513; border: 1px solid #6A5D44; margin-left: 5px; margin-right: 5px; padding: 3px;" align="{{{balign|}}}" width="{{{bwidth|}}}" |- align="center" | [[Image:{{{image}}}|frameless|{{{iwidth}}}]] |- align="{{{talign|}}}" |{{{text|}}} |} <noinclude> ---- 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 or "upright=N" for an image that is ''up to'' 220 * N pixles wide, but no wider than the original image. Use something like "upright=100" (or some other large number) if you want the image to appear full size. :'''balign''' : 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. :'''talign''' : the alignment of the text in the box, meaning left, right, or center. Default is "left". The image and iwidth parameters are required, the rest are optional. Do not add the quotes around the parameter values. {{Imagebox|image=Sparks.png|iwidth=76px|text='''A full and an empty spark.'''|balign=right|bwidth=95px}} So, for example, '''<NoWiki>{{Imagebox|image=Sparks.png|iwidth=76px|text='''A full and an empty spark.'''|balign=right|bwidth=95px}}</NoWiki>''' produces the box seen to the right: While '''<NoWiki>{{Imagebox|image=Blazing Phoenix.JPG|iwidth=upright=1|text='''[[Baby Blazing Phoenix|A "Nix".]]'''|talign=center}}</NoWiki>''' produces the box below: {{Imagebox|image=Blazing Phoenix.JPG|iwidth=upright=1|text='''[[Baby Blazing Phoenix|A "Nix".]]'''|talign=center}} </noinclude>
Summary:
Please note that all contributions to PWI Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
PWpedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Imagebox
(
edit
)
Navigation menu
Page actions
Template
Discussion
Read
Edit
History
Page actions
Template
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information