Шаблон:Bestiary entries

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

This template displays the number of Bestiary entries that corresponds to a given progress percentage.

Often, certain conditions etc. are only given in percentages, but this information is less useful than a specific number of entries. This template facilitates quickly appending that number. Furthermore, it will update the number automatically should the total number of entries change in a later update.

Usage

{{ b entries | <progress percentage> | <with unit?>}}

First unnamed parameter

Ratio expression, such percent, fractal, etc, see examples below. The template will not output anything if the parameter is invalid.

Second unnamed parameter

Can be arbitrary value. If present, display the unit.

Examples

Code Result
{{b entries|31%}} 168
{{b entries|31%|entry}} 168 записи
{{b entries|0|entry}} 0 записи
{{b entries|0.1%|entry}} 1 запис
{{b entries|31%|entries}} 168 записи
{{b entries|31%|true}} 168 записи
{{b entries|100%}} (total number of entries) 540
{{b entries|0%}} 0
{{b entries|0}} 0
{{b entries|0.00}} 0
{{b entries|3.1415%}} 17
{{b entries|0.31}} 168
{{b entries|1/4}} 135
{{b entries|20%+5%}} 135
{{b entries|50%/2}} 135
{{b entries|0.2+1/20}} 135
{{b entries|-20%}} (invalid)
{{b entries|120%}} (invalid)
{{b entries|2}} (invalid, same as 200%)
{{b entries|120%|entries}} (invalid) записи ПОМИЛКА! (очікується: ? entries)
Once 31% of the Bestiary has been filled ({{b entries|31%|entries}}), ... Once 31% of the Bestiary has been filled (168 записи), ...