Template:Infobox buff

From 7 Days to Die Wiki
Jump to navigation Jump to search
Quest icon.png   Changes to this template will affect several other pages.

Please be careful when modifying this template.

This template modifies 80 pages.


Template-info.png Documentation


Description

Adds an infobox for Buffs

Syntax

Complete
{{Infobox buff
|name = {{PAGENAME}}
|image = 
|size = 
|caption = 
|image_alt1 = 
|caption_alt1 = 
|image_alt2 = 
|caption_alt2 = 
|category = 
|type = 
|cause = 
|cure = 
|leadsto = 
|debuffs = 
|duration = 
|hunger = 
|thirst = 
|health = 
|health_freq = 
|health_times = 
|duration_he = 
|damage = 
|damage_freq = 
|damage_times = 
|stamina = 
|stamina_freq = 
|duration_st = 
|cold_resist = 
|heat_resist = 
|coretemp = 
|coretemp_freq = 
|duration_coretemp = 
|consumption = 
|speed = 
|stun_resist = 
|damage_resist = 
|stack = 
|added_version = 
|removed_version = 
|updated_version = 
|confirmed_version = 
}}

Parameters

Parameter Legal Values Description Auto-Cat
name Name of the Buff
image Main Image of the buff
caption Caption for the Main Image
image_alt1 First alternate Image of the buff
caption_alt1 Caption for the First alternate Image
image_alt2 Second alternate Image of the buff
caption_alt2 Caption for the Second alternate Image
category Status
Effect
Buff Category
type Positive
Negative
Does the buff provide a positive or negative effect.
cause What the buff is caused by
cure How to remove the buff
leadsto A buff that this buff leads to if nothing is done to stop it. Links are automatically created to this buffs.
debuffs A comma separated list of buffs that are removed (if they are in-place) when this buff is enacted. Links are automatically created to these buffs.
duration Overall Duration of the buff
hunger Effect on Fullness
thirst Effect on Hydration
health Effect on Health
health_freq Effect is applied to Health every this many seconds. If the value ends with a t then the frequency is in in-game seconds.
duration_he Duration of Effect on Health
damage Damage applied. This damage can be mitigated by other factors, health can not be.
damage_freq This Damage is applied every this many seconds. If the value ends with a t then the frequency is in in-game seconds.
damage_times This Damage is applied a maximum of this many times.
stamina Effect on Stamina
stamina_freq Effect is applied to Stamina every this many seconds. If the value ends with a t then the frequency is in in-game seconds.
duration_st Duration of Effect on Stamina
cold_resist Effect on Cold Resist.
heat_resist Effect on Heat Resist.
coretemp Effect on Feels like Temperature.
coretemp_freq Effect is applied to Feels like Temperature every this many seconds.
duration_coretemp Duration of Effect on Feels like Temperature
well Effect on Wellness
well_freq Effect is applied to Wellness every this many seconds. If the value ends with a t then the frequency is in in-game seconds.
consumption Other Effects of the buff
speed Effect on speed. This value is a percentage and is applied to the current speed.
stun_resist The ability to resist stuns, value is a percentage
damage_resist The ability to resist damage, value is a percentage.
stack discard
stack
extend
reset
How this buff affects other already happening buffs.
added_version <Version String> The version of 7D2D that the NPC was added.
Note: This can not be a link.
Y
removed_version <Version String> The version of 7D2D that the NPC was removed.
Note: This can not be a link.
Y
updated_version <Version String> [, <Version String> ...] A comma separated list of versions that the npc has been updated.
Note: These can not be links.
Y
confirmed_version <Version String> [, <Version String> ...] A comma separated list of versions that the NPC has been comfirmed to be working. Should only be updated to the latest version when the details have been confirmed to be correct.
Note: These can not be links.
Y

Stack Parameter

Some buffs can have a stack, or cumulative effect. The stack effect is what happens to subsequent applications of the same effect on the same entity.

As defined in buffs.xml:

"discard" discards any addition buff of that type (it is ignored).

"reset" will reset the time on the buff

"stack" will stack up to a number specified by "stacklimit".

"extend" will extend the existing buff.

de:Vorlage:Infobox buff es:Plantilla:Infobox buff