Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Block state table

Template page
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Shortcut This template is used to generate tables for block states.

Parameters

The unnamed parameter Template:P 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 Template:P is used to set the default value of this state.

Use Template:P to end the table.

Value parameters

Starting with Template:P, 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|{{BlockSprite|wheat-1}}
|1|{{BlockSprite|wheat-2}}
|2|{{BlockSprite|wheat-3}}
|3|{{BlockSprite|wheat-4}}
|4|{{BlockSprite|wheat-5}}
|5|{{BlockSprite|wheat-6}}
|6|{{BlockSprite|wheat-7}}
|7|{{BlockSprite|wheat-8}} Fully-grown.|foot=1}}
Produces

Template:Bst

cs:Šablona:Block state table de:Vorlage:Blockstatus es:Plantilla:Tabla de estados de bloques fr:Modèle:Tableau états blocs it:Template:Tabella degli stati del blocco ja:テンプレート:Block state table ko:틀:Block state table lzh:模板:Block state table nl:Sjabloon:Blokstatuswaardetabel pt:Predefinição:Tabela de estado do bloco ru:Шаблон:Bst th:แม่แบบ:Block state table uk:Шаблон:Таблиця стану блоку

zh:Template:Block state table
The above text is transcluded from Template:MC/Block state table/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Block state table/doc. (View all subpages of this page.)
Contents