Template:Quote: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(add noitalics parameter)
(Undo revision 133141 by Willowisp (talk))
Tag: Undo
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:


== Usage Examples ==
== Usage Examples ==
Default usage:
Default usage:


<pre><nowiki>{{Quote|Your quote goes here.}}</nowiki></pre>
<pre>{{Quote|Your quote goes here.}}</pre>


Result:
Result:
Line 14: Line 15:
Optional {{C|size}} parameter for different quote sizes:
Optional {{C|size}} parameter for different quote sizes:


<pre><nowiki>{{Quote|size=90%|Here is a smaller quote.}}</nowiki></pre>
<pre>{{Quote|size=90%|Here is a smaller quote.}}</pre>


Result:
Result:
Line 20: Line 21:


----
----
Optional {{C|noitalics}} parameter for longer quotes, such as the text found in books:
Optional {{C|noitalics}} parameter for longer quotes, such as the text found in books:


<pre><nowiki>{{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></nowiki>}}</pre>
<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>


Result:
Result:
{{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>}}
{{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>}}
 
[[Category:Templates]]
[[Category:Weapon Page Templates]]
[[Category:Quotation templates]]
</noinclude>
</noinclude>

Latest revision as of 18:48, 22 June 2024

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.

Optional noitalics parameter for longer quotes, such as the text found in books:

{{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>}}

Result:

Here is a multi-paragraph quote with italics removed.

Useful for books and the like.

This version of the template is automatically applied for Books in Template:MiscItemPage.