Template talk:Click-Inline
Syntax[edit]
{{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[edit]
Image/file links now support a "link" parameter; as such, this hack can be replaced with:
[[File:{{{image}}}|{{{width}}}|link={{{link}}}|alt={{{title}}}]]
--User:Anthoron/Sig 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. --User:Abbydon/SigContainer 16:18, December 30, 2010 (UTC)
This article uses material from the "Template_talk:Click-Inline" article on FFXIclopedia and is licensed under the CC-BY-SA License.