Difference between revisions of "Template:Quote"

From Ballotpedia
Jump to: navigation, search
Line 7: Line 7:
 
|60px=120px
 
|60px=120px
 
|#default=35px}};font-family: 'Times New Roman', serif; font-weight: bold; text-align: left; padding: 10px 3px;" | “
 
|#default=35px}};font-family: 'Times New Roman', serif; font-weight: bold; text-align: left; padding: 10px 3px;" | “
| valign="top" style="border: none; padding: 4px 10px;" | {{{text|{{{1|Insert the text of the quote here, without quotation marks.}}}}}}<ref name="quotedisclaimer">Note: This text is quoted verbatim from the original source. Any inconsistencies are attributed to the original source.</ref>
+
| valign="top" style="border: none; padding: 4px 10px;" | {{{text|{{{1|Insert the text of the quote here, without quotation marks.}}}}}}<div align="right">
 +
<ref name="quotedisclaimer">Note: This text is quoted verbatim from the original source. Any inconsistencies are attributed to the original source.</ref></div>
 
| width="20" valign="bottom" style="border: none; color: #B2B7F2; font-size: {{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
 
| width="20" valign="bottom" style="border: none; color: #B2B7F2; font-size: {{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
 
|10px=20px
 
|10px=20px

Revision as of 16:15, 12 May 2014

Insert the text of the quote here, without quotation marks.
[edit] Template-info.png Template documentation

(Note: This template was adapted from Wikipedia's Cquote Template)

Syntax

  1. {{quote|quote text}}
  2. {{quote|quote text|author=author or speaker}}
  3. {{quote|quote text|author=author or speaker|source=title of article, speech, book, etc.}}

Parameters

Parameter 1
text of the quote; use <br /> between paragraphs.
Required
Note: if the quote text contains one or more "=" (equal signs), then the template must be called as {{cquote|1=quote text}}
author
Name of the person that wrote or spoke the text being quoted. Can include wiki syntax.
source
Source of the quote (publication title, speech, etc.). Can include wiki syntax.
bgcolor
The color of the background.
wide
When set to "yes", the quote expands to the entire width of the page.
center
When set to "yes", the quote centers on the page

Simple example

{{quote|The election is to be held on the second Tuesday in November.}}
The election is to be held on the second Tuesday in November.[1]

Sourced example

{{quote
|The election is to be held on the second Tuesday in November.
|author=John Doe
|source=<ref>Ballotpedia.org</ref>
}}
The election is to be held on the second Tuesday in November.

[1]

—John Doe, [2]

  1. 1.0 1.1 1.2 Note: This text is quoted verbatim from the original source. Any inconsistencies are attributed to the original source.
  2. Ballotpedia.org




</noinclude>