Template:Passive skill link/doc: Difference between revisions
Jump to navigation
Jump to search
>Illviljan m (Reverted edits by Kordloperdlo (talk) to last revision by Illviljan) |
>Illviljan m (Reverted edits by Illviljan (talk) to last revision by Kordloperdlo) |
||
| 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.
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|name=Acrobatics|format=tablerow}}
|}
yields:
Module Error: id, passive_name, page or q_where must be specified| Name | Stat text |
|---|
Integer Id
{| class="wikitable"
|-
! Name
! Stat text
|-
{{passive skill link|q_where=int_id=54307|format=tablerow}}
|}
yields:
Module Error: No passives found with q_where = int_id=54307| Name | Stat text |
|---|