模板:Ai npcs list

出自Terraria Wiki
跳至導覽 跳至搜尋
Template-info.svg 文檔 以下文檔來自Template:Ai npcs list/doc。(編輯 | 歷史

This template generates a list of all enemies, NPCs, and critters that follow a certain AI.

The result list is based on the cargo table, and will be output in an {{itemlist}}, with each NPC wrapped in an {{item}}. You can use {{options}} to affect properties of every {{item}}.

Usage

{{ ai npcs list | <AI name> | width = <width of the resulting itemlist> | add = <NPCs to add to the list> | remove = <NPCs to remove from the list> }}

All parameters are optional.

First unnamed parameter

Name of the AI. Defaults to the name of the page.

width

Use this parameter to specify the width of every {{item}} in the {{itemlist}}. Default is 12em.

add

Define a comma-separated list of NPCs here that will be integrated into the automatically generated list.

remove

Define a comma-separated list of NPCs here that will be clipped from the list.

Examples

Code Result
{{options/set|item|maxsize=100x100px|nolink=y}}
{{ai npcs list|Butterfly AI|width=15em|add=Moon Lord|remove=Butterfly}}
{{options/reset|item}}
  • 金蝴蝶金蝴蝶(電腦版、主機版、和移動版)
  • 地獄蝴蝶地獄蝴蝶(電腦版、主機版、和移動版)
  • 月亮領主月亮領主(電腦版、主機版、和移動版)
  • 七彩草蛉七彩草蛉(電腦版、主機版、和移動版)