Wiki User Tools: Help

View Page Source

Marvel Universe 

Template:Click

(Difference between revisions)
[sighted revision][sighted revision]
 
Line 1: Line 1:
<div class="click_r" style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden">
<div class="click_r" style="position: relative; width: {{{width}}}; height: {{{height}}}; overflow: hidden">
<div class="click_a" style="position: absolute; top: 0px; left: 0px; font-size: 500px; overflow: hidden; line-height: 500px; z-index: 3; width: {{{width}}}; height: {{{height}}};">[[{{{link}}}|&nbsp;&nbsp;&nbsp;]]</div>
<div class="click_a" style="position: absolute; top: 0px; left: 0px; font-size: 500px; overflow: hidden; line-height: 500px; z-index: 3; width: {{{width}}}; height: {{{height}}};">[[{{{link}}}|&nbsp;&nbsp;&nbsp;]]</div>
-
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|{{{width}}}|{{{link}}}]]</div>
+
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[File:{{{image}}}|{{{width}}}|{{{link}}}]]</div>
</div>
</div>
<noinclude>
<noinclude>

Current revision as of 18:11, 4 May 2010

[[{{{link}}}|   ]]
[[File:{{{image}}}|{{{width}}}|{{{link}}}]]

This template makes clickable images. Invocation code:

{{click|
image=
|width=
|height=
|link=
}}

Paste the code above into the article you are editing. You must set all four parameters, and the template will size the image to the sizes you set and create a clickable link above it.