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

From Heroes Wiki
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>Ryangibsonstewart
lowercase option
Line 2: Line 2:
{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #F8BF7A; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #AD8655; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #F8BF7A; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #AD8655; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
|-
|-
! style="background: #FEE2BE; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #AD8655; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{PAGENAME}}
! style="background: #FEE2BE; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #AD8655; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{#if: {{{lowercase|}}} | {{lowercase}}{{lcfirst:{{PAGENAME}}}} | {{PAGENAME}} }}
|-
|-
<tr> <td align="center" colspan="2">{{#if: {{{image|}}} | [[Image:{{{image}}}|250px]] | [[Image:blank.jpg|250px]]}} {{#if: {{{caption|}}} | <br>{{{caption}}}}}</td> </tr>
<tr> <td align="center" colspan="2">{{#if: {{{image|}}} | [[Image:{{{image}}}|250px]] | [[Image:blank.jpg|250px]]}} {{#if: {{{caption|}}} | <br>{{{caption}}}}}</td> </tr>
Line 22: Line 22:
| owned = <!-- OPTIONAL Item's legitimate owner. Will link to existing articles. -->
| owned = <!-- OPTIONAL Item's legitimate owner. Will link to existing articles. -->
| status = <!-- OPTIONAL Item's current status -->
| status = <!-- OPTIONAL Item's current status -->
| lowercase = <!-- set to anything to make pagename displayed with a lowercase first letter -->
}}
}}
</pre>
</pre>

Revision as of 00:00, 10 November 2008

Infobox item


Usage

Produces a right-floated infobox for Items. Will auto-add {{noimage}} if image= is left blank.

{{Infobox item
| image = <!--Image link-->
| caption = <!-- OPTIONAL Caption for image -->
| first = <!-- OPTIONAL Episode in which item first appeared; title only, e.g. Genesis-->
| owned = <!-- OPTIONAL Item's legitimate owner.  Will link to existing articles. -->
| status = <!-- OPTIONAL Item's current status -->
| lowercase = <!-- set to anything to make pagename displayed with a lowercase first letter -->
}}