Template: Quote: Difference between revisions

(Created page with "<noinclude> <templatedata> { "description": "Adds a block quotation.", "params": { "text": { "label": "text", "description": "The text to quote", "type": "string", "required": false, "aliases": [ "1", "quote" ] }, "sign": { "label": "sign", "description": "The person who is being quoted", "type": "string", "required": false, "aliases": [ "2", "cite" ] }, "source": { "label": "source", "description": "A...")
 
No edit summary
Line 37: Line 37:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<blockquote class="templatequote"><div class="Bug6200">{{{text|{{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}}</div>{{#if:{{{sign|{{{cite|{{{2|<noinclude>TRUE</noinclude>}}}}}}}}}
|<div class="templatequotecite">&#8212;{{{sign|{{{cite|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}
  |,&nbsp;<cite>{{{source|{{{3|<noinclude>Source</noinclude>}}}}}}</cite>
}}</div>
}}</blockquote>

Revision as of 21:41, 17 October 2023

Adds a block quotation.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
texttext 1 quote

The text to quote

Stringoptional
signsign 2 cite

The person who is being quoted

Stringoptional
sourcesource 3

A source for the quote

Stringoptional
SomeoneSource