Template:Click: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
mNo edit summary
m (added size variable)
Line 1: Line 1:
<includeonly><span class="plainlinks">{{#ifeq:{{{link|{{FULLPAGENAME}}}}}<!--
<includeonly><span class="plainlinks">{{#ifeq:{{{link|{{FULLPAGENAME}}}}}<!--
-->|{{FULLPAGENAME}}<!--
-->|{{FULLPAGENAME}}<!--
-->|[[File:{{{img|Empty.png}}}|middle]]<!--
-->|[[File:{{{img|Empty.png}}}|middle|{{{size|32px}}}]]<!--
-->|<!--
-->|<!--
-->[[File:{{{img|Empty.png}}}|middle|link={{{link|{{FULLPAGENAME}}}}}]]}}</span></includeonly><!--
-->[[File:{{{img|Empty.png}}}|middle|{{{size|32px}}}|link={{{link|{{FULLPAGENAME}}}}}]]}}</span></includeonly><!--
--><noinclude>
--><noinclude>
Creates a clickable image
Creates a clickable image
Line 12: Line 12:
<center>Centered example: "{{click|img=Glasses.png|link=Prescription Glasses}}"</center>
<center>Centered example: "{{click|img=Glasses.png|link=Prescription Glasses}}"</center>


"{{click|img=Glasses.png|link=Prescription Glasses|size=64px}}"
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 20:27, 23 August 2014

Creates a clickable image

Usage

Example: "Glasses.png"

Centered example: "Glasses.png"

"Glasses.png"