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

From Heroes Wiki
Jump to navigation Jump to search
imported>Ryangibsonstewart
(rmv endspace--this will throw off the spacing if there's an examples page)
imported>Hardvice
(+override)
Line 2: Line 2:
<div style="position: relative; height: 100px; overflow: hidden;">
<div style="position: relative; height: 100px; overflow: hidden;">
<div style="position: absolute; top: 0px; left: 0px; font-size: 105px; overflow: hidden; line-height: 100px; z-index: 3; link-hover: none; width: 130px; height: 100px; text-align: center;">[[{{{link}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: 0px; left: 0px; font-size: 105px; overflow: hidden; line-height: 100px; z-index: 3; link-hover: none; width: 130px; height: 100px; text-align: center;">[[{{{link}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2; height: 100px;">[[Image:{{{image}}}|130px|{{{link}}}]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2; height: 100px;">[[Image:{{{image}}}|130px|{{{override|{{{link}}}}}}]]</div>
</div>[[{{{link}}}]]{{#if:{{{nonlinktext|}}}|{{{nonlinktext}}}}}<br>({{{character}}}){{#ifexist: Examples of {{lcfirst:{{{link|}}}}} | <br>''[[Examples of {{lcfirst:{{{link}}}}}|examples]]'' | <br>&nbsp;}}</div></center><noinclude>
</div>[[{{{link}}}]]{{#if:{{{nonlinktext|}}}|{{{nonlinktext}}}}}<br>({{{character}}}){{#ifexist: Examples of {{lcfirst:{{{link|}}}}} | <br>''[[Examples of {{lcfirst:{{{link}}}}}|examples]]'' | <br>&nbsp;}}</div></center><noinclude>


Line 18: Line 18:
|image=<!-- Filename of image -->
|image=<!-- Filename of image -->
|link=<!-- Article title for Power -->
|link=<!-- Article title for Power -->
|override=<!-- Optional override for name of power -->
|character=<!-- Possessor.  Use full links. -->
|character=<!-- Possessor.  Use full links. -->
|nonlinktext<!-- (OPTIONAL) Add "<br>&amp;nbsp;" to add an extra line for formating -->
|nonlinktext<!-- (OPTIONAL) Add "<br>&amp;nbsp;" to add an extra line for formating -->

Revision as of 15:49, 2 October 2007

[[{{{link}}}|      ]]
[[Image:{{{image}}}|130px|{{{link}}}]]
[[{{{link}}}]]
({{{character}}})
 

Usage

For use on Portal:Powers

For character, use full links (e.g. [[Peter Petrelli]], not Peter Petrelli). This will alow for multiple characters or no character to be entered while creating appropriate links.

Use nonlinktext to add whitespace to short entries by adding <br>&nbsp; for each needed line.

If an examples article exists at "Examples of (name of power)", it will automatically be linked.

{{PortalPowers
|image=<!-- Filename of image -->
|link=<!-- Article title for Power -->
|override=<!-- Optional override for name of power -->
|character=<!-- Possessor.  Use full links. -->
|nonlinktext<!-- (OPTIONAL) Add "<br>&nbsp;" to add an extra line for formating -->
}}