Difference between revisions of "Template:Tableimage Map/doc"

From UnderWiki
Jump to navigation Jump to search
(Error: Must specify an image in the first line)
 
m (1 revision imported: Template import)
(No difference)

Revision as of 06:49, 2 February 2015

Description
A template which puts an imagemap inside of a table. To be used with {{Tabletop}} and {{Tablebottom}}.
Syntax
{{image|<imagewidth>|<caption>|<x1>|<y1>|<width1>|<height1>|<link1>}}

Parameters

Parameter Explanation
image (optional if collection is provided) Name and extension of image.
imagewidth (optional) Width of the image. Defaults to 250.
caption (optional) Caption for image, if necessary.
x1 to x12 X coordinate for links 1 to 12.
y1 to y12 Y coordinate for links 1 to 12.
width1 to width12 Width for links 1 to 12.
height1 to height12 Height for links 1 to 12.
link1 to link12 Page name for links 1 to 12.
Sample code
{{Tabletop}} {{Tableimage Map | image = SotA Crafting Sigil wood.jpg | imagewidth = 250 | caption = Crafting Sigil | x1 = 1 | y1 = 1 | width1 = 248 | height1 = 248 | link1 = Crafting Sigil}} {{Tablebottom}} gives...
Tableimage Map/doc

Error: Must specify an image in the first line.

See also
Template:Tabletop
Template:Tablerow
Template:TablerowAsk
Template:TablerowShow
Template:TablerowOptional
Template:TablerowAskOptional
Template:TablerowShowOptional
Template:Tablebottom