Template:Blockquote/doc: Difference between revisions
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: | Line 77: | ||
==Reference citations== |
==Reference citations== |
||
{{anchor|Attribution|reason=Old section name}} |
{{anchor|Attribution|reason=Old section name}} |
||
A [[WP:Citing sources|reference citation]] can be placed before the quote, after the quote, or in the |
A [[WP:Citing sources|reference citation]] can be placed before the quote, after the quote, or in the {{para|source}} parameter: |
||
<ul> |
<ul> |
||
<li> |
<li>{{tick}} {{stronggood|Typical use:}} In the regular-prose introduction to the quotation, when a quotation is given without the displayed {{para|author}}, {{para|title}}, or {{para|source}} parameters: <syntaxhighlight lang="html" inline>According to Pat Doe, in "Underwater Basketweaving Tips" (2015):<ref>...</ref> {{quote |text=Quoted material.}}</syntaxhighlight></li> |
||
<li>At the end of the quotation, when a quotation is given without the displayed |
<li>At the end of the quotation, when a quotation is given without the displayed {{para|author}}, {{para|title}}, or {{para|source}} 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: <syntaxhighlight lang="html" 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>}}</syntaxhighlight></li> |
||
<li>After the |
<li>After the {{para|source}} value (if a value is given for the {{para|source}} parameter other than the <syntaxhighlight lang="html" inline><ref>...</ref></syntaxhighlight> itself):<syntaxhighlight lang="html" inline>One expert noted in 2015: {{quote |text=Quoted material. |author=Pat Doe |source="Underwater Basketweaving Tips" (2015)<ref>...</ref>}}</syntaxhighlight></li> |
||
<li>{{strongbad|Deprecated}} |
<li>{{cross}} {{strongbad|Deprecated:}} <s>After the quoted person's name in {{para|author}}, or after the work's title in {{para|title}}, when a {{para|source}} parameter is not being added: <syntaxhighlight lang="html" inline>As noted in "Underwater Basketweaving Tips" (2015): {{quote |text=Quoted material. |author=Pat Doe<ref>...</ref>}}</syntaxhighlight></s><br />{{A note}} Please avoid this format, as it will pollute the author or title metadata with non-author or non-title information.</li> |
||
</ul> |
</ul> |
||
Revision as of 00:16, 10 June 2018
This is a documentation subpage for Template:Terminate sentence It contains usage information, categories and other content that is not part of the original template page. |
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;