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 |
||
(3 intermediate revisions by the same user not shown) | |||
Line 37: | Line 37: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<blockquote class="templatequote"><div class="templatequote_inner">{{{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">— <strong>{{{sign|{{{cite|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}</strong> | |||
{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}} | |||
|, <cite>{{{source|{{{3|<noinclude>Source</noinclude>}}}}}}</cite> | |||
}}</div> | |||
}}</blockquote> |
Latest revision as of 21:57, 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