Difference between revisions of "Template:Quote"
Jump to navigation
Jump to search
(Add quote template) |
m (Add template data) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | |||
--><blockquote class="templatequote" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{trim quotes|{{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}[[Category:Pages incorrectly using the quote template]]</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}}}{{#if:{{{sign|}}}{{{cite|}}}{{{author|}}}{{{by|}}}{{{personquoted|}}}{{{source|}}}{{{ts|}}}{{{title|}}}{{{publication|}}}{{{quotesource|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{char|}}}{{{character|}}}|{{#if:{{{multiline|}}}|<nowiki />}} | --><blockquote class="templatequote" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{trim quotes|{{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}[[Category:Pages incorrectly using the quote template]]</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}}}{{#if:{{{sign|}}}{{{cite|}}}{{{author|}}}{{{by|}}}{{{personquoted|}}}{{{source|}}}{{{ts|}}}{{{title|}}}{{{publication|}}}{{{quotesource|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{char|}}}{{{character|}}}|{{#if:{{{multiline|}}}|<nowiki />}} | ||
<div class="templatequotecite">— <cite>{{#if:{{{char|{{{character|}}}}}}|{{{char|{{{character|}}}}}}, in }}{{Comma separated entries | <div class="templatequotecite">— <cite>{{#if:{{{char|{{{character|}}}}}}|{{{char|{{{character|}}}}}}, in }}{{Comma separated entries | ||
Line 9: | Line 9: | ||
</blockquote>{{#if:{{{class|}}}{{{id|}}}{{{diff|}}}{{{4|}}}{{{5|}}}|[[Category:Pages incorrectly using the quote template]]}}<noinclude> | </blockquote>{{#if:{{{class|}}}{{{id|}}}{{{diff|}}}{{{4|}}}{{{5|}}}|[[Category:Pages incorrectly using the quote template]]}}<noinclude> | ||
{{documentation}}<!-- Add categories to the /doc subpage, not here! --> | {{documentation}}<!-- Add categories to the /doc subpage, not here! --> | ||
<templatedata> | |||
{ | |||
"description": "Adds a block quotation.", | |||
"params": { | |||
"text": { | |||
"label": "text", | |||
"description": "The text to quote", | |||
"type": "content", | |||
"required": true, | |||
"aliases": [ | |||
"1", | |||
"quote" | |||
], | |||
"example": "Cry \"Havoc\" and let slip the dogs of war." | |||
}, | |||
"sign": { | |||
"label": "sign", | |||
"description": "The person being quoted", | |||
"type": "content", | |||
"required": false, | |||
"aliases": [ | |||
"2", | |||
"cite", | |||
"author" | |||
], | |||
"example": "[[William Shakespeare]]", | |||
"suggested": true | |||
}, | |||
"source": { | |||
"label": "source", | |||
"description": "A source for the quote", | |||
"type": "content", | |||
"required": false, | |||
"aliases": [ | |||
"3" | |||
], | |||
"example": "''[[Julius Caesar (play)|Julius Caesar]]'', act III, scene I", | |||
"suggested": true | |||
} | |||
} | |||
}</templatedata> | |||
</noinclude> | </noinclude> |
Latest revision as of 22:57, 23 August 2019
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Adds a block quotation.
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | text 1 quote | The text to quote
| Content | required |
sign | sign 2 cite author | The person being quoted
| Content | suggested |
source | source 3 | A source for the quote
| Content | suggested |