Difference between revisions of "Blockquote"

("Fixed" error with onlyinclude - tried to fix but the template isn't co-operating so I am using a workaround)
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;">—&thinsp;<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;">—&thinsp;<cite>{{{source|}}}</cite></div>}}</blockquote></includeonly><noinclude>{{Blockquote/Documentation}}<noinclude>
== Description ==
 
This template displays large text passages as indented quotations.
 
 
 
== Parameters ==
 
{{bullet}} '''text''': The quoted text.
 
 
 
{{bullet}} '''source''': Optional. The quotation source.
 
 
 
== Usage ==
 
<pre>{{blockquote|text=This is a quotation}}
 
{{blockquote|text=This is a quotation|source=Source}}</pre><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

Arrow.png1: Quoted text.
Required.
Arrow.png2: Quotation label.
Optional.
Notes: Choose from game, website, a custom label, or a custom link.
Arrow.png3: 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.

See Also

Arrow.pngQuotation