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

From UnderWiki
Jump to navigation Jump to search
 
Line 58: Line 58:
 
:[[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:28, 13 April 2015

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