Difference between revisions of "Template:Navimg"
From Worms Knowledge Base
CyberShadow (Talk | contribs) |
CyberShadow (Talk | contribs) (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}}}|{{{ | + | Image:{{{image|{{{1}}}}}}{{#if:{{{width|}}}{{{4|}}}|{{!}}{{{width|{{{4}}}}}}}}{{!}}{{{Alt|{{{tooltip|{{{3|{{{link|{{{2| }}}}}}}}}}}}}}} |
− | + | {{#if:{{{link|}}}{{{2|}}} | |
− | default [[{{{link|}}}|{{{ | + | | |
− | {{{ | + | default {{#switch: {{#titleparts:{{{link|{{{2}}}}}}|1|1}} |
− | + | |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.