Template:Blockquote: Difference between revisions
More actions
m remove <table> element and replace with <blockquote> |
m spacing |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly>{| style="border: 1px solid hsla(163, 100%, 26%, .5); border-radius:5px; padding:.5em; background: hsla(163, 100%, 26%, 0.2); margin-left: 1em; margin-top: 2px; font-size: 80%;" | ||
{{{ | |<b>{{{quote}}}</b> | ||
: {{#if:{{{ | |- | ||
|style="text-align:right"|{{#if: {{{name|}}}|—}} {{#if: {{{name}}}|<i>{{{name|}}}</i>}}{{#if:{{{source|}}}| {{small|[<b>[{{{source|}}} SOURCE]</b>]}}}} | |||
|}</includeonly><noinclude>{{documentation}} | |||
[[Category:Template]] | |||
[[Category:Block template]] | |||
[[Category:Formatting template]] | |||
</noinclude> | |||
Latest revision as of 21:12, 7 January 2025
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. |