Template:Passive skill link/doc: Difference between revisions
Jump to navigation
Jump to search
m (13 revisions imported) |
Mefisto1029 (talk | contribs) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 72: | Line 72: | ||
==Examples== | ==Examples== | ||
===Default=== | ===Default=== | ||
<pre>{{passive skill link| | <pre>{{passive skill link|Bulwark}}</pre> | ||
yields: | yields: | ||
{{passive skill link| | {{passive skill link|Bulwark}} | ||
===tablerow=== | ===tablerow=== | ||
| Line 83: | Line 83: | ||
! Stat text | ! Stat text | ||
|- | |- | ||
{{passive skill link| | {{passive skill link|Bulwark|format=tablerow}} | ||
|} | |} | ||
</pre> | </pre> | ||
| Line 92: | Line 92: | ||
! Stat text | ! Stat text | ||
|- | |- | ||
{{passive skill link| | {{passive skill link|Bulwark|format=tablerow}} | ||
|} | |} | ||
| Line 102: | Line 102: | ||
! Stat text | ! Stat text | ||
|- | |- | ||
{{passive skill link|q_where = passive_skills.int_id= | {{passive skill link|q_where = passive_skills.int_id=56605|format=tablerow}} | ||
|} | |} | ||
</pre> | </pre> | ||
| Line 112: | Line 112: | ||
! Stat text | ! Stat text | ||
|- | |- | ||
{{passive skill link|q_where = passive_skills.int_id= | {{passive skill link|q_where = passive_skills.int_id=56605|format=tablerow}} | ||
|} | |} | ||
| Line 119: | Line 119: | ||
[[Category:Query templates]] | [[Category:Query templates]] | ||
[[Category:Passive templates]] | [[Category:Passive templates]] | ||
{{Sister|poewiki}} | |||
}} | }} | ||
Latest revision as of 10:11, 22 December 2025
This subpage provides documentation for Template:Passive skill link.
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
Passive skill selection
One of these is required. Do not specify more than one.
| Parameter | Value | Description |
|---|---|---|
| id | str | Id of the passive skill |
| passive_name | str | Name of the passive skill |
| page | str | Name of the wiki page to link against |
| q_where | str | Id of the passive skill |
Output overrides
All of these are optional and can be used to customize the passive skill link.
| Parameter | Value | Description |
|---|---|---|
| name | str | This parameter can be used to specify different link text than the passive skill name. This should be used mainly for grammatical purposes. If the link text is significantly different to the passive skill name, consider using a normal wikilink instead of this template. |
| large | boolean | If set to true, instead of the small icon in front of the name, a large inventory icon will be shown below the passive skill (suitable for tables). |
| format | str | Can be any of the following
|
| skip_query | boolean | Skip querying for the passive skill. |
| icon | str | File to use for the inline icon link. |
| html | str | HTML to use for the infobox.
May also be used to hide the infobox entirely. |
Examples
Default
{{passive skill link|Bulwark}}
yields:
Bulwark
tablerow
{| class="wikitable"
|-
! Name
! Stat text
|-
{{passive skill link|Bulwark|format=tablerow}}
|}
yields:
| Name | Stat text |
|---|---|
| Dodge Roll cannot Avoid Damage Take 30% less Damage from Hits while Dodge Rolling |
Integer Id
{| class="wikitable"
|-
! Name
! Stat text
|-
{{passive skill link|q_where = passive_skills.int_id=56605|format=tablerow}}
|}
yields:
| Name | Stat text |
|---|---|
| Dodge Roll cannot Avoid Damage Take 30% less Damage from Hits while Dodge Rolling |