Template:Imagelink: Difference between revisions

From ScoutWiki, For Everyone, Everywhere involved with Scouting and Guiding...
Jump to navigation Jump to search
(fix)
(fix?)
Line 1: Line 1:
<noinclude>{{uncat}}<noinclude>
<noinclude>{{uncat}}<noinclude>
<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="{{{text|{{{link}}}}}}" style="text-decoration:none;">&nbsp; &nbsp;</span>]]</div>[[Image:{{{image}}}|{{{width}}}|{{{text|{{{link}}}}}}]]</div></includeonly><noinclude>
<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="{{{text|{{{link}}}}}}" style="text-decoration:none;">&nbsp; &nbsp;</span>]]</div>[[Image:{{{image}}}|{{{width}}}|{{{text|{{{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.

Revision as of 19:03, 12 January 2008

This templates enables you to create a link on an image. That link replaces the traditionnal link to the image's description page.


Exemple
{{imagelink|image=BP_small.png|width=50px|height=50px|link=Baden-Powell}}
Looks like