Difference between revisions of "Blockquote"
Stratonian (talk | contribs) ("Fixed" error with onlyinclude - tried to fix but the template isn't co-operating so I am using a workaround) |
Stratonian (talk | contribs) m (Added link to upcoming documentation page) |
||
Line 1: | Line 1: | ||
− | <includeonly><blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;">{{{text|{{{1|{{error|Error: No text given for quotation.}}}}}}}}{{#if:{{{source|}}}|<div style="line-height=1.5em;text-align:left;padding-left:1.6em;margin-top:0;">— <cite>{{{source|}}}</cite></div>}}</blockquote></includeonly><noinclude> | + | <includeonly><blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;">{{{text|{{{1|{{error|Error: No text given for quotation.}}}}}}}}{{#if:{{{source|}}}|<div style="line-height=1.5em;text-align:left;padding-left:1.6em;margin-top:0;">— <cite>{{{source|}}}</cite></div>}}</blockquote></includeonly><noinclude>{{Blockquote/Documentation}}<noinclude> |
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 11:53, 23 January 2022
Description
Displays large text passages as indented quotations.
Usage
{{blockquote|<This is a quotation>|<game>}}
{{blockquote|<This is a quotation>|<website>}}
{{blockquote|<This is a quotation>|<website>|<https://corepunk.com>}}
{{blockquote|<This is a quotation>|<custom label>|<https://corepunk.wiki>}}
{{blockquote|<This is a quotation>|<https://corepunk.wiki>}}
Parameters
- 3: Quotation source.
- Optional.
- Notes: A link to the quotation source. Use if parameter 2 isn't already a link.
Errors
No text given for quotation. Add a text parameter.