• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Click

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]

This template links an image to a page other than its image description page. It has been updated to avoid the accessibility problems caused by an earlier version.

Prerequisites

  • MediaWiki 1.14 (rev:41789) or later

Usage

To use this template, simply copy the text below and replace the text between the <...> with the desired result.

{{Click
|image  = <image to be linked>
|size   = <size of the image>
|link   = <page the image must link to>
|title  = <the label for the image, optional>
}}
  • The image parameter specifies the image to be used. It defaults to Image:Transparent.gif when not specified.
  • The size parameter specified the maximum size of the image, either in the format «width»x«height»px, «width»px, or x«height»px.
  • The link parameter specifies the page to which the image should link. It defaults to the Main Page when not specified.
  • The title parameter specifies text to be used in the tooltip (text which appears on hovering the mouse over the image) and as alternative text if the image fails to load. It is entirely optional, and defaults to the text of the title of the page to which the image links. CURRENTLY BROKEN

Examples

{{Click
|image  = Wikimedia-logo.svg
|size   = 100x100px
|link   = :meta:Template:Click
}}

Which will produce:

:meta:Template:Click

Further examples

{{Click
|image  = Example svg.svg
|size   = 100x100px
|title  = Template:Click
|link   = :meta:Template:Click
}}

Which will produce:

Template:Click


{{Click
|image  = Example svg.svg
|size   = 100px
|title  = Template:Click
|link   = :meta:Template:Click
}}

Which will produce:

Template:Click


{{Click
|image  = Example svg.svg
|size   = x100px
|title  = Template:Click
|link   = :meta:Template:Click
}}

Which will produce:

Template:Click

See also: Wikipedia:Images
The above documentation is transcluded from Template:Click/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://simple.wikipedia.org/w/index.php?title=Template:Click&oldid=1683420"
Last edited on 14 August 2009, at 18:47

Languages

    • Afrikaans
    • Ænglisc
    • العربية
    • Arpetan
    • Azərbaycanca
    • বাংলা
    • Basa Banyumasan
    • Башҡортса
    • Беларуская (тарашкевіца)
    • भोजपुरी
    • Български
    • Boarisch
    • Bosanski
    • Brezhoneg
    • Català
    • Чӑвашла
    • Cebuano
    • Cymraeg
    • Dansk
    • الدارجة
    • ދިވެހިބަސް
    • Dolnoserbski
    • डोटेली
    • Eesti
    • Ελληνικά
    • Esperanto
    • Euskara
    • فارسی
    • Furlan
    • 贛語
    • گیلکی
    • ગુજરાતી
    • Հայերեն
    • हिन्दी
    • Hornjoserbsce
    • Hrvatski
    • Igbo
    • বিষ্ণুপ্রিয়া মণিপুরী
    • Bahasa Indonesia
    • Interlingua
    • Íslenska
    • Jawa
    • ಕನ್ನಡ
    • ქართული
    • Kurdî
    • ລາວ
    • Limburgs
    • Lombard
    • Magyar
    • മലയാളം
    • მარგალური
    • مصرى
    • مازِرونی
    • Bahasa Melayu
    • Minangkabau
    • 閩東語 / Mìng-dĕ̤ng-ngṳ̄
    • Mirandés
    • မြန်မာဘာသာ
    • नेपाली
    • नेपाल भाषा
    • 日本語
    • Norsk bokmål
    • Norsk nynorsk
    • Occitan
    • ଓଡ଼ିଆ
    • Oʻzbekcha / ўзбекча
    • پښتو
    • Português
    • Qırımtatarca
    • Ripoarisch
    • Română
    • संस्कृतम्
    • Sängö
    • Scots
    • Shqip
    • සිංහල
    • سنڌي
    • Slovenščina
    • Soomaaliga
    • کوردی
    • Српски / srpski
    • Srpskohrvatski / српскохрватски
    • Sunda
    • Suomi
    • தமிழ்
    • Татарча / tatarça
    • తెలుగు
    • ไทย
    • Türkçe
    • اردو
    • 文言
    • ייִדיש
    • Yorùbá
    • 粵語
    • Zazaki
    • Zeêuws
    • 中文
    • ရခိုင်
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last changed on 14 August 2009, at 18:47.
    • Page was rendered with Parsoid.
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop