FANDOM


Syntax

{{Click-Inline |
| image = <location of image>
| link = <page to link to>
| width = <width of image> (not more than 100px)
| height = <height of image> (not more than 100px)
}}

Update

Image/file links now support a "link" parameter; as such, this hack can be replaced with:

 [[File:{{{image}}}|{{{width}}}|link={{{link}}}|alt={{{title}}}]]

--Anthoron T/ C 13:55, 4 July 2009 (UTC)


Can an administrator please update this template to use the File: code? I propose this as the new template source contents:

<!--
<div style="position:relative; width:{{{width}}}; height:{{{height}}}; overflow:hidden;"><div style="position:absolute; font-size:{{{height}}}; overflow:hidden; line-height:{{{height}}}; letter-spacing:{{{width}}};">[[{{{link}}}|<span title="{{{title}}}" style="text-decoration:none;">   </span>]]</div>[[File:{{{image}}}|{{{width}}}|{{{title}}}]]</div>
--><noinclude>[[Category:Templates|{{PAGENAME}}]] __NOTOC__
==Usage==

'''This template should not be used.'''

Instead, use the Wikitext File syntax:
<pre>
[[File:<image>|<width>|link=<page name>|alt=<alt image text>]]
</pre>

===Example===

<pre style="white-space:pre-wrap;">
[[File:New Notorious Monsters and Battlefields!.jpg|415px|link=2006 - (07/19/2006) New Notorious Monsters and Battlefields!|alt=New Notorious Monsters and Battlefields!]]
</pre>

===Output===

[[File:New Notorious Monsters and Battlefields!.jpg|415px|link=2006 - (07/19/2006) New Notorious Monsters and Battlefields!|alt=New Notorious Monsters and Battlefields!]]
</noinclude>
<includeonly><onlyinclude>[[File:{{{image}}}|{{{width}}}|link={{{link}}}|alt={{{title}}}]]</onlyinclude></includeonly>

This will cascade to the pages that already use it so that the correct syntax is applied. It will also keep people from using this template. --₪ ABBYDON ₪ t/ c 16:18, December 30, 2010 (UTC)

Community content is available under CC-BY-SA unless otherwise noted.