Template:Real-life size
跳到导航
跳到搜索
This template is used to display the real-life equivalent of a length of something in Terraria. It converts Terraria's pixel lengths into real-life units of measurement. The basis for this conversion is the assumption that the player character (48 pixels in height) is 1.75 meters tall, i.e. a conversion factor of 175/48
from pixels to centimeters.
Usage
{{ real-life size | <pixels> | meters/feet/yards }}
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Pixel input | 1 | In-game length in pixels; 16 pixels = 1 tile | 单行文本 | 必填 |
Output unit | 2 | The unit of the output
| 单行文本 | 推荐 |
此模板首选参数行内格式。
Examples
Code | Result |
---|---|
{{real-life size|48|feet}} ({{real-life size|48|meters}} m)
|
5′ 9″ (1.75 m) |
{{real-life size|195*16|yards}} yards ({{real-life size|195*16|meters}} m)
|
124.4 yards (113.75 m) |
Assuming that the player is at {{real-life size|48|feet}} ({{real-life size|48|meters}} m) in terms of height, the Eye of Cthulhu would be about {{real-life size|{{npcinfo|Eye of Cthulhu|height}}|feet}} ({{real-life size|{{npcinfo|Eye of Cthulhu|height}}|meters}} m) tall.
|
Assuming that the player is at 5′ 9″ (1.75 m) in terms of height, the Eye of Cthulhu would be about 13′ 2″ (4.01 m) tall. |