Template:Ai npcs list/doc

来自Terraria Wiki
跳到导航 跳到搜索

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}}
  • 金蝴蝶金蝴蝶(电脑版、主机版、和移动版)
  • 地狱蝴蝶地狱蝴蝶(电脑版、主机版、和移动版)
  • 月亮领主月亮领主(电脑版、主机版、和移动版)
  • 七彩草蛉七彩草蛉(电脑版、主机版、和移动版)