Template:Passive list: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (Maybe fix item background?)
(Add documentation template)
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
| gap = {{{gap|}}}
| gap = {{{gap|}}}
| block = true
| block = true
}}}}}}{{#if:{{{t|}}}|{{Tactician}}|}}{{#if:{{{honour|}}}|{{Honour}}|}}</dd></includeonly><noinclude>A version of [[Template:SAI]] that adds {{InfoBlob|<nowiki><dd></nowiki>}}-list around it.
}}}}}}{{#if:{{{t|}}}|{{Tactician}}|}}{{#if:{{{honour|}}}|{{Honour}}|}}</dd></includeonly><noinclude>{{documentation|content=
{{shortcut|PAS}}
A version of [[Template:SAI]] that adds {{InfoBlob|<nowiki><dd></nowiki>}}-list around it.


Useful for '''PAS'''-sive features on infoboxes.
Useful for '''PAS'''-sive features on infoboxes.
Line 39: Line 41:
{{PAS|Balance|Leather Armour +2|custom=Leather Armour PlusTwo Icon.png}}
{{PAS|Balance|Leather Armour +2|custom=Leather Armour PlusTwo Icon.png}}


[[Category:Templates]]
 
== See also ==
* {{t link|passive}}
* {{t link|passive inline}}
 
 
== Template data ==
 
<templatedata>
{
"params": {
"1": {
"label": "passive name",
"type": "string",
"required": true
},
"2": {
"label": "item",
"description": "specifies the item for which the icon should be pulled from",
"type": "string"
}
},
"format": "inline"
}
</templatedata>}}</noinclude>

Latest revision as of 21:18, 4 January 2024

Template documentation
Shortcut

A version of Template:SAI that adds <dd>-list around it.

Useful for PAS-sive features on infoboxes.

Example:

{{PAS|Opportunity Attack}}{{PAS|Fey Ancestry}}{{PAS|Evasion|t=1}}{{PAS|Darkvision (passive feature)|Darkvision|honour=1}}

Opportunity Attack Opportunity Attack
Fey Ancestry Fey Ancestry
Evasion EvasionTTactician
Darkvision DarkvisionHHonour
To specify an item that grants this passive and to use its icon, use: {{PAS|Defy Villainy|item=Jhannyl's Gloves}}
Defy Villainy
If you need a custom iconlink use: {{PAS|Balance|Leather Armour +2|custom=Leather Armour PlusTwo Icon.png}}
Balance Balance

See also


Template data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
passive name1

no description

Stringrequired
item2

specifies the item for which the icon should be pulled from

Stringoptional