Template:Quote fancy: Difference between revisions
Jump to navigation
Jump to search
(Added image position parameter) |
(Linked stylesheet) |
||
Line 21: | Line 21: | ||
{{#if:{{{author|}}}|<div class="bg3wiki-image-quote-author>— {{{author|}}}</div>}} | {{#if:{{{author|}}}|<div class="bg3wiki-image-quote-author>— {{{author|}}}</div>}} | ||
</div> | </div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude>{{documentation|content= | ||
Display a quote with an accompanying image which are vertically aligned with each other. | Display a quote with an accompanying image which are vertically aligned with each other. | ||
This template has an associated stylesheet at [[Template:ImageQuote/style.css]]. | |||
== Examples == | == Examples == | ||
Line 120: | Line 122: | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata>}} | ||
[[Category: Templates]] | [[Category: Templates]] | ||
[[Category: Quotation templates]] | [[Category: Quotation templates]] | ||
</noinclude> | </noinclude> |
Revision as of 08:34, 20 July 2024
Template documentation
Display a quote with an accompanying image which are vertically aligned with each other.
This template has an associated stylesheet at Template:ImageQuote/style.css.
Examples
Markup
{{ImageQuote | quote = The operations of these huge steel juggernauts are powered by engines of churning hellfire. | image = Portrait Steel Watcher.png | link = Adamantine Golem }}Renders as
Page Template:ImageQuote/style.css has no content.
Markup
{{ImageQuote | quote = These levitating eyes transmit all that they see to the one who created them. | image = Portrait Scrying Eye.png | author = In-game racial description of [[Scrying Eye]]s | link = Scrying Eye | height = 60px | rounding = 20% | font-size = 120% | align = center }}Renders as
Page Template:ImageQuote/style.css has no content.
Markup
{{ImageQuote | quote = The strong embrace the wild that hides inside - keen instincts, primal physicality, and most of all, an unbridled, unquenchable rage. | image = Class Barbarian Badge Icon.png | image-position = right | height = 160px | font-size = 120% | link = Barbarian | align = center }}Renders as
Page Template:ImageQuote/style.css has no content.
Template 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 | optional |
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 |
Rounding | rounding | The amount of rounding applied to the image.
| String | optional |
Alignment | align | Horizontal alignment of the quote
| String | optional |
Image position | image-position | Position of the image relative to the quote
| String | optional |
Height | height | The height of the image
| String | optional |