Ad placeholder

Template:Infobox creature/passives format: Difference between revisions

Jump to navigation Jump to search
Support specifying item icon.
No edit summary
(Support specifying item icon.)
Line 1: Line 1:
<includeonly><div class="bg3wiki-infobox-creature-passive">
<includeonly><div class="bg3wiki-infobox-creature-passive">
<div class="bg3wiki-infobox-creature-passive-name">
<div class="bg3wiki-infobox-creature-passive-name">
{{IconLink | block = yes | size = 25 | {{IfEmpty | {{{icon|}}} | Generic Buff Icon.webp }} | {{{_pageName}}} | {{{name}}} }}
{{IconLink
| block = yes
| size = 25
| {{IfEmpty | {{{icon|}}} | {{{item icon|}}} | Generic Buff Icon.webp }}
| {{{_pageName}}}
| {{{name}}}
}}
</div>
</div>
<div class="bg3wiki-infobox-creature-passive-brief">
<div class="bg3wiki-infobox-creature-passive-brief">
Line 9: Line 15:
Used to format passive features in the infobox. Meant to be invoked by [[Template:Infobox creature/passives query]].
Used to format passive features in the infobox. Meant to be invoked by [[Template:Infobox creature/passives query]].


Example:
Examples:


<pre>
<pre>
Line 25: Line 31:
| icon = Generic Physical Icon.webp
| icon = Generic Physical Icon.webp
| brief = Deals +2d6 damage to targets below 50% HP.
| brief = Deals +2d6 damage to targets below 50% HP.
}}
<pre>
{{Infobox creature/passives format
| _pageName = Ambusher (+1)
| name = Ambusher (+1)
| icon =
| item icon = Scale Mail PlusTwo Unfaded Icon.png
| brief = +1 to [[initiative]]
}}
</pre>
{{Infobox creature/passives format
| _pageName = Ambusher (+1)
| name = Ambusher (+1)
| icon =
| item icon = Scale Mail PlusTwo Unfaded Icon.png
| brief = Gain +1 to [[initiative]] rolls.
}}
}}
</noinclude>
</noinclude>

Navigation menu