Template talk:Click-Inline
From Wikipedia, the free encyclopedia
This template causes an image to link to a specified page when clicked, rather than its image description page. It doesn't generate a new paragraph (newline), eg. can be used inline in text. It should be used sparingly as image description pages contain copyright information and should normally be easily accessible. There is also an alternative Version of this Template, Click. It does practically the same as Click-Inline, but it generates a new paragraph (newline). For more information see Discussion on Click.
[edit] 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) }}
[edit] Examples
{{Click-Inline | | image = Nuvola apps browser.png | link = :Category:Geography | width = 40px | height = 40px }}
{{Click-Inline | | image = WikiNews-Logo.svg | link = n:Main Page | width = 35px | height = 19px }}
[edit] Unlinked image
This template can also be used to produce images that are not clickable, by using as the link parameter:
- link = {{FULLPAGENAME}}
The cursor can also be changed to appear normal when over the image by using styles
<div style="cursor:default;"> {{Click-Inline | | image = Nuvola mimetypes info.png | link = {{FULLPAGENAME}} | width = 30px | height = 30px }} </div>
See also: Wikipedia:Images
I ported this from Vorlage:Link-Bild-Inline from the German Wikipedia. --PSIplus 19:06, 24 May 2006 (UTC)