Template:Click-inline: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(added new template)
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><span style="position:relative; overflow:hidden; width:{{{width}}}; height:{{{height}}}; z-index:2;">[[Image:{{{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;">&nbsp; &nbsp;</span>]]</span></span></includeonly><noinclude>
<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;">&nbsp; &nbsp;</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]].
Line 5: Line 5:
This template attempts to superimpose an invisible link on an image. It may not work as expected for all browsers, and creates accessibility problems.
This template attempts to superimpose an invisible link on an image. It may not work as expected for all browsers, and creates accessibility problems.


</noinclude>
<noinclude>
[[Category:Maintenance templates]]
</noinclude>
</noinclude>

Latest revision as of 15:12, 22 July 2024


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.