Template:Click-inline: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
SquirrelBoy (talk | contribs) (added new template) |
m (Robot: Cosmetic changes) |
||
Line 1: | Line 1: | ||
<includeonly><span style="position:relative; overflow:hidden; width:{{{width}}}; height:{{{height}}}; z-index:2;">[[ | <includeonly><span style="position:relative; overflow:hidden; width:{{{width}}}; height:{{{height}}}; z-index:2;">[[File:{{{image}}}|{{{width}}}]]<span style="position:absolute; top:0; left:0; padding-top:3px; z-index:3;">[[{{{link}}}|<span style="float:left; width:{{{width}}}; height:{{{height}}}; font-size:{{{height}}}; line-height:{{{height}}}; word-spacing:{{{width}}}; cursor:pointer;"> </span>]]</span></span></includeonly><noinclude> | ||
This Template is similar to [[wikipedia:Template:Click]], with the slight difference that it doesn't create a new paragraph (newline). This template is derived from [[wikipedia:de:Vorlage:Link-Bild-Inline|Vorlage:Link-Bild-Inline]] from the [[wikipedia:de:|German Wikipedia]]. | This Template is similar to [[wikipedia:Template:Click]], with the slight difference that it doesn't create a new paragraph (newline). This template is derived from [[wikipedia:de:Vorlage:Link-Bild-Inline|Vorlage:Link-Bild-Inline]] from the [[wikipedia:de:|German Wikipedia]]. |
Revision as of 20:49, 30 January 2012
This Template is similar to wikipedia:Template:Click, with the slight difference that it doesn't create a new paragraph (newline). This template is derived from Vorlage:Link-Bild-Inline from the German Wikipedia.
This template attempts to superimpose an invisible link on an image. It may not work as expected for all browsers, and creates accessibility problems.