Template:Item data/doc
Jump to navigation
Jump to search
- Retrieves item data from Module:Items/data.
- Description
- This template contains various independently retrievable item data items. This template is the interface for Module:Items/data.
- Syntax
{{Item data|<itemname>|<datatype>|<output>|<prepend>|<append>|<separator>|<t_name>|<index>}}
{{id|<itemname>|<datatype>|<output>|<prepend>|<append>|<separator>|<t_name>|<index>}}}
- Parameters
- 1/itemname - Required
- 2/datatype - Required
- 3/output - Required if datatype in {stats, effects, buildsinto, recommendedfor, recipe}, otherwise not needed
For use with output=custom
- prepend - Optional
- append - Optional
- separator - Optional
- index - Optional
For use with output=template
- t_name - Optional
- Example
{{id|Omen|benefit}} {{id|Omen|class}} {{id|Omen|recipe|custom|prepend=<<<|append=>>>|separator=-}} {{id|Honed Kris|buildsinto|custom|index=2}}
- ...yields:
Reduced Cooldowns
Assassin
<<<Honed Kris>>>-<<<Pendant>>>-<<<Rapid Rapier>>>
Mesmer