User:Lavaeolus/Sandbox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Replaced content with "{{subst:Approval|Wyll|+1}}")
Tag: Replaced
Line 1: Line 1:
<includeonly><div style="font-size:{{#if:{{{size|}}}|{{{size}}}|130%}}; font-family:'Linux Libertine', serif; width:100%;">
{{IconLink|Portrait Wyll.png|Wyll|(+1)|size=24}}
<div style="float: left; opacity: 0.5; margin: 5px; width: 30px;">{{SmallIcon|Description Icon.png}}</div>
<span style="float: left; color:#6E6D6C; {{#if: {{{noitalics|}}}| | font-style: italic;}}">{{{1}}}</span>
{{clear}}</div></includeonly><noinclude>
 
Insert a pre-formatted blockquote for an item, class, or feature description, or simply a prominent quote from an NPC.
 
== Usage Examples ==
 
Default usage:
 
<pre>{{Description|Your description goes here.}}</pre>
 
Result:
{{User:Lavaeolus/Sandbox|Your description goes here.}}
 
----
 
Optional {{C|size}} parameter for different description sizes:
 
<pre>{{Description|size=90%|Here is a smaller description.}}</pre>
 
Result:
{{User:Lavaeolus/Sandbox|size=90%|Here is a smaller description.}}
 
----
 
Optional {{C|noitalics}} parameter for longer descriptions, such as the text found in books:
 
<pre>{{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>}}</pre>
 
Result:
{{User:Lavaeolus/Sandbox|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 version of the template is automatically applied for [[Books]] in [[Template:MiscItemPage]].</p>}}
 
</noinclude>

Revision as of 22:16, 31 August 2023

(+1) (+1)