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
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice No edit summary |
imported>AdminBot m Removing Category:Templates from templates which already belong to other categories |
||
| (19 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div align="center" style=" border-style:solid; border-width: 1px; border-color: grey; padding: 5px; margin: 5px; width: |
<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: |
<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}}}| ]]</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}}}}}| ]]</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><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]]. This template should use 125x125 pixel [[:category:icons|icons]] as images. Use <tt>nonlinktext</tt> to add whitespace to short entries by adding <tt><br>&nbsp;</tt> for each needed line. |
|||
Produces linked images for [[Portal:Places]] pages. |
|||
<pre> |
<pre> |
||
{{PortalPlaceMain|image= |link= |text= }} |
{{PortalPlaceMain|image= |link= |text= |catlink= |nonlinktext= }} |
||
</pre> |
</pre> |
||
| ⚫ | |||
[[Category: |
[[Category:Portal Elements]] |
||
| ⚫ | |||
</noinclude> |
</noinclude> |
||
Latest revision as of 22:45, 12 November 2007
[[{{{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> for each needed line.
{{PortalPlaceMain|image= |link= |text= |catlink= |nonlinktext= }}