Шаблон:Кількість зброї

Матеріал з Terraria Wiki
Перейти до навігації Перейти до пошуку
Цей шаблон i18n-ready, що означає, що його легко локалізувати для різних мов. Будь ласка, ознайомтеся з i18n та l10n для шаблонів, щоб дізнатися більше.
Див. «Шаблон:Кількість зброї/l10n» для локалізації цього шаблону.
Template-info.svg Документація Наведена нижче документація запозичена з «Шаблон:Кількість зброї/doc». (редагувати | історія)
Для більш повної чи актуальної інформації ви можете переглянути документацію англійською.

This template prints a standardized sentence about the number of items that belong to a certain weapon or tool type.

Usage

{{ weapon type count | <weapon type> (optional) }}

It should be placed directly below the "Types" heading.

All information will be gathered automatically via cargo. See the template's source code for the supported weapon/tool types.

First unnamed parameter

Specify the weapon type for which the information is to be displayed. Defaults to the page name (for language wikis: the English translation of the page name as determined by {{pagename2en}}).

Notes

  • The template defines a variable for one of its internal cargo queries called wtcount:where_total that can be used externally. It should be used as the constraint (the where parameter) in the cargo query of the types table.