Difference between revisions of "Template:Click"

From Twilight Heroes Wiki
Jump to: navigation, search
m
m (maybe this hack will do it)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks">{{#ifeq:{{{link|{{FULLPAGENAME}}}}}|{{FULLPAGENAME}}|{{fullurl:Media:{{{image|nopic.gif}}}}}|{{#ifexist:{{{link}}}|[{{fullurl:{{{link}}}}} {{fullurl:Media:{{{image|nopic.gif}}}}}]|[[Image:{{{image|nopic.gif}}}]][[{{{link}}}|(?)]]}}}}</span><span style="display:none">[[Image:{{{image|nopic.gif}}}]][[{{{link|{{FULLPAGENAME}}}}}]]</span></includeonly><noinclude>
+
<includeonly><imag</includeonly><includeonly>emap>Image:{{{image}}}
 +
default [[{{{link}}}]]
 +
desc none</imagemap></includeonly><noinclude>
 +
==Use==
 +
<code><nowiki>{{subst:click|image=assemble.gif|link=Assembly Items}}</nowiki></code>
 +
:''yields:''
 +
<imagemap>Image:assemble.gif
 +
default [[Assembly Items]]
 +
desc none</imagemap>
 +
[[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