Plantilla:Modifier
Ir a la navegación
Ir a la búsqueda
Documentation The documentation below is transcluded from Plantilla:Modifier/doc. (edit | history)
[purge]
This template is used to display a weapon's or tool's best modifier.
Usage
{{ modifier | <item category> | plural = y/yes (optional) | article = <article name> (optional) }}
Parámetro | Descripción | Tipo | Estado | |
---|---|---|---|---|
Item category | 1 | How to roughly categorize the item, which determines its best modifier.
| Línea | obligatorio |
Plural page title | plural | Set if the page title is plural, e.g. on "Luminite Axes".
| Lógico | opcional |
Custom article | article | Set a custom article name
| Cadena | opcional |
Es preferible escribir los parámetros en una sola línea.
- List of item categories
Parameter value | Description |
---|---|
|
Most melee weapons. |
|
Weapons that cannot get size modifiers. For example: yoyos, flails, and spears. |
|
Melee "weapons" that are mainly used for harvesting tiles. |
|
Weapons listed on Mining speed where Legendary is equivalent to Light in speed boost. |
|
Melee "weapons" with very low base damage (preventing them from getting Legendary) that are mainly used for harvesting tiles. |
|
Weapons that have very low base damage and are listed on Mining speed where Legendary is equivalent to Light in speed boost. |
|
Most ranged weapons. |
|
Ranged weapons with no knockback. |
|
Most magic weapons. |
|
Magic weapons that continue dealing damage after the user switches weapons (and have non-zero knockback). |
|
Magic weapons with no knockback. |
|
Magic weapons with a base mana cost of 4. |
|
Magic weapons with a base mana cost of 3 or less. |
|
Magic weapons with a base mana cost of 3 or less and no knockback. |
|
Most summon weapons. |
|
Whips. |
|
Weapons with no knockback. |
|
Weapons with no knockback whose speed cannot be altered either. |
|
Outputs the note for items beginning with "the" and the grammar bug. |
|
Any weapon that cannot be reforged. |
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
or $item
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.
$itemid
Example
Code | Result |
---|---|
{{modifier|melee|plural=1}} |
Their best modifier is Legendary. |
{{modifier|item=Wand of Sparking}} |
!!Error: (Please input a valid value. See {{modifier}}.) |
{{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. |
Categorías:
- Páginas con errores en secuencias de órdenes
- I18n-ready templates
- Templates using Lua
- Pages with template errors
- Templates
- English language info not matched