Difference between revisions of "Template:Tableimage/doc"

From UnderWiki
Jump to navigation Jump to search
m (1 revision imported: Template import)
 
(2 intermediate revisions by one other user not shown)
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="sotawikitable"
+
{| class="wikitable"
 
! Parameter
 
! Parameter
 
! Explanation
 
! Explanation
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}}
Line 37: Line 37:
 
:[[Template:Tabletop]]
 
:[[Template:Tabletop]]
 
:[[Template:Tablerow]]
 
:[[Template:Tablerow]]
:[[Template:TablerowAsk]]
 
:[[Template:TablerowShow]]
 
 
:[[Template:TablerowOptional]]
 
:[[Template:TablerowOptional]]
:[[Template:TablerowAskOptional]]
 
:[[Template:TablerowShowOptional]]
 
 
:[[Template:Tablebottom]]
 
:[[Template:Tablebottom]]
  
 
<includeonly>[[Category:Utility templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:Utility templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 10:34, 13 April 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[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 = Underworld Ascendant-Player Characters.jpg | imagewidth = 250}} {{Tablebottom}} gives...
Tableimage/doc
Underworld Ascendant-Player Characters.jpg
See also
Template:Tabletop
Template:Tablerow
Template:TablerowOptional
Template:Tablebottom