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 reference: Difference between revisions
Jump to navigation
Jump to search
imported>AdminBot m (Removing Category:Templates from templates which already belong to other categories) |
imported>Ryangibsonstewart (allow for "episode" in this spot) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{NAMESPACE}}|User|| {{#if: {{{image|}}}||{{noimage}}<br>}} }}</includeonly>{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #CCCCFF; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #0000FF; padding: 2px; -moz-border-radius:10px;" cellspacing="2" | <includeonly>{{#ifeq:{{NAMESPACE}}|User|| {{#if: {{{image|}}}||{{noimage}}<br>}} }}</includeonly>{| class="infobox" style="width: 270px; text-align: left; font-size: 90%; background-color: #CCCCFF; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid #0000FF; padding: 2px; -moz-border-radius:10px;" cellspacing="2" | ||
|- | |- | ||
! style="background: #9999CC; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #0000FF; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{ | ! style="background: #9999CC; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #0000FF; padding: 2px; -moz-border-radius:10px; text-align: center; font-size: 120%;" align="center" colspan="2" | {{SUBPAGENAME}} | ||
|- | |- | ||
{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">[[Image:{{{image}}}|250px]] {{#if: {{{caption|}}} | <br>{{{caption}}}}}</td> </tr>}} | {{#if: {{{image|}}} | <tr> <td align="center" colspan="2">[[Image:{{{image}}}|250px]] {{#if: {{{caption|}}} | <br>{{{caption}}}}}</td> </tr>}} | ||
| colspan="2" | <hr style="background-color:#0000FF;"> | | colspan="2" | <hr style="background-color:#0000FF;"> | ||
|- | |- | ||
{{#if: {{{first|}}} | <tr> <th>First reference:</th> <td>''[[{{{first}}}]]''</td> </tr>}} | {{#if: {{{first|}}} | <tr> <th>First reference:</th> <td>''{{#if: {{#pos:{{{first}}}|pisode:}} |{{{first}}}|{{#ifexist: {{{first}}} | [[{{{first}}}]] | {{{first}}} }}}}''</td> </tr>}} | ||
{{#if: {{{wikilink|}}} | <tr> <td colspan="2"><center><small>[[wikipedia:{{{wikilink}}}|"{{#if:{{{wikilinktitle|}}}|{{{wikilinktitle}}}|{{ | {{#if: {{{wikilink|}}} | <tr> <td colspan="2"><center><small>[[wikipedia:{{{wikilink}}}|"{{#if:{{{wikilinktitle|}}}|{{{wikilinktitle}}}|{{SUBPAGENAME}}}}" on Wikipedia]]</small></center></td> </tr>}} | ||
|} | |} | ||
<noinclude> | <noinclude> |
Latest revision as of 21:48, 28 April 2010
Infobox reference | |
---|---|
Usage
Produces a right-floated infobox for References. Will auto-add {{noimage}} if image= is left blank.
{{Infobox reference | image = <!--Image link--> | caption = <!-- OPTIONAL Caption for image --> | first = <!-- OPTIONAL Episode in which reference first appeared; title only, e.g. Genesis--> | wikilink = <!-- OPTIONAL article title on Wikipedia --> | wikilinktitle = <!-- OPTIONAL Display title for Wikilink if different from Pagename --> }}