Template:Blockquote: Difference between revisions
More actions
green text |
|||
| Line 1: | Line 1: | ||
<includeonly>{| class=wikitable style="border-left-width:5px;border-right-width:1px;border-top-width:1px;border-bottom-width:1px;border-color:hsla(163, 100%, 26%, 0.8);background:hsla(163, 100%, 26%, 0.2);margin-left:0px;margin-top:2px" | <includeonly>{| class=wikitable style="border-left-width: 5px; border-right-width: 1px; border-top-width: 1px; border-bottom-width:1px; border-color: hsla(163, 100%, 26%, 0.8); background: hsla(163, 100%, 26%, 0.2); margin-left:0px; margin-top: 2px; color: hsla(163, 100%, 26%, 0.8);" | ||
|- | |- | ||
|{{{quote}}}{{#if: {{{name|}}}|<br><br>—}} {{#if: {{{name}}}|<i>{{{name|}}}</i>}} | |<b>{{{quote}}}</b>{{#if: {{{name|}}}|<br><br>—}} {{#if: {{{name}}}|<i><b>{{{name|}}}</b></i>}} | ||
|- | |- | ||
|}</includeonly><noinclude>{{documentation}} | |}</includeonly><noinclude>{{documentation}} | ||
Revision as of 19:32, 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. |