Template:Quote/doc: Difference between revisions

From Portals of Phereon Wiki
Content added Content deleted
No edit summary
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 20: Line 20:
{{Quote|This is a quote.|[[Main Page|Some guy]]|subject}}
{{Quote|This is a quote.|[[Main Page|Some guy]]|subject}}


<code><nowiki>{{Quote|This is a quote.|[[Main Page|Some guy]]|subject|Broom_icon.svg}}</nowiki></code> prints:
<code><nowiki>{{Quote|This is a quote.|[[Main Page|Some guy]]|subject|Broom icon.svg}}</nowiki></code> prints:


{{Quote|This is a quote.|[[Main Page|Some guy]]|subject|Cleanup.svg}}
{{Quote|This is a quote.|[[Main Page|Some guy]]|subject|Broom icon.svg}}


<code><nowiki>{{Quote|This is a quote.|color=black}}</nowiki></code> prints:
<code><nowiki>{{Quote|This is a quote.|color=black}}</nowiki></code> prints:

Latest revision as of 17:55, 12 December 2020

This is a documentation subpage for Template:Quote.
It contains usage information, categories and other content that is not part of the original template page.

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.|[[Main Page|Some guy]]|subject}} prints:

This is a quote.
~ Some guy on subject

{{Quote|This is a quote.|[[Main Page|Some guy]]|subject|Broom icon.svg}} prints:

This is a quote.
~ Some guy on subject

{{Quote|This is a quote.|color=black}} prints:

This is a quote.

Images are automatically scaled in width to 64px.