Plantilla:Buffduration

De Terraria Wiki
Ir a la navegación Ir a la búsqueda
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 Plantilla:Buffduration/l10n for the localization of this template.
Template-info.svg Documentation The documentation below is transcluded from Plantilla:Buffduration/doc. (edit | history)

Use as a shortcut when adding in the buff times in the main paragraph of a buff item. An alias for this template is {{potionlength}}.

Usage

{{ potionlength | <buff duration> | eversions = no/<page name> | nomaintext = y/yes }}

First unnamed parameter
Duration of the buff, preferably using the {{duration}} template. If omitted, the template will attempt to determine the buff duration automatically via {{iteminfo}}.
eversions
By default, the template will hide information about how to cancel a buff on certain platforms based on the platforms the buff is available on (utilizing {{eversions}} with the name of the page the template is used on). Set this parameter to no to suppress this behavior and make it display information for all versions. Set it to any page's name to cause the template to take that entity as an {{eversions}} base.
Exclusivity can be manually overridden with the version parameters described on Template:Exclusive.
nomaintext
Suppresses the display of the first part of the text. Therefore, the first unnamed parameter has no effect if this parameter is set.

Examples

Code Result Notes
{{potionlength| {{duration|300}} }} This lasts for 5 minutos, but can be canceled at any time by right-clicking the icon (Versión de PC), by selecting the icon using Cycle Next/Previous Buff and then pressing Remove Buff (Versión de Consola), by selecting the icon and canceling it in the equipment menu (Versión de consola de antigua generación), by double-tapping the buff icon (Versión móvil) o by canceling the buff from the buffs screen (Versión Nintendo 3DS). Standard behavior. This page ("Buffduration") does not have any exclusivity information, so all platforms are displayed.
{{potionlength| {{duration|300}} | eversions = Moon Lord }} This lasts for 5 minutos, but can be canceled at any time by right-clicking the icon (Versión de PC), by selecting the icon using Cycle Next/Previous Buff and then pressing Remove Buff (Versión de Consola) o by double-tapping the buff icon (Versión móvil). Specify a different page for exclusivity.
{{potionlength| {{duration|300}} | 3ds = no }} This lasts for 5 minutos, but can be canceled at any time by right-clicking the icon (Versión de PC), by selecting the icon using Cycle Next/Previous Buff and then pressing Remove Buff (Versión de Consola), by selecting the icon and canceling it in the equipment menu (Versión de consola de antigua generación) o by double-tapping the buff icon (Versión móvil). Remove the information about explicitly specified platforms.
{{potionlength| {{duration|300}} | console = no | mobile = no }} This lasts for 5 minutos, but can be canceled at any time by right-clicking the icon (Versión de PC), by selecting the icon and canceling it in the equipment menu (Versión de consola de antigua generación) o by canceling the buff from the buffs screen (Versión Nintendo 3DS).
{{potionlength| {{duration|300}} | console = no | old-gen = no | 3ds = no }} This lasts for 5 minutos, but can be canceled at any time by right-clicking the icon (Versión de PC) o by double-tapping the buff icon (Versión móvil).
{{potionlength| {{duration|300}} | desktop = no | console = no | old-gen = no | mobile = no }} This lasts for 5 minutos, but can be canceled at any time by canceling the buff from the buffs screen (Versión Nintendo 3DS).
{{potionlength| {{duration|300}} | eversions = Moon Lord | mobile = no | 3ds = yes }} This lasts for 5 minutos, but can be canceled at any time by right-clicking the icon (Versión de PC), by selecting the icon using Cycle Next/Previous Buff and then pressing Remove Buff (Versión de Consola) o by canceling the buff from the buffs screen (Versión Nintendo 3DS). Specify a page for exclusivity and modify the eversions manually.
Most buffs can be deactivated prematurely {{buffduration|nomaintext=y}}. Most buffs can be deactivated prematurely by right-clicking the icon (Versión de PC), by selecting the icon using Cycle Next/Previous Buff and then pressing Remove Buff (Versión de Consola), by selecting the icon and canceling it in the equipment menu (Versión de consola de antigua generación), by double-tapping the buff icon (Versión móvil) o by canceling the buff from the buffs screen (Versión Nintendo 3DS). Use an entirely custom text.