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>Hardvice
m allow manual link
imported>Ryangibsonstewart
testing some new colors ... we already have a blue infobox ... if we hate it we can change it back
Line 1: Line 1:
<includeonly>{{#if: {{{image|}}}| |{{noimage}}}}</includeonly>
<includeonly>{{#if: {{{image|}}}| |{{noimage}}}}</includeonly>
{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #CCCCFF; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #0000FF; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #AA6600; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #7B3F00; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
|-
|-
! style="background: #9999CC; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #0000FF; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{PAGENAME}}
! style="background: #E3A869; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #7B3F00; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{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>
| colspan="2" | <hr style="background-color:#0000FF;">
| colspan="2" | <hr style="background-color:#7B3F00;">
|-
|-
{{#if: {{{first|}}} | <tr> <th>First mentioned:</th> <td>''{{#ifexist: {{{first}}} | [[{{{first}}}]] | {{{first}}} }}''</td> </tr>}}
{{#if: {{{first|}}} | <tr> <th>First mentioned:</th> <td>''{{#ifexist: {{{first}}} | [[{{{first}}}]] | {{{first}}} }}''</td> </tr>}}

Revision as of 03:51, 23 April 2007

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 -->
}}