Template:Quote fancy: Difference between revisions
Jump to navigation
Jump to search
(Removed linebreaks that caused issues in the template output) |
(Use TemplateStyle for @media query) |
||
Line 1: | Line 1: | ||
<includeonly><div | <includeonly><templatestyles src="ImageQuote/style.css" /><div class="bg3wiki-image-quote"> | ||
"> | |||
<!-- Quote image --> | <!-- Quote image --> | ||
<span style=" | <span style=" |
Revision as of 06:51, 20 July 2024
Display a quote with an accompanying image which are vertically aligned with each other.
Examples
Markup
Page Template:ImageQuote/style.css has no content.
{{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.
“The operations of these huge steel juggernauts are powered by engines of churning hellfire.„
Markup
Page Template:ImageQuote/style.css has no content.
{{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.
“These levitating eyes transmit all that they see to the one who created them.„
— In-game racial description of Scrying Eyes
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 |
Height | height | The height of the image
| String | optional |