- Description
- This template is used on affliction pages.
- Syntax
- Type this at the top of a page, but below any notice templates.
{{Infobox/Affliction
|name = Name of affliction. If left blank, will default to the page name
|image = Affliction icon filename
|category = Put [[Afflictions]] here
|release = What date was this introduced?
|update = What update was this introduced?
|caused by = What is this Affliction's source?
|+/- effect= Positive or Negative Affliction
|type = Benefit, Injury, or Disease
|treatment urgency = What is the urgency of this affliction? (Recovery Treatment/requires Immediate Treatment/Both))
|treatment = <number required> X {{Pic link|<medicine name>|pic=<medicine icon filename>}}
|affliction recovery time = How long does it take to go away (if it is permanent, put permanent affliction. if it is healed instantly, put healed instantly)
|benefit duration = how long does the benefit take to go away
|key = gameplay code key info
}}
- Blank
- A blank infobox for copy-pasting
{{Infobox/Affliction
|name =
|image =
|category =
|release =
|update =
|caused by =
|+/- effect =
|type =
|treatment urgency =
|treatment =
|affliction recovery time =
|benefit duration =
|key =
}}
- Sample
- Type in this:
{{Infobox/Affliction
|name = Blood loss
|image = Blood loss icon.png
|category = [[Afflictions]]
|release =
|update =
|caused by = falls, struggles
|+/- effect = Negative
|type = Injury
|treatment urgency = Immediate Treatment or Death
|treatment = 1 x {{pic link|Bandage|pic=Bandage icon}}
|affliction recovery time = Instantly Healed after Treatment
|benefit duration =
|key =
}}
- To see this:
<infobox>
<title source="name">
<default>Infobox/Affliction/doc</default>
</title>
<image source="image">
<default>No picture.png</default>
</image>
<label>Release</label>
<format>{{#ifexpr:
|[[The Long Dark/Early Access Changelog#|]]
|[[The Long Dark/Changelog#|]]
}}</format>
<label>Update</label>
<label>Update</label>
<label>Story</label>
<group>
<header>Properties</header>
<label>Category</label>
<label>Description</label>
<label>Caused By</label>
<label>Effect</label>
<label>Type</label>
<label>Affliction Duration</label>
<label>Benefit Duration</label>
</group>
<group layout="horizontal">
<header>Treatment</header>
<label>Treatment</label>
<label>Alternate Treatment</label>
<label>Recovery Time</label>
</group>
<group collapse="closed">
<header>Advanced Data</header>
<label>Item Key</label>
</group>
</infobox>
|benefit duration = |key = }}