Template:Click: Difference between revisions
Template page
More languages
More actions
Steelviper (talk | contribs) m Unprotected "Template:Click": unprotect to allow categorizing |
mNo edit summary |
||
| (28 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<div style=" | <includeonly><div style="display: inline-block; {{#switch:{{{float|}}}|left|right=float:{{{float}}}; margin: 0 1em 1em 0;|center=margin: 0 auto; display: table;|#default=}}"> | ||
[[File:{{{image}}}|{{{width|}}}|link={{#if:{{{link|}}}|{{{link}}}|{{{ex-link|}}}}}|alt={{{alt|}}}|class={{{class|}}}|{{{title|}}}]] | |||
</div></includeonly><noinclude> | |||
</ | {{/Documentation}} | ||
[[Category:Templates using click|{{PAGENAME}}]] | |||
[[de:Vorlage:Click]] | |||
</noinclude> | |||
Latest revision as of 03:39, 3 December 2025
Displays a clickable image linking to a specific page or URL.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image Filename | image | The name of the file without 'File:' prefix. | File | required |
| Width | width | Width of the image (e.g., 50px). | String | required |
| Internal Link | link | Wiki page to link to (e.g., Main Page). | Page name | optional |
| External Link | ex-link | URL to link to (e.g., http://google.com). | String | optional |
| Float | float | Positioning: left, right, or center.
| String | optional |
| Alt Text | alt | Description for screen readers. | String | optional |