Template:Item Effect/Documentation
Purpose
Used to create tables for documenting basic item in the Effect section on item pages, using both a header template and multiple row templates. Template:Item Effect/Header is placed at the top of the table, and the table must be closed by appending |} on the following line.
Usage
For fields that are not applicable to an iteration of the item, omit the parameter from the template. This will add an em dash in its place.
| Parameter | Description |
|---|---|
| 1 | The game for which the item data is for. |
| 2 | The name of the item. Note that in some cases it may differ from the in-game name, such as if there are two items with identical names in the same game. |
Code
{{Item Effect/Header}}
{{Item Effect|1|2}}
|}
Examples
{{Item Effect/Header}}
{{Item Effect|SMT1|Smoke Bomb}}
|}
| Game | Type | Effect | Target | Buy | Sell | Capacity | Usage | |
|---|---|---|---|---|---|---|---|---|
| In Battle | Outside | |||||||
| Shin Megami Tensei | Consumable | Party escapes from battle. | — | ¥400♄100 | ¥40♄10 | 99 | ✔ | ✘ |
Known Errors
A variety of errors or missing information can occur when using Item Effect.
Unsupported titles
Item Effect does not support any titles without a relevant item data module, as well as Shin Megami Tensei: Liberation Dx2. Attempting to use Item Effect with the former will produce a Lua error, while attempting to use Item Effect with Dx2 will produce garbage data.
Missing data
Any missing or improperly entered data from the item data table will be unavailable or potentially false when using Item Effect. To fix this, it is recommended to manually add such information to the item data table. For more information, view the guidelines on modules.