Template:Buff infobox/doc

From Terraria Mods Wiki
Jump to navigation Jump to search

This template is used for displaying the infobox of a buff or debuff.

Usage

{{buff infobox
| name = 
| namesub = 
| image = 
| imagealt = 
| type = 
| cause = 
| effects = 
| duration = 
| tooltip = 
| id = 
| <item to prevent 1> | <item to prevent 2> | ... | <item to prevent n>
}}
name

Name of the buff.

namesub

Will be displayed underneath the title of the infobox.

image

The image defaults to <buff name> (<mod name>).png. Use this parameter to overwrite that.

imagealt

Complete custom control over the image, e.g. for multiple images or to suppress image display entirely (via |imagealt=).

type

Buff/Debuff. Categorizes the page accordingly.

cause

Cause of the buff. Please only use this if it is possible to explain the cause in a very brief way, e.g. | cause = {{item|Honey}} for the Honey buff. Do not enter lists of items or enemies here; put them in the "Causes" section of the article text instead.

effects

Brief description of the buff's consequences. Can be omitted if the tooltip sufficiently and unambiguously describes the effects.

tooltip

Tooltip of the buff.

id

ID of the buff.

Unnamed parameters

Names of items that can be equipped to prevent the infliction of the debuff. Remember to use the # and @ syntax from {{item}}.