Template:Quote: Difference between revisions

From Portals of Phereon Wiki
Content added Content deleted
gamepedia>Game widow
m (1 revision)
 
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|-
|-
{{ #if: {{{4|}}} | {{!}} {{ #if: {{{2|}}} | rowspan="2" {{!}} }} [[File:{{{4}}}|64px]] }}
{{ #if: {{{4|}}} | {{!}} {{ #if: {{{2|}}} | rowspan="2" {{!}} }} [[File:{{{4}}}|64px]] }}
| style="color: #ff9900; font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: top;" | “
| style="color: {{{color|blue}}}; font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: top;" | “
| ''{{{1}}}''
| ''{{{1}}}''
| style="color: #ff9900; font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom;" | „
| style="color: {{{color|blue}}}; font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom;" | „
{{#if: {{{2|}}} |
{{#if: {{{2|}}} |
{{!}}-
{{!}}-

Latest revision as of 17:55, 12 December 2020

[view | edit | purge]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.|[[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.

[view | edit | purge]The above documentation is transcluded fromTemplate:Quote/doc.