Difference between revisions of "Template:Navimg"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (new template code (for MediaWiki 1.14+)) |
Explorer09 (Talk | contribs) m (Reverted edits by Explorer09 (talk) to last revision by CyberShadow) |
||
Line 1: | Line 1: | ||
− | < | + | {{#if:{{{inline|}}}|<span /><div class="imagemap-inline" style="display:inline;">}}{{#tag:imagemap| |
− | {{#if:{{{link|}}}{{{2|}}} | {{ | + | Image:{{{image|{{{1}}}}}}{{#if:{{{size|}}}{{{xsize|}}}{{{width|}}}{{{4|}}}|{{!}}{{{size|{{{xsize|{{{width|{{{4}}}}}}}}}}}}px}}{{!}}{{{Alt|{{{tooltip|{{{3|{{{link|{{{2| }}}}}}}}}}}}}}} |
− | | | + | {{#if:{{{link|}}}{{{2|}}} |
− | |{{{tooltip | + | | |
− | + | default {{#switch: {{#titleparts:{{{link|{{{2}}}}}}|1|1}} | |
− | + | |Http:|Https:|Ftp:|Ftps: = [{{{link|{{{2}}}}}} {{{tooltip|{{{link|{{{2}}}}}}}}}] | |
− | | | + | |#default = [[{{{link|{{{2}}}}}}|{{{tooltip|{{{link|{{{2}}}}}}}}}]] }} |
− | + | desc {{{desc|none}}} | |
− | + | }} | |
− | + | {{{form|}}} | |
− | + | }}{{#if:{{{inline|}}}|</div>}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 10:08, 19 September 2010
Error: Must specify an image in the first line.