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>Meepsheep
(http://encyclopediadramatica.ch/User:Meepsheep)
imported>Boycool42
(Undo revision 453195 by Meepsheep (Talk): ...but that was freaking scary.)
Line 1: Line 1:
{{Meepsheep}}
+
<includeonly>{{#if: {{{image|}}}| |{{noimage}}}}</includeonly>
 +
{| 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: #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>
 +
|-
 +
|}
 +
<noinclude>
 +
 
 +
==Usage==
 +
Produces a right-floated infobox for [[:Category:Recurring themes|Recurring Themes]].  Will auto-add <nowiki>{{noimage}}</nowiki> if <tt>image=</tt> is left blank.
 +
 
 +
<pre>{{Infobox theme
 +
| image = <!--Image link-->
 +
| caption = <!-- OPTIONAL Caption for image -->
 +
}}
 +
</pre>
 +
 
 +
 
 +
[[Category: Sidebars]]
 +
</noinclude>

Revision as of 13:07, 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 -->
}}