Thank you for visiting SotAwiki, a Shroud of the Avatar Wiki Encyclopedia. If you see any information that is outdated, please take the time to update it, or if you prefer, leave a message for other editors. This community wiki is for the benefit of all Avatars!

Template:Tableimage: Difference between revisions

From SotA Wiki
Jump to navigation Jump to search
Alianin (talk | contribs)
m Changed category.
Fenyx4 (talk | contribs)
Add backgroundcolor
 
Line 2: Line 2:
  </nowiki>
  </nowiki>
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|{{{imagewidth|250}}}{{#if: {{{imageheight|}}}|x|}}{{{imageheight|}}}px]]<br/>{{{caption|}}}
{{!}} colspan="2" style="text-align:center;{{#if: {{{backgroundcolor|}}}|background:{{{backgroundcolor|}}}|}}" {{!}} [[File:{{{image}}}|{{{imagewidth|250}}}{{#if: {{{imageheight|}}}|x|}}{{{imageheight|}}}px]]<br/>{{{caption|}}}
|
|
}}{{#if:{{{collection|}}}|<nowiki> </nowiki>
}}{{#if:{{{collection|}}}|<nowiki> </nowiki>

Latest revision as of 20:11, 2 March 2015


Template documentation (for the above template, sometimes hidden or invisible)
Description
A template which puts an image inside of a table. To be used with {{Tabletop}} and {{Tablebottom}}.
Syntax
{{image|<imagewidth>|<imageheight>|<caption>|<collection>}}

Parameters[edit]

Parameter Explanation
image (optional if collection is provided) Name and extension of image.
imagewidth (optional) Width of the image. Defaults to 250.
imageheight (optional) Height of the image.
caption (optional) Caption for image, if necessary.
collection Images that has a matching Property:has image collection.
Sample code
{{Tabletop}} {{Tableimage | image = SotA Crafting Sigil wood.jpg | imagewidth = 250}} {{Tablebottom}} gives...
Tableimage
File:SotA Crafting Sigil wood.jpg
See also
Template:Tabletop
Template:Tablerow
Template:TablerowAsk
Template:TablerowShow
Template:TablerowOptional
Template:TablerowAskOptional
Template:TablerowShowOptional
Template:Tablebottom
Visit Template:Tableimage/doc to edit this text! (How does this work?)