Template:Click/doc

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

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


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.