Template:Passive: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:
----
----


Usage:
{{Template demo
 
| style = list
<pre>
|<nowiki>{{Passive | Heightened Awareness }}</nowiki>
{{Passive | Heightened Awareness }}
|<nowiki>{{Passive | Arcane Battery }}</nowiki>
</pre>
|<nowiki>{{Passive | Unknown Passive }}</nowiki>
 
}}
Result:
 
{{Passive | Heightened Awareness }}
 
----
 
Usage:
 
<pre>
{{Passive | Arcane Battery }}
</pre>
 
Result:
 
{{Passive | Arcane Battery }}
 
----
 
Usage:
 
<pre>
{{Passive | Unknown Passive }}
</pre>
 
Result:
 
{{Passive | Unknown Passive }}


[[Category:Templates]]
[[Category:Templates]]

Revision as of 17:29, 20 August 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.


Markup
{{Passive | Heightened Awareness }}
Renders as
Heightened Awareness
Gain a +3 bonus to Initiative rolls and Advantage Icon.png Advantage on Perception checks.
Markup
{{Passive | Arcane Battery }}
Renders as
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.
Markup
{{Passive | Unknown Passive }}
Renders as
Unknown Passive

See also

  • {{Passive/Format}} - An internal template actually responsible for formatting this template.
  • {{Passive inline}} - Similar template that just displays the icon of the condition. For use in inline text.
  • {{Passive feature page}} - Page generating template responsible for adding a condition into the condition Cargo table so that it can be referenced by this template.
  • {{Passive minimal}} - Displays just the description field of the 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