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

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Baldbobbo
commenting out links to Timeline
imported>Ryangibsonstewart
add option for first mention
Line 7: Line 7:
| colspan="2" | <hr style="background-color:#0000FF;">
| colspan="2" | <hr style="background-color:#0000FF;">
|-
|-
{{#if: {{{date|}}} | <tr> <th>Date of event:</th> <td> <!-- [[Timeline#{{{date}}}|{{{date}}}]] -->{{{date}}}</td> </tr>}}
{{#if: {{{first|}}} | <tr> <th>First mentioned:</th> <td>''{{#ifexist: {{{first}}} | [[{{{first}}}]] | {{{first}}} }}''</td> </tr>}}<!--
-->{{#if: {{{date|}}} | <tr> <th>Date of event:</th> <td> <!-- [[Timeline#{{{date}}}|{{{date}}}]] -->{{{date}}}</td> </tr>}}
{{#if: {{{location|}}}| <tr> <th>Location:</th> <td>[[{{{location}}}]]</td> </tr>}}
{{#if: {{{location|}}}| <tr> <th>Location:</th> <td>[[{{{location}}}]]</td> </tr>}}
|}<noinclude>
|}<noinclude>
Line 17: Line 18:
| image = <!--Image link-->
| image = <!--Image link-->
| caption = <!-- OPTIONAL Caption for image -->
| caption = <!-- OPTIONAL Caption for image -->
| first = <!-- OPTIONAL Episode in which item first appeared; title only, e.g. Genesis-->
| date = <!-- OPTIONAL Date of the event -->
| date = <!-- OPTIONAL Date of the event -->
| location = <!-- OPTIONAL Location or Place where event takes place -->
| location = <!-- OPTIONAL Location or Place where event takes place -->

Revision as of 01:28, 23 June 2007

Infobox event

Usage

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

{{Infobox event
| image = <!--Image link-->
| caption = <!-- OPTIONAL Caption for image -->
| first = <!-- OPTIONAL Episode in which item first appeared; title only, e.g. Genesis-->
| date = <!-- OPTIONAL Date of the event -->
| location = <!-- OPTIONAL Location or Place where event takes place -->
}}