Difference between revisions of "Template:Tableimage/doc"

From UnderWiki
Jump to navigation Jump to search
Line 2: Line 2:
 
:A template which puts an image inside of a table. To be used with <nowiki>{{Tabletop}}</nowiki> and <nowiki>{{Tablebottom}}</nowiki>.
 
:A template which puts an image inside of a table. To be used with <nowiki>{{Tabletop}}</nowiki> and <nowiki>{{Tablebottom}}</nowiki>.
 
;Syntax
 
;Syntax
:{{T|image|imagewidth|imageheight|caption|collection}}
+
:{{T|Tableimage|image|imagewidth|imageheight|caption|collection}}
 
== Parameters ==
 
== Parameters ==
 
{| class="wikitable"
 
{| class="wikitable"
Line 26: Line 26:
 
:<code><nowiki>{{Tabletop}}
 
:<code><nowiki>{{Tabletop}}
 
{{Tableimage
 
{{Tableimage
| image = SotA Crafting Sigil wood.jpg
+
| image = Underworld Ascendant-Player Characters.jpg
 
| imagewidth = 250}}
 
| imagewidth = 250}}
 
{{Tablebottom}}</nowiki></code> gives...
 
{{Tablebottom}}</nowiki></code> gives...
 
:{{Tabletop}}
 
:{{Tabletop}}
 
{{Tableimage
 
{{Tableimage
| image = SotA Crafting Sigil wood.jpg
+
| image = Underworld Ascendant-Player Characters.jpg
 
| imagewidth = 250}}
 
| imagewidth = 250}}
 
{{Tablebottom}}
 
{{Tablebottom}}

Revision as of 21:14, 2 February 2015

Description
A template which puts an image inside of a table. To be used with {{Tabletop}} and {{Tablebottom}}.
Syntax
{{Tableimage|<image>|<imagewidth>|<imageheight>|<caption>|<collection>}}

Parameters

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 = Underworld Ascendant-Player Characters.jpg | imagewidth = 250}} {{Tablebottom}} gives...
Tableimage/doc
Underworld Ascendant-Player Characters.jpg
See also
Template:Tabletop
Template:Tablerow
Template:TablerowAsk
Template:TablerowShow
Template:TablerowOptional
Template:TablerowAskOptional
Template:TablerowShowOptional
Template:Tablebottom