7 Days to Die Wiki
Advertisement
Template-info Documentation


Description[]

Adds an infobox for Buffs

Syntax[]

Complete
{{Infobox buff
|name = {{PAGENAME}}
|image = 
|caption =
|image_alt1 = 
|caption_alt1 =
|image_alt2 = 
|caption_alt2 =
|category = 
|type = 
|cause = 
|duration = 
|hunger = 
|thirst = 
|health = 
|duration_he = 
|stamina = 
|duration_st = 
|well = 
|consumption = 
|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
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
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.
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.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

[[de:Vorlage:Infobox_buff/doc}}

Advertisement