Difference between revisions of "Template:Navimg"

From Worms Knowledge Base

Jump to: navigation, search
(if you can't do it yourself, steal it from someone who can)
Line 1: Line 1:
<imagemap>
+
{{#if:{{{inline|}}}|<span /><div class="imagemap-inline" style="display:inline;">}}{{#tag:imagemap|
{{{image}}}|{{{xsize|{{{size|}}}}}}px|test
+
Image:{{{image|{{{1}}}}}}{{#if:{{{width|}}}{{{4|}}}|{{!}}{{{width|{{{4}}}}}}}}{{!}}{{{Alt|{{{tooltip|{{{3|{{{link|{{{2|&nbsp;}}}}}}}}}}}}}}}
desc none
+
{{#if:{{{link|}}}{{{2|}}}
default [[{{{link|}}}|{{{linktext|}}}]]
+
|
{{{image}}}
+
default {{#switch: {{#titleparts:{{{link|{{{2}}}}}}|1|1}}
</imagemap>
+
|Http:|Https:|Ftp:|Ftps: = [{{{link|{{{2}}}}}} {{{tooltip|{{{link|{{{2}}}}}}}}}]
{{{image}}}
+
|#default = [[{{{link|{{{2}}}}}}|{{{tooltip|{{{link|{{{2}}}}}}}}}]] }}
 +
desc {{{desc|bottom-right}}}
 +
|{{#if:{{{form|}}}
 +
  |
 +
  |default [[Image:{{{image|{{{1}}}}}}]]
 +
desc {{{desc|none}}}
 +
}}}}
 +
{{{form|}}}
 +
}}{{#if:{{{inline|}}}|</div>}}

Revision as of 05:15, 15 September 2008

Error: Must specify an image in the first line.

Personal tools