Terraria Wiki
Advertisement
This template is i18n-ready, which means it is easy to localize for different languages. Please see i18n & l10n for templates to learn more.
See Template:Drop infobox/l10n for the localization of this template.
Template-info.svg 文档 以下文档来自Template:Drop infobox/doc。(编辑 | 历史

This template is used to display an overview of entities that drop a given item. Despite the name, it also includes Chests and grab bags as "drop sources". Its data is generated automatically, based on the Drops Cargo table, but it is possible to add information manually.

Usage

All parameters are optional.

{{ drop infobox | <item name or ID> | item = <item name> | id = <item ID> | title = <infobox header> | collapsible = n/no | collapsed = y/yes/n/no | float = left/right | width = <infobox width> | css/style = <custom styling> | <manual information> }}

First unnamed parameter, item, id

Specify the item in question; defaults to the page name. Only one out of these should be used.

title

Set a custom header of the infobox.

collapsible

Remove the collapsibility from the infobox.

collapsed

Force the initial state; defaults to y if there are more than five entities in the infobox, and to n otherwise.

float

Float attribute of the infobox.

wrap

Entities will use {{item|<name>|wrap=y}} by default, this can be turned off by |wrap=no.

width

Width of the infobox, with unit.

css/style

Additional custom styling.

Second/third/fourth/... unnamed parameters

Used for manually passing information, ad infinitum. These work quite similarly to the parameters used for storing drop information in {{npc infobox}}, as they are passed in groups of three as well: entity, quantity, and rate.

| <entity name 1> | <quantity 1> | <rate 1>
| <entity name 2> | <quantity 2> | <rate 2>
| ...
| <entity name n> | <quantity n> | <rate n>

By default, these will be displayed above the automatically generated information. There is a special parameter value to control the position of the auto info within the manual info: @@@@. It will be replaced by the auto data in the output.

| <entity name 1> | <quantity 1> | <rate 1> <!-- this row will be displayed above the auto data -->
| <entity name 2> | <quantity 2> | <rate 2> <!-- this row as well -->
| @@@@ || <!-- this row will be replaced by all automatically generated rows -->
| <entity name 3> | <quantity 3> | <rate 3> <!-- this row will be displayed below the auto data -->
| <entity name 4> | <quantity 4> | <rate 4> <!-- this row as well -->

Examples

Code Result
{{drop infobox|Gel|title=Entities dropping [[File:Gel.png]] [[Gel]]}}
Entities dropping Gel.png Gel
Classic mode icon.png 经典
Expert mode icon.png 专家
Master mode icon.png 大师
实体数量几率
丛林史莱姆Jungle Slime.png丛林史莱姆1-21-3100%
僵尸
(史莱姆僵尸)
Slimed Zombie.png僵尸
(史莱姆僵尸)
1–3100%
僵尸
(大史莱姆僵尸)
Slimed Zombie.png僵尸
(大史莱姆僵尸)
1–3100%
僵尸
(小史莱姆僵尸)
Slimed Zombie.png僵尸
(小史莱姆僵尸)
1–3100%
僵尸
(武装史莱姆僵尸)
Armed Slimed Zombie.png僵尸
(武装史莱姆僵尸)
1–3100%
冰雪史莱姆Ice Slime.png冰雪史莱姆1-21-3100%
史莱姆之母Mother Slime.png史莱姆之母1-21-3100%
史莱姆宝宝Baby Slime.png史莱姆宝宝1-21-3100%
夜明史莱姆Illuminant Slime.png夜明史莱姆1-21-3100%
小史莱姆Slimeling.png小史莱姆1-2expert1-3100%
尖刺丛林史莱姆Spiked Jungle Slime.png尖刺丛林史莱姆1-21-3100%
尖刺冰雪史莱姆Spiked Ice Slime.png尖刺冰雪史莱姆1-21-3100%
尖刺史莱姆Spiked Slime.png尖刺史莱姆1-3100%
弹力史莱姆Bouncy Slime.png弹力史莱姆1–2100% 电脑版
彩虹史莱姆Rainbow Slime.gif彩虹史莱姆1-20100%
恶翅史莱姆
(无翅膀)
Corrupt Slime.png恶翅史莱姆
(无翅膀)
1-21-3100%
毒泥Toxic Sludge.png毒泥1-21-3100%
水晶史莱姆Crystal Slime.png水晶史莱姆1–2100% 电脑版
沙史莱姆Sand Slime.png沙史莱姆1-21-3100%
猩红史莱姆Crimslime.png猩红史莱姆2–4100%
粉史莱姆Pinky.png粉史莱姆1–2100%
紫史莱姆Purple Slime.png紫史莱姆1-22-3100%
红史莱姆Red Slime.png红史莱姆1-21-3100%
绿史莱姆Green Slime.png绿史莱姆1-21-3100%
暗影史莱姆Shadow Slime.png暗影史莱姆6–7100%
腐化史莱姆Corrupt Slime.png腐化史莱姆2–4100%
灵能腹足怪Spectral Gastropod.png灵能腹足怪10-25100%
腹足怪Gastropod.png腹足怪5-10100%
蓝史莱姆Blue Slime.png蓝史莱姆1-21-31-2100%
雨伞史莱姆Umbrella Slime.png雨伞史莱姆2-597.78%
飞翔史莱姆Heavenly Slime.png飞翔史莱姆1–2100% 电脑版
黄史莱姆Yellow Slime.png黄史莱姆1-21-3100%
黑史莱姆Black Slime.png黑史莱姆1–21–3100%
{{drop infobox|Beetle Husk|collapsible=n
|@@@@||
|{{item|Lihzahrd}}|2|{{master|100%}} #master
|{{item|Lihzahrd|note=(Crawler form)|wrap=y|image=Lihzahrd Run Loop.gif}}|20–24|{{modes||50%|75%}} #expert
}}
掉落自 掉落自 掉落自
Classic mode icon.png 经典
Expert mode icon.png 专家
Master mode icon.png 大师
实体数量几率
宝藏袋
(石巨人)
宝藏袋(石巨人)宝藏袋
(石巨人)
18–23100%
石巨人石巨人石巨人4-8100%
丛林蜥蜴丛林蜥蜴2100%
丛林蜥蜴丛林蜥蜴(Crawler form)20–2450%75%
{{lang/set|fr}} Set language to French
{{drop infobox|Soul of Fright|alt=f}}
Obtenue par Obtenue par Obtenue par
Classic mode icon.png Classique
Expert mode icon.png Expert
Master mode icon.png Maître
EntitéQté.Taux
宝藏袋
(机械骷髅王)
宝藏袋(机械骷髅王)宝藏袋
(机械骷髅王)
25–40100%
机械骷髅王Skeletron Prime.png机械骷髅王25–40100%
{{drop infobox|Sailfish Boots|alt=fp}}
Obtenues par Obtenues par
Classic mode icon.png Classique
Expert mode icon.png Expert
Master mode icon.png Maître
EntitéQté.Taux
木匣木匣木匣12.5*1/40 (2.5%)
珍珠木匣电脑版和移动版珍珠木匣珍珠木匣12.49*199/8000 (2.49%)
秘银匣电脑版和移动版秘银匣秘银匣14.19%
铁匣铁匣铁匣14.26*133/3125 (4.26%)
{{drop infobox|Sailfish Boots|alt=fp|wrap=no}}
Obtenues par Obtenues par
Classic mode icon.png Classique
Expert mode icon.png Expert
Master mode icon.png Maître
EntitéQté.Taux
木匣木匣木匣12.5*1/40 (2.5%)
珍珠木匣电脑版和移动版珍珠木匣珍珠木匣12.49*199/8000 (2.49%)
秘银匣电脑版和移动版秘银匣秘银匣14.19%
铁匣铁匣铁匣14.26*133/3125 (4.26%)
Advertisement