Template:Passive: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#cargo_query: tables = passives
<includeonly>{{#cargo_query: tables = passives
| fields = _pageName = link, name, image, description, CONCAT({{{2|40}}})=size
| fields = _pageName = link, name, image, description, CONCAT({{{2|40}}})=size
| where = _pageName = "{{#replace: {{{1}}} | " | \" }}"
| where = _pageName = "{{#replace: {{{1}}} | " | \" }}" OR _pageName = "{{#replace: {{{1}}} | " | \" }} (passive feature)"
| format = template
| format = template
| limit = 1
| template = Passive/Format
| template = Passive/Format
| more results text =
| default = [[{{{1}}}]]{{Main namespace only|[[Category:Pages with unknown passives]]}}
| default = [[{{{1}}}]]{{Main namespace only|[[Category:Pages with unknown passives]]}}
| named args = yes
| named args = yes

Revision as of 22:28, 20 June 2024

Use this to display a passive feature on an equipment page. Examples follow.

This template just runs the Cargo query; see Template:Passive/Format for the formatting.


Usage:

{{Passive | Heightened Awareness }}

Result:


Heightened Awareness
Gain a +3 bonus to Initiative rolls and Advantage Icon.png Advantage on Perception checks.

Usage:

{{Passive | Arcane Battery }}

Result:


Arcane Battery
Alleviate the arcane burden of spellcasting with the power of this staff. The next spell you cast doesn't cost a spell slot.

Usage:

{{Passive | Unknown Passive }}

Result:

Unknown Passive

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
name1

The name of the passive feature page name

Stringrequired
size2

The size of the icon.

Default
40
Numberoptional