Установіть зараз і легко шукайте інформацію у вікі під час гри, наводячи курсор на блок, предмет або сутність і натискаючи англ. H.
|
Шаблон:Таблиця стану блоку
(Перенаправлено з Шаблон:Bst)
[перегляд] [редагувати] [історія] [оновити]Документація
Документацію цього шаблону потрібно поліпшити або доповнити.
Перенаправлення
This template is used to generate tables for block states.
Parameters[ред. код]
The unnamed parameter |1=
is used to set name of the state. Multiple states can be placed in the same column if separated by commas. Each column supports theoretically unlimited states.
The unnamed parameter |2=
is used to set the default value of this state.
Use |foot=1
to end the table.
Value parameters[ред. код]
Starting with |3=
, unnamed parameters are used in pairs to display a row. In each row, the first parameter is the value, and the second is the description. This template supports up to sixteen rows total.
Multiple values can be placed in the same column if separated by commas. You can also use a range of numbers by placing an unspaced hyphen (-
) between the numbers.
Example usage[ред. код]
{{bst|age|0 |0|{{Спрайт/Блок|пшениця-1}} |1|{{Спрайт/Блок|пшениця-2}} |2|{{Спрайт/Блок|пшениця-3}} |3|{{Спрайт/Блок|пшениця-4}} |4|{{Спрайт/Блок|пшениця-5}} |5|{{Спрайт/Блок|пшениця-6}} |6|{{Спрайт/Блок|пшениця-7}} |7|{{Спрайт/Блок|пшениця-8}} Доросла.|підвал=1}}
- Produces
Назва | Значення за замовчуванням |
Допустимі значення |
[приховати]Опис |
---|---|---|---|
age | 0
| 0 | ![]() |
1 | ![]() | ||
2 | ![]() | ||
3 | ![]() | ||
4 | ![]() | ||
5 | ![]() | ||
6 | ![]() | ||
7 | ![]() |
[перегляд] [редагувати] [історія] [оновити]Розташована вище документація включена з Шаблон:Таблиця стану блоку/док.