Template:Blockquote/doc: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(merging redundant points)
m (deprecated TemplateData stuff at end)
Line 106: Line 106:
=== Nested quotations ===
=== Nested quotations ===
The {{tag|blockquote}} element has styles that change the font size: on desktop, text is smaller; on mobile, it is sometimes larger, depending on browser. This change is relative to the enclosing context, meaning that if you quote from a source that itself uses a block quotation, you'll find that the inner quotation is either really tiny and hard to read, or really large and barely fits on the screen. Additionally, in some mobile browsers that auto-generate oversize, decorative quotation marks, you'll get an extra pair of them. To fix both these issues, add the parameter <code>|style=font-size:inherit;quotes:none;</code> on any inner {{tl|quote}} templates.
The {{tag|blockquote}} element has styles that change the font size: on desktop, text is smaller; on mobile, it is sometimes larger, depending on browser. This change is relative to the enclosing context, meaning that if you quote from a source that itself uses a block quotation, you'll find that the inner quotation is either really tiny and hard to read, or really large and barely fits on the screen. Additionally, in some mobile browsers that auto-generate oversize, decorative quotation marks, you'll get an extra pair of them. To fix both these issues, add the parameter <code>|style=font-size:inherit;quotes:none;</code> on any inner {{tl|quote}} templates.

== Errors ==
Pages where this template is not used correctly populate [[:Category:Pages incorrectly using the quote template]]. The category tracks tranclusions of [[:Template:Quote]] that have no text given for quotation or use an equals sign in the argument of an unnamed parameter. It also tracks usage of {{para|class}}, {{para|id}}, {{para|diff}}, {{para|4}}, or {{para|5}}.


== TemplateData ==
== TemplateData ==
Line 151: Line 154:
}
}
</templatedata>
</templatedata>

== Errors ==
Pages where this template is not used correctly populate [[:Category:Pages incorrectly using the quote template]]. The category tracks tranclusions of [[:Template:Quote]] that have no text given for quotation or use an equals sign in the argument of an unnamed parameter. It also tracks usage of {{para|class}}, {{para|id}}, {{para|diff}}, {{para|4}}, or {{para|5}}.


{{Quotation templates}}
{{Quotation templates}}

Revision as of 04:35, 2 June 2017

Usage

{{Quote}} adds a block quotation to an article page.

This is easier to type and is more wiki-like than the equivalent HTML <blockquote>...</blockquote> tags, and has additional pre-formatted attribution parameters for author and source.

Note: Block quotes do not normally contain quotation marks