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:PortalPowers: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AdminBot m Removing Category:Templates from templates which already belong to other categories |
imported>MiamiVolts +size=auto option to ensure 3 lines |
||
| Line 3: | Line 3: | ||
<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}}}| ]]</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}}}| ]]</div> |
||
<div style="position: absolute; top: 0px; left: 0px; z-index: 2; height: 100px;">[[Image:{{{image}}}|130px|{{{text|{{{link}}}}}}]]</div> |
<div style="position: absolute; top: 0px; left: 0px; z-index: 2; height: 100px;">[[Image:{{{image}}}|130px|{{{text|{{{link}}}}}}]]</div> |
||
</div>[[{{{link}}}|{{{override|{{{link}}}}}}]]{{#if:{{{nonlinktext|}}}|{{{nonlinktext}}}}}{{# |
</div>[[{{{link}}}|{{{override|{{{link}}}}}}]]{{#if:{{{nonlinktext|}}}|{{{nonlinktext}}}}}{{#ifeq: |
||
{{{size|}}} | auto | {{#if: {{#expr: {{#len: {{{link}}} {{{nonlinktext}}}}} < 18}} | <br> }}}}{{#ifexist: Examples of {{lcfirst:{{{link|}}}}} | <br>''[[Examples of {{lcfirst:{{{link}}}}}|examples]]'' | {{#ifexist: Examples of {{{link|}}} | <br>''[[Examples of {{{link}}}|examples]]'' | <br> }}}}</div></center><noinclude> |
|||
==Usage== |
==Usage== |
||
| Line 17: | Line 18: | ||
|link=<!-- Article title for Power --> |
|link=<!-- Article title for Power --> |
||
|text=<!-- OPTIONAL override for name of power --> |
|text=<!-- OPTIONAL override for name of power --> |
||
|nonlinktext<!-- (OPTIONAL) Add "<br>&nbsp;" to add an extra line for |
|nonlinktext<!-- (OPTIONAL) Add "<br>&nbsp;" to add an extra line for formatting --> |
||
|size=<!-- (OPTIONAL) Add "auto" to automate adding an extra line for formatting --> |
|||
}} |
}} |
||
</pre> |
</pre> |
||
Revision as of 20:19, 17 December 2007
[[{{{link}}}|{{{link}}}]]
Usage
For use on Portal:Powers
Use nonlinktext to add whitespace to short entries by adding <br> 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 -->
|text=<!-- OPTIONAL override for name of power -->
|nonlinktext<!-- (OPTIONAL) Add "<br> " to add an extra line for formatting -->
|size=<!-- (OPTIONAL) Add "auto" to automate adding an extra line for formatting -->
}}