Template:Blockquote/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(merged example sections, example fix; fixed wording in templatedata) |
|||
Line 48: | Line 48: | ||
|title="Article Title" |
|title="Article Title" |
||
|source=''Book Title'' (date) |
|source=''Book Title'' (date) |
||
⚫ | |||
}}}}<!-- Template:Mra --> |
|||
;An ample example<!-- no pun intended --> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
|||
== Parameters == |
== Parameters == |
||
Line 100: | Line 106: | ||
Please do not place the citation in a {{para|author}} or {{para|source}} parameter by itself, as it will produce a nonsensical attribution line that looks like:<br />{{in5}}— {{dummy reference}}<br />Please also do not put it just outside the {{tl|Quote}} template, as this will cause a:<br />{{in5}}{{dummy reference}}<br />on a line by itself. |
Please do not place the citation in a {{para|author}} or {{para|source}} parameter by itself, as it will produce a nonsensical attribution line that looks like:<br />{{in5}}— {{dummy reference}}<br />Please also do not put it just outside the {{tl|Quote}} template, as this will cause a:<br />{{in5}}{{dummy reference}}<br />on a line by itself. |
||
== Examples == |
|||
⚫ | |||
⚫ | | |
||
⚫ | |||
⚫ | |||
== Limitations == |
== Limitations == |
||
Line 170: | Line 170: | ||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"title": { |
|||
"label": "title", |
"label": "title", |
||
"description": "The |
"description": "The work being quoted from", |
||
"type": "content", |
"type": "content", |
||
"required": false, |
"required": false, |
||
Line 192: | Line 192: | ||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"character": { |
|||
"label": "character", |
"label": "character", |
||
"description": "The speaker within the work who is being quoted", |
"description": "The speaker within the work who is being quoted", |
||
Line 203: | Line 203: | ||
"suggested": false |
"suggested": false |
||
}, |
}, |
||
"style": { |
|||
"label": "style", |
"label": "style", |
||
"description": "Additional CSS styles (not classes) to apply", |
"description": "Additional CSS styles (not classes) to apply", |
||
Line 210: | Line 210: | ||
"suggested": false |
"suggested": false |
||
}, |
}, |
||
"notrim": { |
|||
"label": "notrim", |
"label": "notrim", |
||
"description": "Turns off automatic trimming of quotation marks, to work around a bug that affects bold/italic wikimarkup", |
"description": "Turns off automatic trimming of quotation marks, to work around a bug that affects bold/italic wikimarkup", |
Revision as of 03:22, 14 July 2020
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. |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
Lua error in package.lua at line 80: module 'Module:Transclusion_count/data/B' not found.
The Manual of Style guidelines for block quotations recommend formatting block quotations using the {{Blockquote}} template or the HTML <blockquote> element, for which that template provides a wrapper.
- Quotes work best when used with short sentences, and at the start or end of a section, as a hint of or to help emphasize the section's content.
- For typical quotes, especially those longer than the rest of the paragraph in which they are quoted, {{Cquote}} (for use outside of article space only) provides a borderless quote with decorative quotation marks, and {{Quote frame}} provides a bordered quote. Both span the page width.
- For very short quotes, {{Rquote}} (with decorative quotation marks, for use outside of article space only) or {{Quote box}} (framed) can be used to set the quote off to either the right or left as in a magazine sidebar. This can be effective on essay pages and WikiProject homepages.
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;