Template:Quote/doc: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (2 revisions imported)
m (Text replacement - "\[\[Main Page\|(.*)\]\]" to "$1")
Line 16: Line 16:
{{Quote|This is a quote.|Author|subject}}
{{Quote|This is a quote.|Author|subject}}


<code><nowiki>{{Quote|This is a quote.|[[Main Page|Some guy]]|subject}}</nowiki></code> prints:
<code><nowiki>{{Quote|This is a quote.|[[Mystery Dungeon Franchise Wiki|Some guy]]|subject}}</nowiki></code> prints:


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


<code><nowiki>{{Quote|This is a quote.|[[Main Page|Some guy]]|subject|Cleanup.svg}}</nowiki></code> prints:
<code><nowiki>{{Quote|This is a quote.|[[Mystery Dungeon Franchise Wiki|Some guy]]|subject|Cleanup.svg}}</nowiki></code> prints:


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


Images are automatically scaled in width to 64px.
Images are automatically scaled in width to 64px.
{{doc/end}}
{{doc/end}}

Revision as of 14:44, 10 August 2021

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.