Template:Quote fancy
Display a fancily formatted quote with an (optional) accompanying image. This is a parent template used as a basis for other more specific quote templates. These are:
- {{Quote character}}: Display character quotes with automatic handling of the character portrait.
In addition, the following quote template displays a set of predefined quotes. They are intended for use on their specific pages only rather than general purpose templates.
- {{Quote ability}}: Display the quote corresponding to an ability (Strength, Dexterity, etc.).
- {{Quote background}}: Display the quote corresponding to a background.
- {{Quote class}}: Display the quote corresponding to a class/subclass.
- {{Quote deity}}: Display the quote corresponding to a deity.
- {{Quote race}}: Display the quote corresponding to a race, both playable and non-playable.
- {{Quote skill}}: Display a quote corresponding to a skill.
See also
Refer to {{Image frame}} for the template used to render the image.
This template has an associated stylesheet at Template:Quote fancy/style.css.
Examples
This is the default appearance for a quote with an image.
Markup{{Quote fancy
| quote = I am rare, you see. A singularity. As is my story.
| image = Portrait The Red Prince.webp
| link = The Red Prince
}}
Renders asThis example demonstrates some of the optional style parameters that can be adjusted.
Markup{{Quote fancy
| quote = I'm not a lady. I'm a Malady. And I'm here to help you.
| image = Portrait Malady.webp
| author = [[Malady]], introducing herself
| link = Malady
| height = 80
| font-size = 120%
| image-align = edge
}}
Renders asFor quotes of this style, see {{Quote class}}.
Markup{{Quote fancy
| quote = I used to be a slave. Now? I'm a nightmare.
| image = Portrait Sebille.webp
| image-position = left
| image-align = center
| height = 100
| font-size = 120%
| link = Sebille
}}
Renders asFor quotes of this style, see {{Quote character}}.
Markup{{Quote fancy
| quote = I'll not be lectured by a creature whose lifespan is a rounding error.
| image = Portrait Fane.webp
| link = Fane
| author = [[Fane]], displaying his usual charm
| height = 100
| font-size = 110%
| image-border-shape = diamond
| image-border-width = 2
| image-border-color = #d4af37
}}
Renders asOverride justify-content.
Markup{{Quote fancy
| quote = Source is not a gift. It is a curse. And I am the cure.
| image = Portrait Dallis, the Hammer.webp
| link = Dallis the Hammer
| justify = left
}}
Renders asTemplate data
Display a quote with an accompanying image which are aligned with each other
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Quote | quote | The quote | String | required |
| Image | image | Add an image to go along with the quote.
| File | suggested |
| Link | link | Clicking the image will link to the specified page instead of the image file.
| Page name | suggested |
| Author | author | The author or context of the quote | String | optional |
| Font size | font-size | Size of the font used for the quote.
| String | optional |
| Image alignment | image-align | How to align the image with the quote. Either centered along with the quote (default) or kept at the edge.
| String | optional |
| Image position | image-position | Position of the image relative to the quote.
| String | optional |
| Image border width | image-border-width | Width in pixels of the border around the image. Set to 0 to completely disable this.
| Number | optional |
| Image border shape | image-border-shape | Shape of the border frame which crops the image. This can be an arbitrary CSS clip-path or a predefined value. Refer to [[Template:Image frame]] for details. The default value of basic disables this.
| String | optional |
| Image border color | image-border-color | Color of the image border. This can be a CSS color descriptor.
| String | optional |
| Height | height | The height of the image in pixels.
| String | optional |
| Width | width | The width of the image in pixels. Defaults to 0.8 * Height.
| String | optional |
| Justify | justify | Override justify (default is either space-between or center, depending on image position). | Unknown | optional |