Template:Description: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="font-size:{{#if:{{{size|}}}|{{{size}}}|130%}}; font-family:'Linux Libertine', serif; display: flex; flex-wrap: wrap;"> <div style="display: grid; align-items: top; opacity: 0.5;">left|24px|link= </div> <div style="display: grid; color:#6E6D6C; align-items: center; width: 340px;{{#if: {{{noitalics|}}}| | font-style: italic;}}">{{{1}}}</div></div></includeonly><noinclude> Insert a pre-formatted blockquote for an item,...")
 
No edit summary
Line 2: Line 2:
<div style="display: grid; align-items: top; opacity: 0.5;">[[File:Description Icon.png|left|24px|link=]]
<div style="display: grid; align-items: top; opacity: 0.5;">[[File:Description Icon.png|left|24px|link=]]
</div>
</div>
<div style="display: grid; color:#6E6D6C; align-items: center; width: 340px;{{#if: {{{noitalics|}}}| | font-style: italic;}}">{{{1}}}</div></div></includeonly><noinclude>
<div style="display: grid; color:#6E6D6C; align-items: center;{{#if: {{{noitalics|}}}| | font-style: italic;}}">{{{1}}}</div></div></includeonly><noinclude>
Insert a pre-formatted blockquote for an item, class, or feature description, or simply a prominent quote from an NPC.
Insert a pre-formatted blockquote for an item, class, or feature description, or simply a prominent quote from an NPC.



Revision as of 14:57, 28 August 2023

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

Usage Examples

Default usage:

{{Description|Your description goes here.}}

Result:

Description Icon.png
Your description goes here.

Optional size parameter for different description sizes:

{{Description|size=90%|Here is a smaller description.}}

Result:

Description Icon.png
Here is a smaller description.

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

{{Description|size=100%|noitalics=yes|<p>Here is a multi-paragraph description with italics removed.</p> <p>Useful for books and the like.</p> <p>This is used for Books in [[Template:MiscItemPage]]</p>}}

Result:

Description Icon.png

Here is a multi-paragraph description with italics removed.

Useful for books and the like.

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