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

結果為

顯示寶藏和礦石的位置