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
(significant cleanup and standardization of the documentation markup; added {{code}}s and <syntaxhighlight lang="[language]" inline>s where {{code}} was inappropriate or inferior; added <syntaxhighlight>s in some places, including to replace the deprecated <source>s it replaced; ensured consistent use of {{em}}, {{strong}}, {{tl}}, {{para}}, and so on; consolidated text; cleanup of "Reference citations" postponed until next edit to preserve diff integrity and clarity)
(→‎Reference citations: other part of cleanup, following stated changed in previous diff edit summary; also included {{stronggood}}, {{tick}}, {{cross}}, and {{A note}} for visual clarity and consistency)
Line 77:
==Reference citations==
{{anchor|Attribution|reason=Old section name}}
A [[WP:Citing sources|reference citation]] can be placed before the quote, after the quote, or in the <code>{{para|source</code>}} parameter:
<ul>
<li>'''{{tick}} {{stronggood|Typical use''':}} In the regular-prose introduction to the quotation, when a quotation is given without the displayed <code>{{para|author</code>}}, <code>{{para|title</code>}}, or <code>{{para|source</code>}} parameters: <sourcesyntaxhighlight lang="xmlhtml" inline>According to Pat Doe, in "Underwater Basketweaving Tips" (2015):<ref>...</ref> {{quote |text=Quoted material.}}</sourcesyntaxhighlight></li>
<li>At the end of the quotation, when a quotation is given without the displayed <code>{{para|author</code>}}, <code>{{para|title</code>}}, or <code>{{para|source</code>}} parameters, and placement before the quote isn't appropriate (e.g. because the material immediately before the quote isn't cited to the same source or introduces multiple quotes from different sources: <sourcesyntaxhighlight lang="xmlhtml" inline>Pat Doe and Chris Foo took opposing positions: {{quote |text=Doe's Quoted material.<ref>...</ref>}} {{quote |text=Foo's Quoted material.<ref>...</ref>}}</sourcesyntaxhighlight></li>
<li>After the <code>{{para|source</code>}} value (if a value is given for the <code>{{para|source</code>}} parameter other than the {{tag|<syntaxhighlight lang="html" inline><ref}}>...</ref></syntaxhighlight> itself):<sourcesyntaxhighlight lang="xmlhtml" inline>One expert noted in 2015: {{quote |text=Quoted material. |author=Pat Doe |source="Underwater Basketweaving Tips" (2015)<ref>...</ref>}}</sourcesyntaxhighlight></li>
<li>{{cross}} {{strongbad|Deprecated:}}: <s>After the quoted person's name in <code>{{para|author</code>}}, or after the work's title in <code>{{para|title</code>}}, when a <code>{{para|source</code>}} parameter is not being added: <sourcesyntaxhighlight lang="xmlhtml" inline>As noted in "Underwater Basketweaving Tips" (2015): {{quote |text=Quoted material. |author=Pat Doe<ref>...</ref>}}</sourcesyntaxhighlight></s><br />{{A note}} Please avoid thatthis format, as it will pollute the author or title metadata with non-author or non-title information.</li>
</ul>
 

Revision as of 00:16, 10 June 2018

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 (though these are not usually used in articles;