Template:Blockquote: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{image|}}} {{{4|}}} | <div class="nomobile noexcerpt" style="display: flex; align-items: center;">}}<blockquote class="bg3wiki-bquote" {{#if: {{{style|}}} {{{align|}}}|style="{{{style|text-align:{{{align}}};}}}"}}><span class="bg3wiki-blockquote-marks" style="vertical-align: top;"> “ </span>{{{1|Error! Must include quote!}}}<span class="bg3wiki-blockquote-marks" style="vertical-align: bottom;"> „ </span>{{#if: {{{author|}}} {{{2 | <includeonly>{{#if: {{{image|}}} {{{4|}}} | <div class="nomobile noexcerpt" style="display: flex; align-items: center;">}}<blockquote class="bg3wiki-bquote" {{#if: {{{style|}}} {{{align|}}}|style="{{{style|text-align:{{{align}}};}}}"}}><span class="bg3wiki-blockquote-marks" style="vertical-align: top;"> “ </span>{{{1|Error! Must include quote!}}}<span class="bg3wiki-blockquote-marks" style="vertical-align: bottom;"> „ </span>{{#if: {{{author|}}} {{{2|}}}| <div class="bg3wiki-quotesource">— <cite>{{{author|{{{2}}}}}} {{#if: {{{ref|}}} {{{3|}}} | {{ref|{{{ref|{{{3}}}}}}}}}}</cite></div>}}</blockquote>{{#if: {{{image|}}} {{{4|}}} | | ||
<div style="margin-right: 60px;">[[File:{{{image|{{{4}}}}}}|64px]]</div> | <div style="margin-right: 60px;">[[File:{{{image|{{{4}}}}}}|64px]]</div> | ||
</div>}}</includeonly><noinclude>{{documentation|content=Adds a blockquote. | </div>}}</includeonly><noinclude>{{documentation|content=Adds a blockquote. |
Revision as of 23:14, 23 December 2023
Template documentation
Adds a blockquote.
Examples
- Wikitext
{{blockquote|This is a quote.}}
- Result
“ This is a quote. „
- Wikitext
{{blockquote|''This is a quote.''|align=center}}
- Result
“ This is a quote. „
- Wikitext
{{blockquote|This is a quote.|Perry}}
- Result
“ This is a quote. „— Perry
- Wikitext
{{blockquote|This is a quote. This example also has an image, and works best without an author.|image=Book Tome Y Item Icon.png}}
- Result
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quote | 1 | The quote | Unknown | required |
Image | image 4 | Add an image to go along with the quote.
| Unknown | optional |
HTML Style | style | Add custom styling. | Unknown | optional |
Author | author 2 | Citation | Unknown | optional |
Ref | ref 3 | Adds a reference tag | Unknown | optional |
Alignment | align | Left, center or right. | Unknown | optional |