:Buffduration/doc

Terraria Wiki
둘러보기로 이동 검색으로 이동

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> }}

Unnamed parameter 1
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.

Examples

Code Result Notes
{{potionlength| {{duration|300}} }}
  1. REDIRECT Template:Buffduration || Standard behavior. This page ("Buffduration") does not have any exclusivity information, so all platforms are displayed.
{{potionlength| {{duration|300}} | eversions = Moon Lord }}
  1. REDIRECT Template:Buffduration || Specify a different page for exclusivity.
{{potionlength| {{duration|300}} | 3ds = no }}
  1. REDIRECT Template:Buffduration || rowspan=4 | Remove the information about explicitly specified platforms.
{{potionlength| {{duration|300}} | console = no | mobile = no }}
  1. REDIRECT Template:Buffduration
{{potionlength| {{duration|300}} | console = no | old-gen = no | 3ds = no }}
  1. REDIRECT Template:Buffduration
{{potionlength| {{duration|300}} | desktop = no | console = no | old-gen = no | mobile = no }}
  1. REDIRECT Template:Buffduration
{{potionlength| {{duration|300}} | eversions = Moon Lord | mobile = no | 3ds = yes }}
  1. REDIRECT Template:Buffduration || Specify a page for exclusivity and modify the eversions manually.