Template:Passive skill link/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Kordloperdlo
m (→‎Examples: Added information on direct request through "Integer Id".)
>Illviljan
m (Reverted edits by Kordloperdlo (talk) to last revision by Illviljan)
Line 64: Line 64:
|}
|}


===Integer Id===
<pre>
{| class="wikitable"
|-
! Name
! Stat text
|-
{{passive skill link|q_where=int_id=54307|format=tablerow}}
|}
</pre>


yields:
{| class="wikitable"
|-
! Name
! Stat text
|-
{{passive skill link|q_where=int_id=54307|format=tablerow}}
|}
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

Revision as of 13:40, 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|name=Acrobatics|format=tablerow}}
|}

yields:

Module Error: id, passive_name, page or q_where must be specified
Name Stat text