Template:Quest reward/doc: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 (Created page with "{{documentation subpage}} {{lua|Module:Quest reward}} ==Overview== Cargo replacement for quest rewards. ==Parameters== {| class="wikitable sortable" ! Parameter ! Value ! D...") |
>Illviljan m (→Overview) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
{{ | |||
{{Lua|Module:Quest reward}} | |||
==Overview== | ==Overview== | ||
Creates cargo tables for [[quest rewards]]. The data is stored in each item, see [[template:Item#Quest_rewards]] for more information. | |||
==Parameters== | ==Parameters== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! Parameter | ! Parameter | ||
! | ! Type | ||
! Required | |||
! Description | ! Description | ||
! Default | |||
|- | |- | ||
| type | |||
| vendor_rewards<br> | |||
quest_rewards<br> | |||
| {{yes}} | |||
| Type of reward table to fetch/build | |||
| {{n/a}} | |||
|- | |||
| no_html | |||
| bool | |||
| {{no}} | |||
| Don't use HTML item links, only images/names | |||
| false | |||
|- | |||
| item_link | |||
| bool | |||
| {{no}} | |||
| Use item links. | |||
If disabled, do not use any item link logic and only display a link to the page. | |||
| true | |||
|- | |||
|q_where | |||
| str | |||
| {{no}} | |||
| cargo where clause | |||
| {{n/a}} | |||
|} | |} | ||
==Cargo== | ==Cargo== | ||
* [[Template:Quest reward/cargo/quest_rewards]] | * [[Template:Quest reward/cargo/quest_rewards]] | ||
* [[Template:Quest reward/cargo/vendor_rewards]] | * [[Template:Quest reward/cargo/vendor_rewards]] | ||
< | {{Documentation categories| | ||
<!-- Categories and interwikis go here. --> | |||
[[Category:Query templates]] | [[Category:Query templates]] | ||
}} |
Latest revision as of 21:57, 19 May 2021
This subpage provides documentation for Template:Quest reward.
Overview
Creates cargo tables for quest rewards. The data is stored in each item, see template:Item#Quest_rewards for more information.
Parameters
Parameter | Type | Required | Description | Default |
---|---|---|---|---|
type | vendor_rewards quest_rewards |
✓
|
Type of reward table to fetch/build | N/A |
no_html | bool | ✗
|
Don't use HTML item links, only images/names | false |
item_link | bool | ✗
|
Use item links.
If disabled, do not use any item link logic and only display a link to the page. |
true |
q_where | str | ✗
|
cargo where clause | N/A |
Cargo