Template:Passive skill link/doc: Difference between revisions
Jump to navigation
Jump to search
>Illviljan m (→Examples) |
>Kordloperdlo m (→Examples: Added information on direct request through "Integer Id".) |
||
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 21:33, 12 February 2019
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: 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 specifiedName | Stat text |
---|
Integer Id
{| class="wikitable" |- ! Name ! Stat text |- {{passive skill link|q_where=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% |