Difference between revisions of "Template:Click"

From Twilight Heroes Wiki
Jump to: navigation, search
(ah, does not work with transclusion, no exceptions)
m (maybe this hack will do it)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><imagemap>Image:{{{image}}}
+
<includeonly><imag</includeonly><includeonly>emap>Image:{{{image}}}
 
default [[{{{link}}}]]
 
default [[{{{link}}}]]
 
desc none</imagemap></includeonly><noinclude>
 
desc none</imagemap></includeonly><noinclude>
 
==Use==
 
==Use==
<code><nowiki>{{subst:click|image=assemble.gif|link=Assembly}}</nowiki></code>
+
<code><nowiki>{{subst:click|image=assemble.gif|link=Assembly Items}}</nowiki></code>
 
:''yields:''
 
:''yields:''
 
<imagemap>Image:assemble.gif
 
<imagemap>Image:assemble.gif
default [[{{{link}}}]]
+
default [[Assembly Items]]
 
desc none</imagemap>
 
desc none</imagemap>
 
[[Category:Utility Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Utility Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 19:42, 22 July 2010

Use

{{subst:click|image=assemble.gif|link=Assembly Items}}

yields:
Assemble.gif