Template:Containernode/doc

Yet another abstraction from Template:Mapnode (or more specifically Template:Poinode_poe1), this time for lootable containers. The node will be preloaded with the parameters needed to link the node to an associated Template:Container and vice versa.

All container nodes have the ID of: "" + "_node". To get the ID of the container, the "_node" part can be easily removed. This is done for consistency, and to avoid juggling multiple IDs and names.

Required parameters
All required parameters are anonymous (unnamed) parameters, and must be passed in the order they are listed here.
 * x
 * x coordinate - must use a pixel value (px).


 * y
 * y coordinate - must use a pixel value (px).


 * text
 * Text to be shown. This is typically the name of the container, plus a portion of the identifier. For example the container with the ID "Container_2D_Chest_04_T" could have the text "Chest (4)".


 * id
 * The container identifier, e.g. "Container_2D_Chest_04_T"

Optional parameters
The following parameters are inherited from Template:Mapnode (see that template for more info), though some have different defaults.
 * align - Defaults to.