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

Template for NPC inventories.

Usage

{{Inventory
|apparel   =
|weapon    =
|otheritem =
|ondeath   =
}}

Parameters

Yes
apparel
Armor/clothing items in this inventory
Yes
weapon
Weapons in this inventory
Yes
otheritem
Other items in this inventory
Neutral
ondeath
Items which only appear in the inventory if the NPC is dead. Field can be hidden by inserting "empty".
Neutral
(default: "Fallout Shelter")
image
Used only in the Fallout Shelter inventory, requires the image file name.
Neutral
game
Switches between the standard inventory template and the Fallout Shelter inventory template. If used with the title parameter, it will also set a title above the table
Yes
(default: "no")
title
Declares if a title is set above the table. Must be used in conjunction with the game parameter

Copy/paste

Fallout/Fallout 2

{{Inventory
|apparel   =
|weapon    =
|otheritem =
|ondeath   =empty
}}

Fallout 3/Fallout: New Vegas

{{Inventory
|apparel   =
|weapon    =
|otheritem =
|ondeath   =
}}
Documentation transcluded from Template:Inventory/doc.
Advertisement