Template:Quote/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
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
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>

Revision as of 07:55, 4 November 2024

Creates a block quotation.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The text of the quote.

Example
I am Quincy, son of Quincy.
Stringrequired
Source2

The source of the quote.

Example
Quincy, son of Quincy
Stringoptional
Audioaudio

An audio file to accompany the quote.

Example
BTD6 SelectQuincy05.ogg
Fileoptional

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