Template:GetWallInfo/doc
跳到导航
跳到搜索
This template is used to retrieve information about a background wall type.
{{wallinfo}}
is an alias for {{getWallInfo}}
.
Usage
{{ getWallInfo | <wall ID> | <field> }}
- First unnamed parameter
Wall ID of the wall to get the information for. Must be between 1
and 346
.
- Second unnamed parameter
Information to retrieve. Possible values:
name
internalName
page
image
imagePlaced
safe
itemdrop
soundplaced
soundbreak
Setting the second unnamed parameter to count
yields the greatest valid wall ID. The first unnamed parameter is ignored in that case.
Examples
Code | Result |
---|---|
{{getWallInfo|87|name}} |
Lihzahrd Brick Wall |
{{getWallInfo|147|page}} |
Stone Slab Wall |
{{getWallInfo|61|imagePlaced}} |
Unique Cave Wall 7 (placed).png |
{{getWallInfo|1|soundplaced}} |
Dig 0.wav, Dig 1.wav, Dig 2.wav |
{{getWallInfo|68|internalName}} |
Flower |
{{getWallInfo|68|safe}} |
y |
{{getWallInfo|65|internalName}} |
FlowerUnsafe |
{{getWallInfo|65|safe}} |
|
{{getWallInfo|68|itemdrop}} ({{itemNameFromId|{{getWallInfo|68|itemdrop}}}}) |
747 (Flower Wall) |
{{getWallInfo|65|itemdrop}} ({{itemNameFromId|{{getWallInfo|65|itemdrop}}}}) |
() |
{{getWallInfo|1298|name}} |
|
{{getWallInfo||count}} |
346 |