Template:Passive skill link/doc: Difference between revisions
Jump to navigation
Jump to search
>Illviljan mNo edit summary |
>Illviljan m (→Integer Id) |
||
| 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.
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
|
Examples
Default
{{passive skill link|Acrobatics}}
yields: Module Error: No passives found with q_where = passive_skills.name="Acrobatics"
tablerow
{| class="wikitable"
|-
! Name
! Stat text
|-
{{passive skill link|Acrobatics|format=tablerow}}
|}
yields:
Module Error: No passives found with q_where = passive_skills.name="Acrobatics"| Name | Stat text |
|---|
Integer Id
{| class="wikitable"
|-
! Name
! Stat text
|-
{{passive skill link|q_where = passive_skills.int_id=54307|format=tablerow}}
|}
yields:
Module Error: No passives found with q_where = passive_skills.int_id=54307| Name | Stat text |
|---|