Template:Quote/doc: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
m (→‎Examples: <source>)
(→‎Parameters: +style, with example for nested usage)
Line 33: Line 33:


{{para|multiline}}—some of the issues with the formatting of quotes with line breaks can be fixed by using {{para|multiline|y}} (see [[#Line_breaks|the line breaks section]] for other options).
{{para|multiline}}—some of the issues with the formatting of quotes with line breaks can be fixed by using {{para|multiline|y}} (see [[#Line_breaks|the line breaks section]] for other options).

{{para|style}}—allows specifying additional [[Help:Cascading Style Sheets|CSS]] styles (''not'' classes) to apply to the {{tag|blockquote}} element. For example, when putting a quotation inside a quotation, use <code>style=font-size:inherit</code> so that the text doesn't get unreadably small or (on mobile) too large for the screen.


==Reference citations==
==Reference citations==

Revision as of 15:23, 17 September 2016

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