注意:1.4.5 的更新内容量较大,页面上很可能仍有内容尚未更新。
如中文 wiki 信息过时,可以参考英文 wiki 对应页面。
见 Terraria Wiki:项目/1.4.5 获取 wiki 状态与更新指南
如中文 wiki 信息过时,可以参考英文 wiki 对应页面。
见 Terraria Wiki:项目/1.4.5 获取 wiki 状态与更新指南
Template:Modifier
跳转到导航
跳转到搜索
For the template used to display item names with modifier using in-game format, see {{prefix}}.
This template is used to display a weapon's or tool's best modifier.
Usage
{{ modifier | <item category> | plural = y/yes (optional) }}
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| Item category | 1 | How to roughly categorize the item, which determines its best modifier.
| 单行文本 | 必需 |
| Plural page title | plural | Set if the page title is plural, e.g. on "Luminite Axes".
| 布尔 | 可选 |
| Custom article | article | Set a custom article (only for French).
| 字符串 | 可选 |
| Custom item name | name | Set a custom item name (only for Russian).
| 字符串 | 可选 |
此模板首选参数不换行的行内格式。
- List of item categories
| Parameter value | Description |
|---|---|
melee |
Most melee weapons. |
meleealt |
Melee weapons that cannot get size modifiers, e.g. yoyos, flails, or spears. |
harvest |
Melee weapons that are mainly used for harvesting, i.e. tools. |
harvestlow |
Tools with extremely low base damage, which prevents them from getting Legendary. |
harvestalt |
Tools whose speed is increased by the same amount by +10% and +15% speed modifiers (as listed at Tool speed#Useful modifiers). |
harvestalt2 |
Tools whose speed is increased by the same amount by +10% and +15% speed modifiers (as listed at Tool speed#Useful modifiers), but which cannot get Nasty due to their low base damage. |
harvestlowalt |
Tools whose speed is increased by the same amount by +10% and +15% speed modifiers (as listed at Tool speed#Useful modifiers), but which cannot get Legendary due to their extremely low base damage. |
ranged |
Most ranged weapons. |
rangednokb |
Ranged weapons with no knockback. |
legacyrangednokb |
Ranged weapons with no knockback (only to be used on Legacy: pages, if the weapon does have knockback in modern versions). |
legacyrangednokbadd |
Ranged weapons with no knockback (only to be used on Legacy: pages, if the weapon also has no knockback in modern versions). |
magic |
Most magic weapons. |
magicsummon |
Magic weapons that continue dealing damage after the user switches weapons (and have non-zero knockback). |
magicnokb |
Magic weapons with no knockback. |
magiclow |
Magic weapons with a base mana cost of 4. |
magicverylow |
Magic weapons with a base mana cost of 3 or less. |
magiclownokb |
Magic weapons with a base mana cost of 3 or less and no knockback. |
summon |
Most summon weapons. |
whip |
Whips. |
nokb |
Weapons with no knockback. |
nokbalt |
Weapons with no knockback whose speed cannot be altered either. |
none |
Any weapon that cannot be reforged. |
The following additional values are available for the first unnamed parameter:
| Parameter value | Description |
|---|---|
prefixnote |
Displays information about the grammatical error that occurs with item names that begin with "The", such as The Meatball. |
prefixnotealt |
Same as prefixnote but for accessories, like The Plan (different exemplary modifier).
|
legacyprefixnote |
Displays information about the grammatical error not being present on the |
legacyprefixnotealt |
Same as legacyprefixnote but for accessories.
|
The first parameter may also be omitted, in which case the template will automatically attempt to determine the correct item category. It takes the page name as the item by default; use the $item or $itemid parameters to overwrite this. However, note that a first parameter should always be provided on regular item pages, since this functionality is merely an aid for selecting the category. The algorithm may fail in certain cases and it is not optimized for usage within an article.
Examples
| Code | Result |
|---|---|
{{modifier|melee|plural=1}} |
其最佳修饰语是传奇。 |
{{modifier|item=Wand of Sparking}} |
其最佳修饰语是恶魔或致命,前者能提高暴击率而后者能提高速度。它无法得到会影响击退或魔力消耗的修饰语。 |
{{lang/set|fr}} |
Set language to French |
{{modifier|none|article=Le}} |
Le modifier ne peut pas être reforgé(e), et de ce fait ne peut pas avoir de modificateurs. |