注意:游戏新版本刚刚发布,本 wiki 内容进度严重滞后,页面上的内容几乎肯定存在遗漏、错误,请谨慎采信。
Terraria Wiki:项目/1.4.5 获取 wiki 状态与更新指南

Template:MountIdFromName

来自Terraria Wiki
跳转到导航 跳转到搜索
Important.svg
CAUTION: Terraria Wiki code is complex!!!
If you want to use this code on another wiki, wiki.gg staff are not able to assist you.
Please consider picking a different wiki to adapt code from, or making your own templates!
Remember that content on a wiki is more important than fancy formatting.
Template-info.svg 文档 以下文档来自Template:MountIdFromName/doc。(编辑 | 历史

This template returns the Mount ID of a mount based on its name.

Usage

{{ mountIdFromName | <mount name> }}

First unnamed parameter

Name of the mount.

Examples

Code Result
{{mountIdFromName|Unicorn Mount}} 10
{{mountIdFromName|Beetle Minecart}} 32
{{mountIdFromName|nonexistent mount name}}