Templates Wiki
Advertisement

Insert the text of the quote here, without quotation marks.
—A random person, The source

Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.

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 be left or right
width=
The width of the quote box. Defaults to 80% if centered, or 300px 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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Quote text1 quote text

The main quote text by a person.

Auto value
''Quote text here''
Stringrequired
Quote speaker2 by person

The person/character/object who stated the quote.

Example
John
Stringsuggested
Quote source3 source from

The source of the quote. Can be a named reference tag

Example
Book of something
Stringsuggested
Blockquote image4 image

Custom blockquote image tht replaces the quotation mark; remove the File: namespace

Default
Defaults to the large quotation mark (")
Fileoptional
Blockquote classesclass

Additional classes for the base <blockquote> template

Stringoptional
Blockquote alignalign

The alignment of the blockquotequote. Available options: left - right - center

Default
center
Example
left, right, center
Stringoptional
Blockquote stylesstyle css

Custom styling for the base <blockquote> element

Stringoptional
Blockquote widthwidth

Custom width for the base <blockquote> element

Example
80%, 300px
Stringoptional

Examples

Basic usage

{{quote|My beautiful quote}} results in

My beautiful quote

{{quote|My beautiful quote|Speaker}} results in

My beautiful quote
—Speaker

{{quote|My beautiful quote|Speaker|Source}} results in

My beautiful quote
—Speaker, Source

With align

{{quote|My beautiful quote|Speaker|Source|align=right}} results in

My beautiful quote
—Speaker, Source

{{quote|My beautiful quote|Speaker|Source|align=left}} results in

My beautiful quote
—Speaker, Source



Installation Instructions
Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Quote]] to properly attribute this template's editors.
There is no additional installation instructions for this template. If there is any, you may create it at Template:Quote/install.
Advertisement