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.

Difference between revisions of "Template:Infobox theme"

From Heroes Wiki
Jump to navigation Jump to search
imported>Ohmyn0
imported>Ryangibsonstewart
(fixing colors so they're not so ... offensive. :) This is more in keeping with the rest of the colors on the site, I think.)
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: #90FF80; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #004400; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
+
{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #9BCD9B; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #004400; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
 
|-
 
|-
! style="background: #15FF50; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #004400; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{PAGENAME}}
+
! style="background: #548B54; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #004400; 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>

Revision as of 11:11, 7 March 2007

Infobox theme
Blank.jpg


Usage

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

{{Infobox theme
| image = <!--Image link-->
| caption = <!-- OPTIONAL Caption for image -->
}}