Template:Passive skill link/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Illviljan
mNo edit summary
>Illviljan
Line 71: Line 71:
! Stat text
! Stat text
|-
|-
{{passive skill link|int_id=54307|format=tablerow}}
{{passive skill link|q_where = passive_skills.int_id=54307|format=tablerow}}
|}
|}
</pre>
</pre>
Line 81: Line 81:
! Stat text
! Stat text
|-
|-
{{passive skill link|int_id=54307|format=tablerow}}
{{passive skill link|q_where = passive_skills.int_id=54307|format=tablerow}}
|}
|}
<includeonly>
<includeonly>

Revision as of 14:01, 4 April 2020

This subpage provides documentation for Template:Passive skill link.

Lua logo

This template uses the following modules:

Shortcut

Overview

This template creates links to passive skills based on performing an cargo query.

Only one result will be returned at a time and if more then one are found an error will be shown.

Parameters

Mutually-exclusive parameters

Parameter Value Description
name str Name of the passive skill
id str Id of the passive skill

Other parameters

Parameter Value Description Required
format str Can be any of the following
  • tablerow: returns the image and stat text for use in a wikitable (2 cells). Will not work with HTML tables.
  • nil: default behavior

Examples

Default

{{passive skill link|Acrobatics}}

yields: Acrobatics

tablerow

{| class="wikitable"
|-
! Name
! Stat text
|-
{{passive skill link|Acrobatics|format=tablerow}}
|}

yields:

Name Stat text
Acrobatics Modifiers to Chance to Suppress Spell Damage instead apply to Chance to Dodge Spell Hits at 50% of their value
Maximum Chance to Dodge Spell Hits is 75%

Integer Id

{| class="wikitable"
|-
! Name
! Stat text
|-
{{passive skill link|q_where = passive_skills.int_id=54307|format=tablerow}}
|}

yields:

Name Stat text
Acrobatics Modifiers to Chance to Suppress Spell Damage instead apply to Chance to Dodge Spell Hits at 50% of their value
Maximum Chance to Dodge Spell Hits is 75%