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

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Ryangibsonstewart
update "first" code
imported>Ryangibsonstewart
remove extra brackets
 
Line 7: Line 7:
| colspan="2" | <hr style="background-color:#666666;">
| colspan="2" | <hr style="background-color:#666666;">
|-
|-
{{#if: {{{first|}}} | <tr> <th> <font color="white"> First occurrence:</font> </th> <td> ''{{#if: {{#pos:{{{first}}}|pisode:}} |<font color="dodgerblue">{{{first}}}</font>|{{#ifexist: {{{first}}} | [[<font color="dodgerblue">{{{first}}}</font>]] | <font color="dodgerblue">{{{first}}}</font> }}}}''</td> </tr>}}
{{#if: {{{first|}}} | <tr> <th> <font color="white"> First occurrence:</font> </th> <td> ''{{#if: {{#pos:{{{first}}}|pisode:}} |<font color="dodgerblue">{{{first}}}</font>|{{#ifexist: {{{first}}} | <font color="dodgerblue">{{{first}}}</font> | <font color="dodgerblue">{{{first}}}</font> }}}}''</td> </tr>}}
|}<noinclude>
|}<noinclude>



Latest revision as of 14:45, 21 May 2011

Infobox victims

Usage

This template produces a right-floated infobox for victims. The template will auto-add {{noimage}} if image= is left blank. Links within the box should be made using the victims link template: {{vl|LINK}}.

{{Infobox victims
| image = <!--Image link-->
| caption = <!-- OPTIONAL Caption for image: be sure to use {{vl|LINK}} for any links -->
| first = <!-- OPTIONAL Episode in which the crime first appeared; title only, e.g. Genesis -->
}}