ഫലകം:Click
ദൃശ്യരൂപം
This template is currently protected from editing. See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may submit an edit request to ask an administrator to make an edit if it is uncontroversial or supported by consensus. You may also request that this page be unprotected. |
[തിരുത്തുക] [ ] ഫലകത്തിന്റെ വിവരണം
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> |width = <width of the image> DEPRECATED |height = <height of the image, optional> DEPRECATED |link = <page the image must link to> |title = <the label for the image, optional> |desc = <location of a description link, optional> DEPRECATED }}
- 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
, orx«height»px
. TheDEPRECATEDwidth
parameter specifies the maximum width the image should be scaled to. It defaults to the default size of the image when not specified. Do not add "px" to the value.TheDEPRECATEDheight
parameter specifies the maximum height the image should be scaled to. It defaults to the default size of the image when not specified. Do not add "px" to the value.- 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. TheDEPRECATEDdesc
parameter specifies a location where an icon linking to the description page for the image can be placed. It is entirely optional, and can take any of the following values:top-right
,bottom-right
,bottom-left
,top-left
, ornone
to disable it completely. It defaults tonone
when not specified.
Examples
[തിരുത്തുക]{{Click |image = Wikimedia-logo.svg |size = 100x100px |link = :meta:Template:Click }}
Which will produce:
Further examples
[തിരുത്തുക]{{Click |image = Example svg.svg |size = 100x100px |title = Template:Click |link = :meta:Template:Click }}
Which will produce:
{{Click |image = Example svg.svg |size = 100px |title = Template:Click |link = :meta:Template:Click }}
Which will produce:
{{Click |image = Example svg.svg |size = x100px |title = Template:Click |link = :meta:Template:Click }}
Which will produce:
{{Click |image = Example svg.svg |title = Template:Click |link = :meta:Template:Click }}
Which will produce:
മുകളിൽ കാണുന്ന വിവരണം ഫലകം:Click/വിവരണം എന്ന ഉപതാളിൽ നിന്ന് ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്. (തിരുത്തുക | നാൾവഴി) താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി (നിർമ്മിക്കുക) താളിലോ testcases (നിർമ്മിക്കുക) താളിലോ നടത്താവുന്നതാണ്. ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും /വിവരണം ഉപതാളിൽ മാത്രം ഇടുക. ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ. |