Template:Quote: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><blockquote style="font-size:{{#if:{{{size|}}}|{{{size}}}|130%}}; font-family:Georgia;">{{#if: {{{noitalics|}}}| |''}} {{{1}}} {{#if: {{{noitalics|}}}| |''}}</blockquote></includeonly><noinclude>
<includeonly><blockquote class="bg3wiki.bquote" style="font-size:{{#if:{{{size|}}}|{{{size}}}|130%}}; font-family:Georgia;">{{{1|}}}</blockquote></includeonly><noinclude>
Insert a pre-formatted blockquote for an item, class, or feature description, or simply a prominent quote from an NPC.
{{documentation|content=Insert a pre-formatted blockquote for an item, class, or feature description, or simply a prominent quote from an NPC.


== Usage Examples ==
== Usage Examples ==
Line 20: Line 20:
{{Quote|size=90%|Here is a smaller quote.}}
{{Quote|size=90%|Here is a smaller quote.}}


----
[[Category: Templates]]
 
[[Category: Quotation templates]]
Optional {{C|noitalics}} parameter for longer quotes, such as the text found in books:
<templatedata>
 
{
<pre>{{Quote|size=100%|noitalics=yes|<p>Here is a multi-paragraph quote with italics removed.</p> <p>Useful for books and the like.</p> <p>This is used for Books in [[Template:MiscItemPage]]</p>}}</pre>
"params": {
 
"1": {
Result:
"label": "Quote",
{{Quote|size=100%|noitalics=yes|<p>Here is a multi-paragraph quote with italics removed.</p> <p>Useful for books and the like.</p> <p>This version of the template is automatically applied for [[Books]] in [[Template:MiscItemPage]].</p>}}
"required": true
[[Category:Templates]]
},
[[Category:Quotation templates]]
"size": {}
}
}
</templatedata>}}
</noinclude>
</noinclude>

Latest revision as of 01:22, 24 December 2023

Template documentation

Insert a pre-formatted blockquote for an item, class, or feature description, or simply a prominent quote from an NPC.

Usage Examples

Default usage:

{{Quote|Your quote goes here.}}

Result:

Your quote goes here.

Optional size parameter for different quote sizes:

{{Quote|size=90%|Here is a smaller quote.}}

Result:

Here is a smaller quote.

No description.

Template parameters

ParameterDescriptionTypeStatus
Quote1

no description

Unknownrequired
sizesize

no description

Unknownoptional