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

From Heroes Wiki
Jump to navigation Jump to search
imported>Hardvice
m (fix color)
imported>AdminBot
m (Removing Category:Templates from templates which already belong to other categories)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table style="border: 1px black solid; margin-bottom: 0.5em; padding: 1em; float: {{{float|right}}}; clear: {{{float|right}}}; width: 250px; margin-{{#ifeq: {{{float|right}}}|left|right|left}}: 1em;"><tr><td style="text-align: left; font-size: 130%; color: #CCD5F4;">&#8220;''{{{body|Quote appears here}}}''&#8221;</td></tr><tr><td style="text-align: right; font-size; 80%;">&mdash; {{#ifeq:{{{speaker|Speaker}}}|{{PAGENAME}}|{{{speaker}}}|[[{{{speaker}}}]]}}{{#if: {{{listener|}}} | , to {{#ifeq:{{{listener|}}}|{{PAGENAME}}|{{{listener}}}|[[{{{listener}}}]]}}| |}}{{#if: {{{source|}}} | <br>(''[[{{{source}}}]]'')| |}}</td></tr></table><noinclude>
<table style="border: 1px black solid; margin-bottom: 0.5em; padding: 1em; float: {{{float|right}}}; clear: {{{float|right}}}; width: 250px; margin-{{#ifeq: {{{float|right}}}|left|right|left}}: 1em;"><tr><td style="text-align: left; font-size: 120%; color: #151B54;">&#8220;''{{{body|Quote appears here}}}''&#8221;</td></tr><tr><td style="text-align: right; font-size; 80%;">&mdash; {{#ifeq:{{{speaker|Speaker}}}|{{PAGENAME}}|{{{speaker}}}|{{#ifexist: {{{speaker}}} | [[{{{speaker}}}]] | {{{speaker}}} }} }}{{#if: {{{listener|}}} | , to {{#ifeq:{{{listener|}}}|{{PAGENAME}}|{{{listener}}}|[[{{{listener}}}]]}}| |}}{{#if: {{{source|}}} | <br>(''[[{{{source}}}]]'')| |}}</td></tr></table><noinclude>
<br clear=all>
<br clear=all>
==Usage==
==Usage==
Line 14: Line 14:




[[Category: Templates]]
 
[[Category: Page Elements]]
[[Category: Page Elements]]
</noinclude>
</noinclude>

Latest revision as of 17:46, 12 November 2007

Quote appears here
— {{{speaker}}}


Usage

Produces an inline box for quotations.

{{quote
| float = <!--Left or right, defaults to right-->
| body = <!-- Text of the quote -->
| speaker = <!-- Speaker's name.  Will link -->
| listener = <!-- OPTIONAL Speaker's target's name.  Will link -->
| source = <!-- OPTIONAL Episode or graphic novel in which quote appeared.  Will link -->
}}