Template:Quote

From Blackmouth Chronicles
Revision as of 05:42, 28 March 2015 by Unknown user (talk) (Add quotationmark-style to right quote mark)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Insert quote text here, without quotation marks.
Template documentation (for the above template, sometimes hidden or invisible)

{{Quote}} is used for rendering extensive quotations in a nice and uniform way.

Usage

To include it in an article use the syntax below:

{{Quote
| header  = 
| quote   = 
| speaker = 
| quote-style = 
| quotationmark-style = 
| content-style = 
| header-style = 
| speaker-style = 
}}
header (optional)
This text is rendered at the top of the quote in a headline tag. In most uses, such as back cover text on product pages, this text uses title case. This attribute is optional.
quote
This text is rendered in italics within decorative quotation marks; quotation marks to set off the quoted text aren't necessary as they're part of the template design. Formatting is allowed, but italics are ignored; styling text inside quotes with italics, such as book titles, will not remove the italics from that text. This attribute is required.
speaker (optional)
This text is rendered after an em dash beneath the quote as standard body text indented to align with the quote. Insert the author and/or source here. Formatting is allowed. This attribute is optional.
quote-style, quotationmark-style, content-style, header-style, speaker-style (optional)
Add CSS to these parameters to style the entire quote, the quotation marks, the quote contents, the header contents, and the speaker contents, respectively. These attributes are optional.

Example

{{Quote
| header  = Words of Wisdom
| quote   = To be a ''[[Pathfinder]]'' is to give up all sense of home, to marry yourself to the road and let your words be your children.
| speaker = Pathfinder [[Jaroven Kesk]], ''[[Seekers of Secrets]]''
}}

renders as:

Words of WisdomTo be a Pathfinder is to give up all sense of home, to marry yourself to the road and let your words be your children.
  — Pathfinder Jaroven Kesk, Seekers of Secrets
{{Quote
| header  = Words of Wisdom
| quote   = To be a ''[[Pathfinder]]'' is to give up all sense of home, to marry yourself to the road and let your words be your children.
| speaker = Pathfinder [[Jaroven Kesk]], ''[[Seekers of Secrets]]''
| quote-style = font-family: Verdana,Arial,Helvetica,sans-serif;
| quotationmark-style = color: blue;
| content-style = font-style: normal;
| header-style = font-family: Georgia,Times New Roman,serif; color: green;
| speaker-style = text-align: right;
}}

renders as:

Words of WisdomTo be a Pathfinder is to give up all sense of home, to marry yourself to the road and let your words be your children.
  — Pathfinder Jaroven Kesk, Seekers of Secrets

Notes

  • This may not work with certain complicated URLs in the second parameter (i.e. ones with "=" characters in the address). Will work on this later.

Visit Template:Quote/doc to edit this text! (How does this work?)