Template:Real-life size
Jump to navigation
Jump to search
Documentation The documentation below is transcluded from Template:Real-life size/doc. (edit | history)
[purge]
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 }}
Parameter | Description | Type | Status | |
---|---|---|---|---|
Pixel input | 1 | In-game length in pixels; 16 pixels = 1 tile | Line | required |
Output unit | 2 | The unit of the output
| Line | suggested |
This template prefers inline formatting of parameters.
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. |