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:PortalPlaceMain"

From Heroes Wiki
Jump to navigation Jump to search
imported>Hardvice
(center in cell)
imported>AdminBot
m (Removing Category:Templates from templates which already belong to other categories)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center><div align="center" style=" border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: 200px ">
<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: 150px; overflow: hidden;">
<div style="position: relative; height: 130px; overflow: hidden; width: 130px;">
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 155px; 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="border-style:solid; border-width: 1px; border-color: grey; position: absolute; top: 0px; left: 0px; z-index: 2; width: 195px; 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}}}]]</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.
Produces linked images for [[Portal:Places]].  This template should use 125x125 pixel [[:category:icons|icons]] as images.  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= }}
{{PortalPlaceMain|image= |link= |text= |catlink= |nonlinktext= }}
</pre>
</pre>


[[Category:Templates]]
 
[[Category: Page Elements]]
[[Category:Portal Elements]]
[[Category: Portal Cells]]
</noinclude>
</noinclude>

Latest revision as of 17:45, 12 November 2007

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

Usage

Produces linked images for Portal:Places. This template should use 125x125 pixel icons as images. Use nonlinktext to add whitespace to short entries by adding <br>&nbsp; for each needed line.

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