Template:Quote: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (Text replacement - "includeonly" to "onlyinclude")
m (Text replacement - "“" to """)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|-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]] }}
| style="color: #ff9900; font-size: 2.1em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: top;" |
| style="color: #ff9900; font-size: 2.1em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: top;" | "
| style="padding-top: 1.6em;" | ''{{{1}}}''
| style="padding-top: 1.6em;" | {{{1}}}
| style="color: #ff9900; font-size: 2.1em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom;" | „
| style="color: #ff9900; font-size: 2.1em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom;" | „
{{#if: {{{2|}}} |  
{{#if: {{{2|}}} |  
Line 12: Line 12:
|}</onlyinclude><noinclude>
|}</onlyinclude><noinclude>
{{doc}}
{{doc}}
[[Category:Formatting templates]]</noinclude>
[[Category:Formatting Templates]]</noinclude>

Latest revision as of 03:18, 27 June 2023

" {{{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.