Template:Infobox creature/passives format: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Change the way specifying an item icon works.)
(Use more generic CSS classes.)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div class="bg3wiki-infobox-creature-passive">
<includeonly><div class="bg3wiki-pi-creature-detail">
<div class="bg3wiki-infobox-creature-passive-name">
<div class="bg3wiki-pi-creature-detail-title">
{{IconLink
{{IconLink
| block = yes
| block = yes
Line 17: Line 17:
   }}
   }}
| {{{_pageName}}}
| {{{_pageName}}}
| {{{name}}}
| '''{{{name}}}'''
}}
}}
</div>
</div>
<div class="bg3wiki-infobox-creature-passive-brief">
<div class="bg3wiki-pi-creature-detail-text">
{{{brief}}}
{{{brief}}}
</div>
</div>

Revision as of 22:01, 23 April 2024

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

Examples:

{{Infobox creature/passives format
| _pageName = Cull the Weak (Drider)
| name = Cull the Weak
| icon = Generic Physical Icon.webp
| brief = Deals +2d6 damage to targets below 50% HP.
}}

Deals +2d6 damage to targets below 50% HP.

{{Infobox creature/passives format
| _pageName = Ambusher (+1)
| name = Ambusher (+1)
| icon =
| item = Scale Mail +2
| brief = +1 to [[initiative]]
}}

Gain +1 to initiative rolls.