Template:Quote: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (2 revisions imported)
m (Text replacement - "includeonly" to "onlyinclude")
Line 1: Line 1:
<includeonly>{| style="background:transparent"
<onlyinclude>{| style="background:transparent"
|-valign="top"
|-valign="top"
{{ #if: {{{4|}}} | {{!}} {{ #if: {{{2|}}} | style="padding-top: 1.6em;" rowspan="2" {{!}} }} [[File:{{{4}}}|64px]] }}
{{ #if: {{{4|}}} | {{!}} {{ #if: {{{2|}}} | style="padding-top: 1.6em;" rowspan="2" {{!}} }} [[File:{{{4}}}|64px]] }}
Line 10: Line 10:
{{!}} style="text-align: right;" {{!}} <small>~ '''{{{2}}}{{ #if: {{{3|}}} | &nbsp;on {{{3}}}}}'''</small>
{{!}} style="text-align: right;" {{!}} <small>~ '''{{{2}}}{{ #if: {{{3|}}} | &nbsp;on {{{3}}}}}'''</small>
{{!}} <!-- empty cell to prevent potential rendering issues --> }}
{{!}} <!-- empty cell to prevent potential rendering issues --> }}
|}</includeonly><noinclude>
|}</onlyinclude><noinclude>
{{doc}}
{{doc}}
[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 23:16, 3 February 2021

{{{1}}}
Template-info.png Documentation

This template is used to quote a person or source. The color of the quotes themselves should be changed to match the wiki skin color palette.

Usage

{{Quote|This is a quote.}} prints:

This is a quote.

{{Quote|This is a quote.|Author}} prints:

This is a quote.
~ Author

{{Quote|This is a quote.|Author|subject}} prints:

This is a quote.
~ Author on subject

{{Quote|This is a quote.|[[Mystery Dungeon Franchise Wiki|Some guy]]|subject}} prints:

This is a quote.
~ Some guy on subject

{{Quote|This is a quote.|[[Mystery Dungeon Franchise Wiki|Some guy]]|subject|Cleanup.svg}} prints:

Cleanup.svg This is a quote.
~ Some guy on subject

Images are automatically scaled in width to 64px.