Template:Infobox creature/conditions format: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Make the name bold.)
(Use more generic CSS classes.)
Line 1: Line 1:
<includeonly><div class="bg3wiki-infobox-creature-condition">
<includeonly><div class="bg3wiki-pi-creature-detail">
<div class="bg3wiki-infobox-creature-condition-name">
<div class="bg3wiki-pi-creature-detail-title">
{{IconLink | block = yes | size = 25 | {{IfEmpty | {{{icon|}}} | Generic Buff Icon.webp }} | {{{_pageName}}} | '''{{{name}}}''' }}
{{IconLink | block = yes | size = 25 | {{IfEmpty | {{{icon|}}} | Generic Buff Icon.webp }} | {{{_pageName}}} | '''{{{name}}}''' }}
</div>
</div>
<div class="bg3wiki-infobox-creature-condition-brief">
<div class="bg3wiki-pi-creature-detail-text">
{{{brief}}}
{{{brief}}}
</div>
</div>

Revision as of 22:01, 23 April 2024

Used to format conditions in the infobox. Meant to be invoked by Template:Infobox creature/conditions query.

Example:

{{Infobox creature/conditions format
| _pageName = Aura of Protection (Condition)
| name = Aura of Protection
| icon = Aura of Protection Condition Icon.webp
| brief = You and any nearby allies gain +[[Ability Score Modifier|Charisma modifier]] to [[saving throw]]s.
}}

You and any nearby allies gain +Charisma modifier to saving throws.