Template:Quote: Difference between revisions
Jump to navigation
Jump to search
code copied from minecraft wiki |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{| | ||
|- | |- | ||
{{#if:{{{image|{{{4|}}}}}}|{{!}}{{#if:{{{author|{{{2|}}}}}}|rowspan="2"{{!}}}}<span class=" | {{#if:{{{image|{{{4|}}}}}}|{{!}}{{#if:{{{author|{{{2|}}}}}}|rowspan="2"{{!}}}}<span class="no-mobile">[[File:{{{image|{{{4}}}}}}|64px|link=]]</span>}} | ||
| style="color: #b2b7f2; font-size: 3.3em; font-family: serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: top;" | “ | | style="color: #b2b7f2; 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> | | <blockquote style="margin: 0; padding:0; border: none; font-style: italic;">{{{1}}}</blockquote> | ||
| style="color: #b2b7f2; font-size: 3.3em; font-family: serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom;" | „ | | style="color: #b2b7f2; font-size: 3.3em; font-family: serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom;" | „ | ||
{{#if:{{{author|{{{2|}}}}}} | | {{#if:{{{author|{{{2|}}}}}} | |
Latest revision as of 07:57, 1 September 2021
Configuration[edit source]
{{quote|QUOTE TEXT|AUTHOR|SUBJECT|IMAGE}}
Examples[edit source]
{{quote|This is a quote.}}
outputs:
“ |
|
„ |
{{quote|This is a quote.|Your mom}}
outputs:
“ |
|
„ |
— Your mom |
{{quote|This is a quote.|Your mom|this template retard}}
outputs:
“ |
|
„ |
— Your mom on This template retard |
{{quote|This is a quote.|Your mom|this template retard|Trollface.svg}}
outputs:
“ |
|
„ | |
— Your mom on This template retard |
Note: Images get resized to 64px.
Parameters[edit source]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | no description | Content | required |
Author | 2 | no description | String | suggested |
Topic | 3 | Will append "on (TOPIC)" to the end of the author | String | optional |
Image | 4 | Add an image to the left of the quote.
| File | optional |