Template:Quote/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(→Parameters: update) |
(→Limitations: rm. outdated; consolidate redundant) |
||
Line 72: | Line 72: | ||
If you do not provide text, the template generates a parser error message, which will appear in red text in the rendered page. |
If you do not provide text, the template generates a parser error message, which will appear in red text in the rendered page. |
||
If any parameter's actual value contains an [[equals sign]] (<code>=</code>), you '''must''' use named parameters or a blank-name parameter, as: <nowiki>{{{|text}}}</nowiki> (the text before the equals sign gets interpreted as a named parameter otherwise). |
If any parameter's actual value contains an [[equals sign]] (<code>=</code>), you '''must''' use named parameters or a blank-name parameter, as: <nowiki>{{{|text}}}</nowiki> (the text before the equals sign gets interpreted as a named parameter otherwise). Be wary of URLs, which frequently contain this character. |
||
If any parameter's actual value contains characters used for wiki markup syntax (such as [[vertical bar|pipe]], [[brackets]], single quotation marks, etc.), you may need to escape it. See [[Template:!]] and friends. |
If any parameter's actual value contains characters used for wiki markup syntax (such as [[vertical bar|pipe]], [[brackets]], single quotation marks, etc.), you may need to escape it. See [[Template:!]] and friends. |
||
Be wary of URLs which contain restricted characters. The equals sign is especially common. |
|||
Put a break (newline) after the template, or the next blank line might be ignored. |
Put a break (newline) after the template, or the next blank line might be ignored. |
||
As noted above, the {{para|source}} parameter will forcibly italicize all content in it; this is often undesirable, in which case include the material in the {{para|author}} parameter. |
|||
=== Preserving line breaks and spacing from the original === |
=== Preserving line breaks and spacing from the original === |
Revision as of 19:05, 7 February 2016
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.
Note: Block quotes do not normally contain quotation marks