Usage[]
- This template is used on item pages to display the additional bonuses an item grants based on its stats.
- Previous it uses Lua to calculate other bonuses such as magic resistance, status resistance etc.
- Now it just calculates the bonuses the item provides via attributes.
{{Item stats|<item name>}}
- For displaying item's stats and item name in other pages.
{{Item stats}}
- For displaying item's stats in its own page.
- Does not support items with multiple levels.
Example[]
Old Template[]
- This section is for archiving purposes in case attributes more unique bonuses.
- The Lua file is not removed and can be found in the link above.
- Old template:
<includeonly>{{#invoke:Item stats|result}}</includeonly>
{{Item stats|<item name>|Unique1=一根树枝|Unique2=是的,可以获得}}
- The
Unique1
andUnique2
parameters are optional.Unique1
modifies the 一个<item name> part.Unique2
modifies the 还可以获得 part.