Template:Contains/doc
Jump to navigation
Jump to search
This is the documentation subpage of Template:Contains. It contains usage information that is not part of the underlying template.
{{Contains|item}}
Identifies what item is received upon opening a container. Sets the Property:Contains item property.
Template data
Identifies what item is received upon opening a container.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Item | 1 | Name of the item. | Page name | required |
| Link text | 2 | Link text to display. Defaults to the item's canonical name. Do not use this to pluralize the name. | String | optional |
| Quantity | qty | Quantity of this item that can be contained. Can be a single number or a hyphenated range. This is ''not'' currently saved as part of semantic data, it is only used for display.
| String | optional |