Template:Blockquote: Difference between revisions
More actions
documentation |
|||
| Line 3: | Line 3: | ||
|{{{quote}}}{{#if: {{{name|}}}|<br><br>—}} {{#if: {{{name}}}|<i>{{{name|}}}</i>}} | |{{{quote}}}{{#if: {{{name|}}}|<br><br>—}} {{#if: {{{name}}}|<i>{{{name|}}}</i>}} | ||
|- | |- | ||
|}</includeonly><noinclude>{{documentation}}</noinclude> | |}</includeonly><noinclude>{{documentation}} | ||
[[Category:Template]] | |||
[[Category:Block template]] | |||
[[Category:Formatting template]] | |||
</noinclude> | |||
Revision as of 19:04, 14 November 2024
Usage
Used to create neat block quotes in a standardized format for block quotes.
Parameters
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| quote | quote | The quote being provided to the reader. | Unknown | required |
| name | name | The name of the individual being quoted.
| Content | suggested |
Examples
This template has two parameters, the name of the individual ("name") and the text quoted ("quote"), and can be written as follows: {{blockquote|name=Destiny|quote=Whiplash is a 10/10 movie.}} This will provide a large, block style quote with the inputted information, displaying as:
| Whiplash is a 10/10 movie. — Destiny |
Template:Blockquote additionally has optional parameters, so, if you did not want to include a name on the quote, you could leave out the parameter "name" (you could also leave out "quote" but it wouldn't make much sense for this particular scenario), for example {{blockquote|quote=Whiplash is a 10/10 movie.}} will net:
| Whiplash is a 10/10 movie. |