Difference between revisions of "Blockquote"
Stratonian (talk | contribs) m (Removed parameter from error template) |
Stratonian (talk | contribs) m (Corrected spacing) |
||
Line 1: | Line 1: | ||
− | <blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;"> | + | <onlyinclude><blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;">{{{text|<includeonly>{{error|Error: No text given for quotation}}</includeonly>}}}{{#if:{{{source|}}}|<div style="line-height=1.5em;text-align:left;padding-left:1.6em;margin-top:0;">— <cite>{{{source|}}}</cite></div>}}</blockquote></onlyinclude> |
− | {{{text|<includeonly>{{error|Error: No text given for quotation}}</includeonly>}}} | ||
− | {{#if:{{{source|}}}|<div style="line-height=1.5em;text-align:left;padding-left:1.6em;margin-top:0;">— <cite>{{{source|}}}</cite></div>}} | ||
− | </blockquote> | ||
− | < | ||
== Description == | == Description == | ||
This template displays large text passages as indented quotations. | This template displays large text passages as indented quotations. | ||
Line 15: | Line 11: | ||
<pre>{{blockquote|text=This is a quotation}} | <pre>{{blockquote|text=This is a quotation}} | ||
{{blockquote|text=This is a quotation|source=Source}}</pre> | {{blockquote|text=This is a quotation|source=Source}}</pre> | ||
− |
Revision as of 15:00, 16 January 2022
Description
This template displays large text passages as indented quotations.
Parameters
• text: The quoted text.
• source: The quotation source.
Usage
{{blockquote|text=This is a quotation}} {{blockquote|text=This is a quotation|source=Source}}