Template:Blockquote/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Replace {{#ifeq:}} with {{Sandbox other}}) |
m (ce: +space, "and") |
||
Line 47: | Line 47: | ||
Technically, all citation information can be given in a single parameter, as in: |
Technically, all citation information can be given in a single parameter, as in: |
||
:{{para|source|Anonymous interview subject, in Jane G. Arthur, "The Aerodynamics of Shaved Weasels", ''Perspectives on Mammal Barbering''(2016), Bram Xander Yojimbo (ed.)}} |
:{{para|source|Anonymous interview subject, in Jane G. Arthur, "The Aerodynamics of Shaved Weasels", ''Perspectives on Mammal Barbering'' (2016), Bram Xander Yojimbo (ed.)}} |
||
But this is a bit messy, and will impede later efforts to generate metadata from quotation attribution the way we are already doing with source citations. This is much more usable: |
But this is a bit messy, and will impede later efforts to generate metadata from quotation attribution the way we are already doing with source citations. This is much more usable: |
||
:{{para|character|Anonymous interview subject}} |
:{{para|character|Anonymous interview subject}} |
||
Line 121: | Line 121: | ||
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 a named parameter (e.g. {{para|text|"E=MC<sup>2</sup>" is a formula everyone knows but few understand}}, not a blank-name positional parameter. The text before the equals sign gets misinterpreted as a named parameter otherwise. Be wary of URLs, which frequently contain this character. Named parameters are always safer, in this |
If any parameter's actual value contains an [[equals sign]] (<code>=</code>), you '''must''' use a named parameter (e.g. {{para|text|"E=MC<sup>2</sup>" is a formula everyone knows but few understand}}, not a blank-name positional parameter. The text before the equals sign gets misinterpreted as a named parameter otherwise. Be wary of URLs, which frequently contain this character. Named parameters are always safer, in this and other templates. |
||
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. |
Revision as of 14:36, 21 April 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;