Template:Quote/doc
Description
This template is used to create stylized pull quotes. Note: Set the template type to Design, and not Quote. This is to fix mobile styling.
Syntax
{{Quote
|<Quote>
|<By>
|<From>
|align=left
|style=margin: 10em;
}}
Parameters
1=
quote=
- The main quote block.
2=
person=
- The person who said the quote.
The following parameters are optional.
3=
source=
- The source of the quote. Can be a reference tag, like
Book<ref>Example</ref>
image=
4=
- Optional image at the start of the quote. The
File:
namespace prefix is not needed. Size hardcoded to 50px. align=
- Alignment of the quote box. Defaults to
center
. Can beleft
orright
width=
- The width of the quote box. Defaults to
80%
if centered, or300px
if aligned left/right. style=
css=
- Optional styling for the base <blockquote/> element.
TemplateData
This template is used to create styled quotes. Basically, a better version of the standard "block quote" used normally.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quote text | 1 quote text | The main quote text by a person.
| String | required |
Quote speaker | 2 by person | The person/character/object who stated the quote.
| String | suggested |
Quote source | 3 source from | The source of the quote. Can be a named reference tag
| String | suggested |
Blockquote image | 4 image | Custom blockquote image tht replaces the quotation mark; remove the File: namespace
| File | optional |
Blockquote classes | class | Additional classes for the base <blockquote> template | String | optional |
Blockquote align | align | The alignment of the blockquotequote. Available options: left - right - center
| String | optional |
Blockquote styles | style css | Custom styling for the base <blockquote> element | String | optional |
Blockquote width | width | Custom width for the base <blockquote> element
| String | optional |
Examples
Basic usage
{{quote|
results in
My beautiful quote
}}
{{quote|
results in
My beautiful quote
|Speaker
}}
{{quote|
results in
My beautiful quote
|Speaker
|Source
}}
With align
{{quote|
results in
My beautiful quote
|Speaker
|Source
|align=right
}}
{{quote|
results in
My beautiful quote
|Speaker
|Source
|align=left
}}