Template:Imagelink: Difference between revisions
Jump to navigation
Jump to search
Bluegoblin7 (talk | contribs) (+uncat) |
No edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | <includeonly><div style="position:relative;width:{{{width}}};height:{{{height}}};z-index:2;overflow:hidden;vertical-align:middle;"><div class="nodeco" style="position:absolute;font-size:{{{height}}};overflow:hidden;line-height:{{{height}}};letter-spacing:{{{width}}};">[[{{{link}}}|<span title="{{{link}}}" style="text-decoration:none;"> </span>]]</div>[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]</div></includeonly><noinclude> | ||
This templates enables you to create a link on an image. That link replaces the traditionnal link to the image's description page. | This templates enables you to create a link on an image. That link replaces the traditionnal link to the image's description page. | ||
==Example== | |||
<pre>{{imagelink|image=Wiki letter w.svg|width=50px|height=50px|link=Main Page}}</pre> | |||
;Looks like : | |||
{{imagelink|image=Wiki letter w.svg|width=50px|height=50px|link=Main Page}} | |||
==Templateless test== | |||
< | Simply html + wikicode for image/link, without template nor parameter : | ||
<div style="position:relative;width:120px;height:130px;z-index:2;overflow:hidden;vertical-align:middle;"><div class="nodeco" style="position:absolute;font-size:120px;overflow:hidden;line-height:120px;letter-spacing:130px;">[[Main Page|<span title="text" style="text-decoration:none;"> </span>]]</div>[[Image:Wiki letter w.svg|120px|text]]</div> | |||
[[Category:Template]] | [[Category:Template]] | ||
[[da:Skabelon:Billedlink]] | [[da:Skabelon:Billedlink]] | ||
[[fr:Modèle:Lien sur image]]</noinclude> | [[fr:Modèle:Lien sur image]] | ||
[[it:Template:Img-Link]] | |||
[[nl:Sjabloon:Klik]] | |||
</noinclude> |
Latest revision as of 14:00, 25 January 2009
This templates enables you to create a link on an image. That link replaces the traditionnal link to the image's description page.
Example
{{imagelink|image=Wiki letter w.svg|width=50px|height=50px|link=Main Page}}
- Looks like
Templateless test
Simply html + wikicode for image/link, without template nor parameter :