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.

Template:PortalPlaceMain: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Hardvice
rem interior border (no border is better than a broken one)
imported>Hardvice
+catlink
Line 1: Line 1:
<center><div align="center" style=" border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: 130px ">
<center><div align="center" style=" border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: 130px ">
<div style="position: relative; height: 130px; overflow: hidden; width: 130px;">
<div style="position: relative; height: 130px; overflow: hidden; width: 130px;">
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 155px; width: 130px; overflow: hidden; line-height: 150px; z-index: 3; link-hover: none">[[{{{link}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 155px; width: 130px; overflow: hidden; line-height: 150px; z-index: 3; link-hover: none">[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2; width: 125px; text-align:center;">[[Image:{{{image}}}|{{{link}}}]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2; width: 125px; text-align:center;">[[Image:{{{image}}}|{{{link}}}]]</div>
</div>[[{{{link}}}|{{{text}}}]]{{#if:{{{nonlinktext|}}}|{{{nonlinktext}}}}}</div></center><noinclude>
</div>[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}|{{{text}}}]]{{#if:{{{nonlinktext|}}}|{{{nonlinktext}}}}}</div></center><noinclude>


==Usage==
==Usage==
Produces linked images for [[Portal:Places]] pages. Use <tt>nonlinktext</tt> to add whitespace to short entries by adding <tt>&lt;br>&amp;nbsp;</tt> for each needed line.
Produces linked images for [[Portal:Places]] pages. Use <tt>nonlinktext</tt> to add whitespace to short entries by adding <tt>&lt;br>&amp;nbsp;</tt> for each needed line.
<pre>
<pre>
{{PortalPlaceMain|image= |link= |text= |nonlinktext= }}
{{PortalPlaceMain|image= |link= |text= |catlink= |nonlinktext= }}
</pre>
</pre>



Revision as of 08:55, 21 March 2007

[[{{{link}}}|      ]]
[[Image:{{{image}}}|{{{link}}}]]
[[{{{link}}}|{{{text}}}]]

Usage

Produces linked images for Portal:Places pages. Use nonlinktext to add whitespace to short entries by adding <br>&nbsp; for each needed line.

{{PortalPlaceMain|image= |link= |text= |catlink= |nonlinktext= }}