Template:GetProjectileInfo

来自Terraria Wiki
跳到导航 跳到搜索
此模板使用了 Lua。
此模板使用了用 Lua 编程语言编写的 模块:Projectileinfo。要了解 Lua 的更多信息,参见 en:Terraria Wiki:Lua
Template-info.svg 文档 以下文档来自Template:GetProjectileInfo/doc。(编辑 | 历史

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}} 绿仙灵
{{projectileinfo|147|image}} Corrupt Spray.png
{{projectileinfo|1|arrow}} true
{{projectileinfo||count}} 1022