Difference between revisions of "Template:Tableimage Map/doc"
Jump to navigation
Jump to search
m (1 revision imported: Template import) |
|||
Line 4: | Line 4: | ||
:{{T|image|imagewidth|caption|x1|y1|width1|height1|link1}} | :{{T|image|imagewidth|caption|x1|y1|width1|height1|link1}} | ||
== Parameters == | == Parameters == | ||
− | {| class=" | + | {| class="wikitable" |
! Parameter | ! Parameter | ||
! Explanation | ! Explanation |
Revision as of 07:06, 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...
Error: Must specify an image in the first line. |