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
Jump to navigation
Jump to search
imported>Ryangibsonstewart fix border around name |
imported>Ryangibsonstewart let's have this update automatically with the category unnamed abilities...i don't want to have to go back and forth with luke's ability, for example, because we will come up with a name for it soon... |
||
(19 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{image|}}}||{{noimage}}}}</includeonly>{{#ifeq:{{{spoiler|}}}|true|{{unairedspoiler}}<br>|}} | <includeonly>{{#if: {{{image|}}}||{{noimage}}}}</includeonly>{{#ifeq:{{{spoiler|}}}|true|{{unairedspoiler}}<br>|}} | ||
{| class="infobox" style="width: 270px; text-align: left; font-size: | {| 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: | ! 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: {{{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>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: {{{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>}} | -->{{#if: {{{ability to|}}} | <tr> <th>Ability to:</th> <td>{{{ability to}}}</td> </tr>}}<!-- | ||
|}<includeonly>{{#ifeq:{{{spoiler|}}}|true|[[Category:Spoilers]]| | -->{{#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>{{#if: {{#pos: {{PAGENAME}} |s ability }} | {{nousercat|Unnamed abilities}} }}<noinclude> | |||
==Usage== | ==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. | 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 | <pre>{{Infobox power | ||
Line 20: | Line 21: | ||
| ability to = <!-- Insert power's definition here --> | | ability to = <!-- Insert power's definition here --> | ||
| spoiler = <!--true for spoiler colors --> | | 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> | </pre> | ||
[[Category: Sidebars]] | [[Category: Sidebars]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:53, 10 October 2015
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--> }}