Template:Item

From Arknights Terra Wiki
Jump to navigation Jump to search
Template documentation
Portions of the template sample may not be visible without values provided.
[View][Edit][History][Refresh]

This template is used to display the link to an item and includes a short preview of the item in form of a tooltip showing the item's information, using {{Item data}} as the database.

Note that the tooltip does not work on mobile.

Usage

Simply add {{Item}} or {{I}}.

Syntax

Variable Parameters
{{{1}}} The item's name.
{{{2}}} The item's quantity, which will be displayed after the name as "×[quantity]".
gridview Set this to "false" to change the display into a small image of the item preceding the link with the quantity (if assigned) preceding the image.
rate Set this to the following unless when gridview is set to "false" to show the item's drop rate for use with operation info templates:
  • 0: 3-Star
  • 1: Guaranteed
  • 2: Common
  • 3: Uncommon
  • 4: Rare
  • 5: Very Rare

Examples

Input Output
{{Item|Caster Chip}}
OR
{{I|Caster Chip}}
Caster Chip
{{Item|Caster Chip|20}}
OR
{{I|Caster Chip|20}}
Caster Chip
20
{{Item|Caster Chip|rate=2}}
OR
{{I|Caster Chip|rate=2}}
Common
Caster Chip
{{Item|Caster Chip|gridview=false}}
OR
{{I|Caster Chip|gridview=false}}
Caster Chip.png Caster Chip
{{Item|Caster Chip|20|gridview=false}}
OR
{{I|Caster Chip|20|gridview=false}}
20 Caster Chip.png Caster Chip