FANDOM


(improved)
Line 1: Line 1:
<noinclude>
+
:<span {{#if:{{{3|}}}|title="Source:&nbsp;{{{3}}}"|}}>"''{{{1}}}''"</span>
This template can be used to highlight a quote at the top of a page.
+
::&mdash;{{{2|Anonymous}}}{{#if:{{{3|}}}|<sup>[[{{{3|}}}|[src]]]</sup>}}<noinclude>
  +
==Usage instructions==
  +
{{excerpt|<nowiki>{{quote|</nowiki>''quote''<nowiki>|</nowiki>''attribution''<nowiki>|</nowiki>''source''<nowiki>}}</nowiki>}}
   
<pre>{{quote|QUOTE CONTENT|PERSON WHO SAID IT}}</pre>
+
===Notes===
  +
*If any text is assigned to the ''source'' field, it will be rendered as a browser [[Wikipedia:Tool tip|tool tip]].
   
----
+
==Example==
</noinclude>{| class="cquote" style="margin:auto;"
+
====Code====
| valign="top" style="width:20px; font-size:36px; font-family:'Times New Roman', serif; font-weight:bold; text-align:left; padding:3px;" | “
+
{{excerpt|&#123;&#123;quote&#124;War. War never changes.&#124;<nowiki>[[Ron Perlman]]</nowiki>&#124;Fallout&#125;&#125;}}
| valign="top" style="padding:3px;" | {{{1|Insert the text of the quote here, without quotation marks.}}}
+
| valign="bottom" style="width:20px; font-size:36px; font-family:'Times New Roman', serif; font-weight:bold; text-align:right; padding:3px;" | ”
+
====Result====
|-
+
{{#if:{{{2|}}}{{{3|}}}|
+
{{quote|War. War never changes.|[[Ron Perlman]]|Fallout}}
{{!}} colspan="3" style="padding-top:1px;" {{!}} {{#if:{{{2|<noinclude>Origin</noinclude>}}}|<p style="font-size:smaller; text-align:right;"><cite style="font-style:normal;">&ndash;{{{2}}}{{#if:{{{3|<noinclude>Source</noinclude>}}}|, {{{3}}}}}</cite></p>}}
+
}}
+
<noinclude>[[Category:Templates]]</noinclude>
|}<noinclude>
 
[[Category:Templates]]</noinclude>
 

Revision as of 01:43, April 9, 2012

"{{{1}}}"
—Anonymous

Usage instructions

Template:Excerpt

Notes

  • If any text is assigned to the source field, it will be rendered as a browser tool tip.

Example

Code

Template:Excerpt

Result

"War. War never changes."

Ron Perlman[src]
Community content is available under CC-BY-SA unless otherwise noted.