Template talk:Click-inline

From Wikipedia, the free encyclopedia
  (Redirected from Template talk:Click-Inline)
Jump to: navigation, search
WikiProject Inline Templates
This template is within the scope of WikiProject Inline Templates, a collaborative effort to improve and manage Wikipedia's inline footnote, cleanup and dispute templates. If you would like to participate, you can visit the project page, where you can join the project and see a list of open tasks.
Some discussion of this template may take place at the project's talk page, rather than here.
 

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.

Contents

[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 package network.png
| link = :Category:Geography
| width = 40px
| height = 40px
}}

Nuvola filesystems www.png

{{Click-Inline |
| image = Wikinews-logo.svg
| link = n:Main Page
| width = 35px
| height = 19px
}}

Wikinews-logo.svg

[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>

Nuvola mimetypes info.png

See also: Wikipedia:Images

I ported this from Vorlage:Link-Bild-Inline from the German Wikipedia. --PSIplus PSIplus Micro-Avatar.png 19:06, 24 May 2006 (UTC)

[edit] Title parameter

Could we add a title parameter to this template? – SJL 18:02, 2 August 2008 (UTC)

Personal tools
Namespaces

Variants
Actions
Navigation
Interaction
Toolbox