模板: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