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>Radicell
just so users can use it for the sake of the cool colors :)
imported>Radicell
in fact neither should date, publisher, or pages
 
(10 intermediate revisions by 4 users not shown)
Line 2: Line 2:
{| 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"
{| 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">{{SUBPAGENAME}}</font>
! 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>
<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>{{{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>}}<!--
-->{{#if: {{{lastpart|}}} | <tr> <th>Previous part:</th> <td>''{{#if: {{#pos:{{{lastpart}}}|pisode:}} |{{{lastpart}}}|{{#ifexist: {{{lastpart}}} | [[{{{lastpart}}}|{{{lastpart}}}]] | {{{lastpart}}} }}}}''</td> </tr>}}<!--
-->{{#if: {{{nextpart|}}} | <tr> <th>Next part:</th> <td>''{{#if: {{#pos:{{{nextpart}}}|pisode:}} |{{{nextpart}}}|{{#ifexist: {{{nextpart}}} | [[{{{nextpart}}}|{{{nextpart}}}]] | {{{nextpart}}} }}}}''</td> </tr>}}
|-
|-
|}
|}
Line 10: Line 16:


==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
| title = <!-- OPTIONAL title if different from PAGENAME -->
| image = <!--Image link-->
| image = <!--Image link-->
| caption = <!-- OPTIONAL Caption for image -->
| caption = <!-- OPTIONAL Caption for image -->
| date = <!-- date released-->
| author = <!-- author-->
| publisher = <!-- publisher-->
| pages = <!-- number of pages -->
| lastpart = <!--Link to last part-->
| nextpart =<!--Link to next part -->
}}
}}
</pre>
</pre>

Latest revision as of 17:33, 23 November 2015


Infobox multimedia


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 -->
| lastpart = <!--Link to last part-->
| nextpart =<!--Link to next part -->
}}