Template:Blockquote: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{image| | <includeonly><center class="noexcerpt"> | ||
< | {| style="background: none;" | ||
|- | |||
{{#if:{{{image|{{{4|}}}}}}|{{!}}{{#if:{{{author|{{{2|}}}}}}|rowspan="2"{{!}}}}[[File:{{{image|{{{4}}}}}}|64px|link=]]}} | |||
| style="color: #C1A878; font-size: 3.3em; font-family: serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: top;" | “ | |||
| <blockquote style="margin: 0; font-style: italic">{{{1}}}</blockquote> | |||
| style="color: #C1A878; font-size: 3.3em; font-family: serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom;" | „ | |||
{{#if:{{{author|{{{2|}}}}}} | | |||
{{!}}- | |||
{{!}} <!-- empty cell --> | |||
{{!}} style="text-align: right;" {{!}} <small>— '''{{{author|{{{2}}}}}}{{#if:{{{topic|{{{3|}}}}}}|<nowiki /> on {{{topic|{{{3}}}}}}}}'''</small> | |||
{{!}} <!-- empty cell to prevent potential rendering issues --> }} | |||
|}</center></includeonly> | |||
<noinclude>[[Category:Templates]]{{documentation|content=Adds a blockquote. | |||
== Examples == | == Examples == |
Revision as of 18:10, 21 June 2024
Template documentation
Adds a blockquote.
Examples
- Wikitext
{{blockquote|This is a quote.}}
- Result
“ | This is a quote. |
„ |
- Wikitext
{{blockquote|This is a quote.|addquotes=1}}
- 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 with or without an author.|image=Book Tome Y Item Icon.png}}
- Result
“ | This is a quote. This example also has an image, and works with or without an author. |
„ |
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 |