Editing Module:ItemData/docGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 11: | Line 11: | ||
*<code>get_prop|ITEM_NAME|PROPERTY</code> | *<code>get_prop|ITEM_NAME|PROPERTY</code> | ||
**Returns the value of one of the item's properties. Check the [[Data:ItemData.json|json file]] for item properties. | **Returns the value of one of the item's properties. Check the [[Data:ItemData.json|json file]] for item properties. | ||
**Automatically appends | **Automatically appends “%” to percentage-based properties and shows scaling templates (Boon/Ss) when applicable. | ||
*<code>get_codename|ITEM_NAME</code> | *<code>get_codename|ITEM_NAME</code> | ||
**Returns the item's codename in game files | **Returns the item's codename in game files | ||
| Line 18: | Line 18: | ||
*<code>get_headcount</code> | *<code>get_headcount</code> | ||
**Returns the number of items that are not disabled | **Returns the number of items that are not disabled | ||
==Example== | ==Example== | ||
| Line 49: | Line 43: | ||
<code>{{#invoke:ItemData|get_codename|Boundless Spirit}}</code> | <code>{{#invoke:ItemData|get_codename|Boundless Spirit}}</code> | ||