Plantilla:GetProjectileInfo

De Terraria Wiki
Ir a la navegación Ir a la búsqueda
This template uses Lua.
This template uses Módulo:Projectileinfo, a script written in the Lua programming language. To learn more about Lua, see Terraria Wiki:Lua.
Template-info.svg Documentation The documentation below is transcluded from Plantilla:GetProjectileInfo/doc. (edit | history)

This template is used to dynamically display information about a projectile. It is based on Module:Projectileinfo, which takes its data directly from the source code.

{{projectileinfo}} is an alias for {{getProjectileInfo}}.

Usage

{{ projectileinfo | <ID of the projectile> | <specific stat> }}

Special: {{projectileinfo||count}} results in: 1022

First unnamed parameter

ID of the projectile.

Second unnamed parameter

Specific stat to be displayed. Can be any of the following, in addition to the stats displayed on Module:Projectileinfo:

  • name
  • image

Examples

Code Result
{{projectileinfo|87|name}} Green Fairy
{{projectileinfo|147|image}} Corrupt Spray.png
{{projectileinfo|1|arrow}} true
{{projectileinfo||count}} 1022