Template:ProjectileIdFromInternalName

From Terraria Wiki
Jump to navigation Jump to search
Template-info.svg Documentation The documentation below is transcluded from Template:ProjectileIdFromInternalName/doc. (edit | history)

This template returns the ID of a projectile based on its internal name.

Usage

{{ projectileIdFromInternalName | <internal projectile name> }}

First unnamed parameter

Internal name of the projectile. If it is empty or invalid, the template will return an empty string. Count is a special internal name which returns the greatest possible projectile ID plus 1.

Examples

Code Result
{{projectileIdFromInternalName|WoodenArrowFriendly}} 1
{{projectileIdFromInternalName|Count}} 1022

See also