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>Ryangibsonstewart
date released
imported>Ryangibsonstewart
adding some book variables
Line 5: Line 5:
|-
|-
<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>
{{#if: {{{date|}}} | <tr> <th>Date released:</th> <td>''{{#ifexist: {{{date}}} | [[{{{date}}}]] | {{{date}}} }}''</td> </tr>}}
{{#if: {{{date|}}} | <tr> <th>Date released:</th> <td>''{{{date}}} }}''</td> </tr>}}<!--
-->{{#if: {{{author|}}} | <tr> <th>Author:</th> <td>''{{#ifexist: {{{author}}} | [[{{{author}}}]] | {{{author}}} ''</td> </tr>}}<!--
-->{{#if: {{{publisher|}}} | <tr> <th>Publisher:</th> <td>''{{#ifexist: {{{publisher}}} | [[{{{publisher}}}]] | {{{publisher}}} }}''</td> </tr>}}<!--
-->{{#if: {{{pages|}}} | <tr> <th>Number of pages:</th> <td>''{{{pages}}} ''</td> </tr>}}
|-
|-
|}
|}
Line 11: Line 14:


==Usage==
==Usage==
Produces a right-floated infobox for [[:Category:Multimedia|Multimedia]]. Will auto-add <nowiki>{{noimage}}</nowiki> if <tt>image=</tt> is left blank.
This template 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
<pre>{{Infobox multimedia
Line 18: Line 21:
| caption = <!-- OPTIONAL Caption for image -->
| caption = <!-- OPTIONAL Caption for image -->
| date = <!-- date released-->
| date = <!-- date released-->
| author = <!-- author-->
| publisher = <!-- publisher-->
| pages = <!-- number of pages -->
}}
}}
</pre>
</pre>

Revision as of 21:42, 22 November 2015

}}{{#if: |
Infobox multimedia
Author: {{{author}}}


Usage

This template 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 -->
| date = <!-- date released-->
| author = <!-- author-->
| publisher = <!-- publisher-->
| pages = <!-- number of pages -->
}}