This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Difference between revisions of "Template:PortalMediaBar"

From Heroes Wiki
Jump to navigation Jump to search
imported>MiamiVolts
imported>Ryangibsonstewart
(plainlinks)
 
Line 1: Line 1:
 
<center><div align="center" style=" border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: 120px; text-align: center; background-color:#FFFFC6;">
 
<center><div align="center" style=" border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: 120px; text-align: center; background-color:#FFFFC6;">
 
<div style="position: relative; height: 40px; overflow: hidden;">
 
<div style="position: relative; height: 40px; overflow: hidden;">
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 50px; overflow: hidden; width: 120px; height: 40px; line-height: 40px; z-index: 3; link-hover: none">[{{{link}}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</div>
+
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 50px; overflow: hidden; width: 120px; height: 40px; line-height: 40px; z-index: 3; link-hover: none" class="plainlinks">[{{{link}}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]</div>
 
<div style="position: absolute; top: 0px; left: 0px; z-index: 2"><center>[[Image:{{{image}}}|120px|{{#if:{{{text|}}} | {{{text}}} | {{{link}}}}}]]</center></div></div>
 
<div style="position: absolute; top: 0px; left: 0px; z-index: 2"><center>[[Image:{{{image}}}|120px|{{#if:{{{text|}}} | {{{text}}} | {{{link}}}}}]]</center></div></div>
 
<div><small><span class=plainlinks>[{{{link}}} {{#if:{{{text|}}}|{{{text}}}|{{{link}}}}}]</span></small></div></div></center><noinclude>
 
<div><small><span class=plainlinks>[{{{link}}} {{#if:{{{text|}}}|{{{text}}}|{{{link}}}}}]</span></small></div></div></center><noinclude>

Latest revision as of 22:45, 2 May 2009

[[Image:{{{image}}}|120px|{{{link}}}]]
[{{{link}}} {{{link}}}]

Usage

For use on Template:Mediabar

{{PortalMediaBar
|image=<!-- Filename of image -->
|link=<!-- external link to mainpage -->
|text=<!-- OPTIONAL Alternate link text -->
}}

Inline (for copy and paste):

{{PortalMediaBar|image=|link=|text=}}