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
m (Reverted edits by Meepsheep (Talk); changed back to last version by Boycool42)
 
(9 intermediate revisions by 6 users not shown)
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: #6B8E23; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #6B8E23; 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: #556B2F; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #556B2F; 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" | {{SUBPAGENAME}}
 
|-
 
|-
 
<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:#6B8E23;">
 
 
|-
 
|-
 
|}
 
|}
Line 19: Line 18:
 
</pre>
 
</pre>
  
[[Category: Templates]]
+
 
 
[[Category: Sidebars]]
 
[[Category: Sidebars]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:31, 1 May 2011

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