Template:Quote: Difference between revisions
Jump to navigation
Jump to search
code copied from minecraft wiki |
mNo edit summary |
||
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; font-style: italic">{{{1}}}</blockquote> |
Revision as of 00:39, 6 August 2020
Configuration
{{quote|QUOTE TEXT|AUTHOR|SUBJECT|IMAGE}}
Examples
{{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
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 |