Template:Blockquote: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(New demo template)
 
Line 15: Line 15:


== Examples ==
== Examples ==
; Wikitext
{{Template demo
<pre>
| style = list
{{blockquote|This is a quote.}}
| <nowiki>{{blockquote|This is a quote.}}</nowiki>
</pre>
| <nowiki>{{blockquote|This is a quote.|Author}}</nowiki>
 
| <nowiki>
; Result
{{blockquote
{{blockquote|This is a quote.}}
| This is a quote. This example also has an image, and works with or without an author.
 
| image=Book Tome Y Item Icon.png
 
}}</nowiki>
; Wikitext
}}
<pre>
{{blockquote|This is a quote.|Author}}
</pre>
 
; Result
{{blockquote|This is a quote.|Author}}
 
; Wikitext
<pre>
{{blockquote|This is a quote. This example also has an image, and works with or without an author.|image=Book Tome Y Item Icon.png}}
</pre>
 
; Result
{{blockquote|This is a quote. This example also has an image, and works with or without an author.|image=Book Tome Y Item Icon.png}}


[[Category: Templates]]
[[Category: Templates]]

Latest revision as of 23:01, 19 July 2024

Template documentation

Adds a blockquote.

Examples

Markup
{{blockquote|This is a quote.}}
Renders as
This is a quote.
Markup
{{blockquote|This is a quote.|Author}}
Renders as
This is a quote.
Author
Markup
{{blockquote
| This is a quote. This example also has an image, and works with or without an author.
| image=Book Tome Y Item Icon.png
}}
Renders as
Book Tome Y Item Icon.png
This is a quote. This example also has an image, and works with or without an author.

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
Quote1

The quote

Unknownrequired
Imageimage 4

Add an image to go along with the quote.

Example
Book.png
Unknownoptional
HTML Stylestyle

Add custom styling.

Unknownoptional
Authorauthor 2

Citation

Unknownoptional
Refref 3

Adds a reference tag

Unknownoptional
Alignmentalign

Left, center or right.

Unknownoptional