Template:Quote: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 3: Line 3:
{{#if:{{{image|{{{4|}}}}}}|{{!}}{{#if:{{{author|{{{2|}}}}}}|rowspan="2"{{!}}}}<span class="no-mobile">[[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; 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

Documentation

Configuration[edit source]

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

Examples[edit source]

{{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[edit source]

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