Template:Tableimage Map/doc

From UnderWiki
< Template:Tableimage Map
Revision as of 09:28, 13 April 2015 by Browncoat Jayson (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description
A template which puts an imagemap inside of a table. To be used with {{Tabletop}} and {{Tablebottom}}.
Syntax
{{Tableimage Map|<image>|<imagewidth>|<caption>|<x1>|<y1>|<width1>|<height1>|<link1>}}

Parameters[edit]

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 =Underworld Ascendant-Player Characters.jpg | imagewidth = 250 | caption = Player Characters | x1 = 1 | y1 = 1 | width1 = 248 | height1 = 248 | link1 = Player Characters}} {{Tablebottom}} gives...
Tableimage Map/doc

Error: Must specify an image in the first line.

See also
Template:Tabletop
Template:Tablerow
Template:TablerowOptional
Template:Tablebottom