Template:Container capacity

From PZwiki
Notebook.pngTemplate Documentation

This is a template to simplify calculating the capacity of a container with the organized or disorganized traits.

Usage

Copy the below example and paste to the required page, replacing the values.

{{Container capacity|organized|40}}
Result: 52

Parameters

1 or traitRequired
The trait to be calculated for.
2 or capacityRequired
The capacity of the item.

Technical

This template uses the following equation:
capacity * trait

How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.

See also

Editors can experiment in this template's sandbox.