Template:Quote: Difference between revisions

From Irony Wiki
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="nomobile">[[File:{{{image|{{{4}}}}}}|64px|link=]]</span>}}
{{#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

Documentation

Configuration

{{quote|QUOTE TEXT|AUTHOR|SUBJECT|IMAGE}}

Examples

{{quote|This is a quote.}} outputs:

This is a quote.

{{quote|This is a quote.|Your mom}} outputs:

This is a quote.

Your mom

{{quote|This is a quote.|Your mom|this template retard}} outputs:

This is a quote.

Your mom on This template retard

{{quote|This is a quote.|Your mom|this template retard|Trollface.svg}} outputs:

This is a quote.

Your mom on This template retard

Note: Images get resized to 64px.

Parameters

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

no description

Contentrequired
Author2

no description

Stringsuggested
Topic3

Will append "on (TOPIC)" to the end of the author

Stringoptional
Image4

Add an image to the left of the quote.

Example
Trollface.svg
Fileoptional