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">—{{{sign|{{{cite|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}} | |||
|, <cite>{{{source|{{{3|<noinclude>Source</noinclude>}}}}}}</cite> | |||
}}</div> | |||
}}</blockquote> |
Revision as of 21:41, 17 October 2023
Adds a block quotation.
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | text 1 quote | The text to quote | String | optional |
sign | sign 2 cite | The person who is being quoted | String | optional |
source | source 3 | A source for the quote | String | optional |
—Someone, Source