Template:Quote: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary Tag: Manual revert |
m redesigned to use flex (easier to manage, less clunky than tables) |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="quote"><!-- | ||
--><div class="quote-side" style="text-align:left">“</div><!-- | |||
-->{{#if:{{{audio|}}}|<div>{{#tag:phonos||file={{{audio}}}}}</div>}}<!-- | |||
--><div class="quote-center"><i>{{{1|}}}</i><!-- | |||
-->{{#if:{{{2|}}}|<br><span class="quote-source">— {{{2}}}</span>}}</div><!-- | |||
--><div class="quote-side" style="text-align:right">”</div><!-- | |||
--></div><templatestyles src="Quote/style.css"/></includeonly><noinclude>{{/doc}}</noinclude> | |||
Revision as of 16:51, 5 July 2026
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}}
Page Template:Quote/style.css has no content.