Template:Tcext

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


扩展版本的{{Tc}}。

用法: {{Tcext|type|text}}

第一参数 type 指明所属扩展分类(小写。)有效的值:

  • tooltip = 各种提示信息
  • buff = buff/debuff的描述(buff/debuff tooltip)
  • AI 或 ai = AI 类型
  • achievement = 成就描述
  • quote = NPC对话内容
  • msg = status message (此时信息最后的 .. 会被截掉之后进行匹配,例如 so good... 会被视为 so good 进行匹配,以此来解决各处调用最后的.数量经常不对的问题)
  • bouns|setbouns = 奖励/套装奖励
  • misc = 其他(未实现)

第二参数是实际需要翻译的文本。(不区分大小写)

如果第一参数指定的type无效就尝试用Tc翻译。

例如:

{{Tcext|tooltip|Shows the location of treasure and ore}}

结果为

显示宝藏和矿石的位置