Template:Quote/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "<templatedata> { "params": { "1": { "label": "Text", "description": "The text of the quote.", "example": "I am Quincy, son of Quincy.", "type": "string", "required": true }, "2": { "label": "Source", "description": "The source of the quote.", "example": "Quincy, son of Quincy", "type": "string" }, "audio": { "label": "Audio", "description": "An audio file to accompany the quote.", "example": "BTD6 SelectQuincy05.ogg", "ty..." |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
"1": { | "1": { | ||
"label": "Text", | "label": "Text", | ||
"description": "The text of the quote.", | "description": "The text of the quote. If the text contains any equals signs, you need to substitute them with the magic word \"{{=}}\" to get the text to display correctly.", | ||
"example": "I am Quincy, son of Quincy.", | "example": "I am Quincy, son of Quincy.", | ||
"type": "string", | "type": "string", | ||
| Line 32: | Line 32: | ||
</templatedata> | </templatedata> | ||
==Example usage== | ==Example usage== | ||
<pre>{{quote|I am Quincy, son of Quincy.|Quincy, son of Quincy|BTD6 SelectQuincy05.ogg}}</pre> | <pre>{{quote|I am Quincy, son of Quincy.|Quincy, son of Quincy|audio=BTD6 SelectQuincy05.ogg}}</pre> | ||
{{quote|I am Quincy, son of Quincy.|Quincy, son of Quincy|BTD6 SelectQuincy05.ogg}} | {{quote|I am Quincy, son of Quincy.|Quincy, son of Quincy|audio=BTD6 SelectQuincy05.ogg}} | ||
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | <includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | ||
Latest revision as of 05:30, 19 November 2024
Creates a block quotation.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The text of the quote. If the text contains any equals signs, you need to substitute them with the magic word "{{=}}" to get the text to display correctly.
| String | required |
| Source | 2 | The source of the quote.
| String | optional |
| Audio | audio | An audio file to accompany the quote.
| File | optional |
Example usage
{{quote|I am Quincy, son of Quincy.|Quincy, son of Quincy|audio=BTD6 SelectQuincy05.ogg}}
| “ | ⓘI am Quincy, son of Quincy. — Quincy, son of Quincy |
” |