Template:Click: Difference between revisions

From Twilight Heroes Wiki
Jump to navigation Jump to search
MrDolomite (talk | contribs)
http://kol.coldfront.net/thekolwiki/index.php?title=Template:Click
 
Timrem (talk | contribs)
m maybe this hack will do it
 
(19 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 03:42, 23 July 2010

Use

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

yields: