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:Infobox power: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
imported>Martin Van Buren
Replacing page with ' <div style="position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-color: black; opacity: 1; z-index: 99;"></div>'
imported>Ryangibsonstewart
m Reverted edits by Martin Van Buren (Talk); changed back to last version by Ryangibsonstewart
Line 1: Line 1:
<div style="position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-color: black; opacity: 1; z-index: 99;"></div>
<includeonly>{{#if: {{{image|}}}||{{noimage}}}}</includeonly>{{#ifeq:{{{spoiler|}}}|true|{{unairedspoiler}}<br>|}}
{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #{{#ifeq:{{{spoiler|}}}|true|F4D5CC|FFCC99}}; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #{{#ifeq:{{{spoiler|}}}|true|E18F77|CC6600}}; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
|-
! style="background: #{{#ifeq:{{{spoiler|}}}|true|8B0000|FF9966}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #{{#ifeq:{{{spoiler|}}}|true|E18F77|CC6600}}; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{#ifeq:{{{spoiler|}}}|true|<font color=white>{{SUBPAGENAME}}</font>|{{SUBPAGENAME}}}}
|-
{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">[[Image:{{{image}}}|250px]] {{#if: {{{caption|}}} | <br>{{{caption}}}}}</td> </tr>}}<!--
-->{{#if: {{{absorbed by||}}} | <tr> <th>Originally held by:</th> <td>{{{held by}}}</td> </tr>|{{#if: {{{held by|}}} | <tr> <th>Held by:</th> <td>{{{held by}}}</td> </tr>}} }}<!--
-->{{#if: {{{absorbed by||}}} | <tr> <th>Absorbed by:</th> <td>{{{absorbed by}}}</td> </tr>}}<!--
-->{{#if: {{{ability to|}}} | <tr> <th>Ability to:</th> <td>{{{ability to}}}</td> </tr>}}<!--
-->{{#ifexist: Examples of {{#if: {{#pos: {{PAGENAME}} |s ability }} | {{PAGENAME}} | {{lcfirst:{{SUBPAGENAME}}}} }} | <tr> <td colspan=2 align=center> ''[[Examples of {{#if: {{#pos: {{PAGENAME}} |s ability }} | {{PAGENAME}} | {{lcfirst:{{SUBPAGENAME}}}} }}]]''</td> </tr>|}}
|}<includeonly>{{#ifeq: {{NAMESPACE}} | User |[[Category:User subpages]] | {{#ifeq:{{{spoiler|}}}|true|[[Category:Spoilers]]|{{nousercat|{{#if:{{{GN|}}}|Graphic Novel}}{{#if:{{{webisode|}}}|Evolutions}}{{#if:{{{iStory|}}}|Evolutions}}{{#if:{{{Evolutions|}}}|Evolutions}} Abilities{{#if:{{{sort|}}}|{{pipe}}{{{sort}}}}}}}}}}}</includeonly><noinclude>
 
==Usage==
Produces a right-floated infobox for powers and adds category: powers.  Will auto-add <nowiki>{{noimage}}</nowiki> if <tt>image=</tt> is left blank. Automatically adds Category:Abilities or Category:Graphic Novel Abilities is GN is set true.
 
<pre>{{Infobox power
| image = <!-- Image link -->
| caption = <!-- Caption for image -->
| held by = <!-- Unlinked space for who holds the power -->
| absorbed by = <!-- Unlinked space for who has absorbed the power -->
| ability to = <!-- Insert power's definition here -->
| spoiler = <!--true for spoiler colors -->
| GN = <!--anything if this is a GN-specific ability-->
| webisode = <!--anything if this is a webisode-specific ability-->
| iStory = <!--anything if this is a iStory-specific ability-->
| Evolutions = <!--anything if this is a Evolutions-specific ability-->
| sort = <!--optional sortkey for category-->
}}
</pre>
 
[[Category: Sidebars]]
</noinclude>

Revision as of 04:46, 25 August 2011

Infobox power

Usage

Produces a right-floated infobox for powers and adds category: powers. Will auto-add {{noimage}} if image= is left blank. Automatically adds Category:Abilities or Category:Graphic Novel Abilities is GN is set true.

{{Infobox power
| image = <!-- Image link -->
| caption = <!-- Caption for image -->
| held by = <!-- Unlinked space for who holds the power -->
| absorbed by = <!-- Unlinked space for who has absorbed the power -->
| ability to = <!-- Insert power's definition here -->
| spoiler = <!--true for spoiler colors -->
| GN = <!--anything if this is a GN-specific ability-->
| webisode = <!--anything if this is a webisode-specific ability-->
| iStory = <!--anything if this is a iStory-specific ability-->
| Evolutions = <!--anything if this is a Evolutions-specific ability-->
| sort = <!--optional sortkey for category-->
}}