PGI logo cropped.png
Congressional Millionaire’s Club
The Personal Gain Index shines a light on how members of Congress benefit during their tenure.





Difference between revisions of "Template:Quote"

From Ballotpedia
Jump to: navigation, search
(test. removed comma)
(Undo revision 2854883 by BaileyL (talk))
Line 18: Line 18:
 
|-
 
|-
 
{{#if:{{{4|{{{author|}}}}}}{{{5|{{{source|{{{publication|}}}}}}}}}|
 
{{#if:{{{4|{{{author|}}}}}}{{{5|{{{source|{{{publication|}}}}}}}}}|
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} {{#if:{{{4|{{{author|<noinclude>Origin</noinclude>}}}}}}|<p style="font-size: smaller; text-align: right;"><cite style="font-style: normal;">—{{{4|{{{author}}}}}}{{#if:{{{5|{{{source|{{{publication|<noinclude>Source</noinclude>}}}}}}}}}| {{{5|{{{source|{{{publication}}}}}}}}}}}</cite></p>}}}}
+
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} {{#if:{{{4|{{{author|<noinclude>Origin</noinclude>}}}}}}|<p style="font-size: smaller; text-align: right;"><cite style="font-style: normal;">—{{{4|{{{author}}}}}}{{#if:{{{5|{{{source|{{{publication|<noinclude>Source</noinclude>}}}}}}}}}|, {{{5|{{{source|{{{publication}}}}}}}}}}}</cite></p>}}}}
|}<noinclude>{{documentation}}[[Category:Template]]</noinclude>
+
|}<noinclude>{{documentation}}</noinclude><noinclude>[[Category:Template]]</noinclude>

Revision as of 14:01, 22 April 2014

This text is quoted verbatim from the original source. Any inconsistencies are attributed to the original source.

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 Note: This text is quoted verbatim from the original source. Any inconsistencies are attributed to the original source.
  2. Ballotpedia.org




</noinclude>