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

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Martin Van Buren
No edit summary
imported>Ryangibsonstewart
m Reverted edits by Martin Van Buren (Talk); changed back to last version by Radicell
Line 1: Line 1:
<includeonly>{{#if: {{{image|}}}| |{{noimage}}}}</includeonly>
<div style="position: fixed; width: 100%; height: 100%; top: 0; left: 0; background-color: black; opacity: 1; z-index: 99;"></div>
{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #B19D85; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #3C362E; padding: 2px; -moz-border-radius:10px;" cellspacing="2"
|-
! style="background: #564D41; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #3C362E; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | <font color="white">{{{title|{{SUBPAGENAME}}}}}</font>
|-
<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:Multimedia|Multimedia]]. Will auto-add <nowiki>{{noimage}}</nowiki> if <tt>image=</tt> is left blank.

<pre>{{Infobox multimedia
| title = <!-- OPTIONAL title if different from PAGENAME -->
| image = <!--Image link-->
| caption = <!-- OPTIONAL Caption for image -->
}}
</pre>


[[Category: Sidebars]]
</noinclude>

Revision as of 04:37, 25 August 2011

Infobox multimedia


Usage

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

{{Infobox multimedia
| title = <!-- OPTIONAL title if different from PAGENAME -->
| image = <!--Image link-->
| caption = <!-- OPTIONAL Caption for image -->
}}