Fallout中文維基
Advertisement
Template documentation (for the template shown above, sometimes hidden or invisible)

Infobox template for consumables in all games except Fallout 76. For this game and updates, please utilize the Fallout 76 specific template.

Usage

Place the following at the top of the article, below any page management templates:

{{Infobox consumable
<!-- insert parameters -->
}}

Example

{{Infobox consumable
|games        =FNV
|name         =Scotch
|image        =FO3 Scotch.png
|effects      =+1 [[Charisma]]<br/>-1 [[Intelligence]]<br/>+1 [[Strength]]<br/>(4 minutes)
|addiction    =[[Alcohol addiction]]<br/>10% chance
|weight       =1
|value        =10
|skill        =[[Survival]]
|formid       ={{ID|000151A1}}
}}

Copy/paste

Fallout 4

{{Infobox consumable
|games        =FO4
|image        =
|components   =
|xp           =
|effects      =
|addiction    =
|skill        =
|weight       =
|value        =
|edid         =
|formid       =
}}

Fallout 3 and Fallout: New Vegas

{{Infobox consumable
|games        =FO3
|image        =
|effects      =
|addiction    =
|weight       =
|value        =
|formid       ={{ID|}}
}}

Fallout, Fallout 2 and Fallout Tactics

{{Infobox consumable
|games        =FO1
|image        =
|effects      =
|addiction    =
|weight       =
|value        =
|proto        ={{proto|}}
}}

Parameters

Specific parameters

Required
games
Games this item pertains to. Used to determine what category is linked to at the top of the infobox.
Optional
(default: none)
addiction
Addiction this item causes, if any, and the percentage chance of it being caused. Set to "none" if no addiction is caused by this item.
Sometimes required or at least one required
edid
Editor ID of this consumable in Fallout 4, Fallout 3, and Fallout: New Vegas.
Sometimes required or at least one required
formid
Form ID of this consumable (Fallout 4, Fallout 3, Fallout: New Vegas). Enclose ID(s) in {{ID}} or {{DLC ID}}.
Optional
components
For items that can be crafted; list of all items required to craft this item. Use <br /> to set on a new line.
Optional
plan
Name any required plans.
Optional
component of
For items that are used as components to create other items; name of item which can be created with this one.
Required
effects
Effects when using the consumable.
Optional
food
Food percent added or removed in Fallout 4 Survival mode.
Optional
other uses
What this item is used for (other than crafting), if anything.
Sometimes required or at least one required
proto
Prototype ID of this consumable inFallout and Fallout 2. Enclose ID(s) in {{proto}}.
Optional
quests
Quests related to this item.
Optional
skill
The skill which alters the magnitude of this item's effects.
Optional
perks
Any perks which alters the magnitude of this item's effects.
Optional
displayable
Can the object be used in a display case. (Fallout 76 only)
Required
value
Value of the item.
Optional
value fo1
Value of the item in Fallout, when other games are listed in the infobox.
Optional
value fo2
Value of the item in Fallout 2, when other games are listed in the infobox.
Optional
value fot
Value of the item in Fallout Tactics, when other games are listed in the infobox.
Optional
value fobos
Value of the item in Fallout: Brotherhood of Steel, when other games are listed in the infobox.
Optional
value fo3
Value of the item in Fallout 3, when other games are listed in the infobox.
Optional
value fnv
Value of the item in Fallout: New Vegas, when other games are listed in the infobox.
Optional
value fo4
Value of the item in Fallout 4, when other games are listed in the infobox.
Optional
water
Water percent added or removed in Fallout 4 Survival mode.
Required
weight
Weight of the item.

General infobox parameters

Optional
footer
Content of row below main infobox content.
Sometimes required or at least one required
games
Abbreviation(s) for games of appearance. For accepted abbreviations please see {{abb}}. Multiple abbreviations can be specified if separated by commas (,).
Optional
icon
File name of icon (without "File:"), i.e. the small image which is displayed in the top right corner of the main image area.
Optional
(default: "@outside")
icon offset
Offset for icon in pixels, i.e. the icon is moved "upwards" by the specified amount of pixels. Setting this to "@outside" results in the icon being placed completely outside (above) the image area.
Optional
image up to image5
File name of image(s) (without "File:") to be displayed below main header and above main infobox content.
Optional
image desc
Description for image, displayed below the image.
Optional
(default: "240x200px")
image size up to image5 size
Width of corresponding image in pixels (e.g. "240px").
Optional
name
Main title/"headline" of the infobox. By default, the name of the current page without any disambiguation suffixes (i.e. terms in brackets at the end) is used.
Optional
subtitle
Text in small font below the main infobox title.
Documentation transcluded from Template:Infobox consumable/doc.
Advertisement