(英wikiに伴いページを更新) |
(en:946371に更新) |
||
15行目: | 15行目: | ||
#if: {{{28|}}} | 1 }}{{ |
#if: {{{28|}}} | 1 }}{{ |
||
#if: {{{30|}}} | 1 }}{{ |
#if: {{{30|}}} | 1 }}{{ |
||
− | #if: {{{32|}}} | 1 }} |
+ | #if: {{{32|}}} | 1 }}{{ |
+ | #if: {{{34|}}} | 1 }}{{ |
||
+ | #if: {{{36|}}} | 1 }}{{ |
||
+ | #if: {{{38|}}} | 1 }}{{ |
||
+ | #if: {{{40|}}} | 1 }}{{ |
||
+ | #if: {{{42|}}} | 1 }}{{ |
||
+ | #if: {{{44|}}} | 1 }}{{ |
||
+ | #if: {{{46|}}} | 1 }}{{ |
||
+ | #if: {{{48|}}} | 1 }}{{ |
||
+ | #if: {{{50|}}} | 1 }}{{ |
||
+ | #if: {{{52|}}} | 1 }}{{ |
||
+ | #if: {{{54|}}} | 1 }}{{ |
||
+ | #if: {{{56|}}} | 1 }}{{ |
||
+ | #if: {{{58|}}} | 1 }}{{ |
||
+ | #if: {{{60|}}} | 1 }}{{ |
||
+ | #if: {{{62|}}} | 1 }}{{ |
||
+ | #if: {{{64|}}} | 1 }}}} |
||
}}<!-- |
}}<!-- |
||
24行目: | 40行目: | ||
| |
| |
||
| {{#vardefine: blockstatetable | 1 }}<table class="wikitable"><tr> |
| {{#vardefine: blockstatetable | 1 }}<table class="wikitable"><tr> |
||
− | <th>[[ |
+ | <th>[[ブロック情報|名前]]</th> |
<th>値</th> |
<th>値</th> |
||
<th>詳細</th> |
<th>詳細</th> |
||
37行目: | 53行目: | ||
|{{nbt|{{{type|string}}}|{{{1}}}}} |
|{{nbt|{{{type|string}}}|{{{1}}}}} |
||
− | }}</th><td><code>{{#replace: {{#replace: {{{2}}}|,|<br>}}|-|—}}</code></td><td>{{{3|}}}</td></tr>{{ |
+ | }}</th><td><code>{{#replace: {{#replace: {{{2}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{3|}}}</td></tr>{{ |
− | #if: {{{4|}}}| <tr><td><code>{{#replace: {{#replace: {{{4}}}|,|<br>}}|-|—}}</code></td><td>{{{5|}}}</td></tr> |
+ | #if: {{{4|}}}| <tr><td><code>{{#replace: {{#replace: {{{4}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{5|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{6|}}}| <tr><td><code>{{#replace: {{#replace: {{{6}}}|,|<br>}}|-|—}}</code></td><td>{{{7|}}}</td></tr> |
+ | #if: {{{6|}}}| <tr><td><code>{{#replace: {{#replace: {{{6}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{7|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{8|}}}| <tr><td><code>{{#replace: {{#replace: {{{8}}}|,|<br>}}|-|—}}</code></td><td>{{{9|}}}</td></tr> |
+ | #if: {{{8|}}}| <tr><td><code>{{#replace: {{#replace: {{{8}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{9|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{10|}}}| <tr><td><code>{{#replace: {{#replace: {{{10}}}|,|<br>}}|-|—}}</code></td><td>{{{11|}}}</td></tr> |
+ | #if: {{{10|}}}| <tr><td><code>{{#replace: {{#replace: {{{10}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{11|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{12|}}}| <tr><td><code>{{#replace: {{#replace: {{{12}}}|,|<br>}}|-|—}}</code></td><td>{{{13|}}}</td></tr> |
+ | #if: {{{12|}}}| <tr><td><code>{{#replace: {{#replace: {{{12}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{13|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{14|}}}| <tr><td><code>{{#replace: {{#replace: {{{14}}}|,|<br>}}|-|—}}</code></td><td>{{{15|}}}</td></tr> |
+ | #if: {{{14|}}}| <tr><td><code>{{#replace: {{#replace: {{{14}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{15|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{16|}}}| <tr><td><code>{{#replace: {{#replace: {{{16}}}|,|<br>}}|-|—}}</code></td><td>{{{17|}}}</td></tr> |
+ | #if: {{{16|}}}| <tr><td><code>{{#replace: {{#replace: {{{16}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{17|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{18|}}}| <tr><td><code>{{#replace: {{#replace: {{{18}}}|,|<br>}}|-|—}}</code></td><td>{{{19|}}}</td></tr> |
+ | #if: {{{18|}}}| <tr><td><code>{{#replace: {{#replace: {{{18}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{19|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{20|}}}| <tr><td><code>{{#replace: {{#replace: {{{20}}}|,|<br>}}|-|—}}</code></td><td>{{{21|}}}</td></tr> |
+ | #if: {{{20|}}}| <tr><td><code>{{#replace: {{#replace: {{{20}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{21|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{22|}}}| <tr><td><code>{{#replace: {{#replace: {{{22}}}|,|<br>}}|-|—}}</code></td><td>{{{23|}}}</td></tr> |
+ | #if: {{{22|}}}| <tr><td><code>{{#replace: {{#replace: {{{22}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{23|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{24|}}}| <tr><td><code>{{#replace: {{#replace: {{{24}}}|,|<br>}}|-|—}}</code></td><td>{{{25|}}}</td></tr> |
+ | #if: {{{24|}}}| <tr><td><code>{{#replace: {{#replace: {{{24}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{25|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{26|}}}| <tr><td><code>{{#replace: {{#replace: {{{26}}}|,|<br>}}|-|—}}</code></td><td>{{{27|}}}</td></tr> |
+ | #if: {{{26|}}}| <tr><td><code>{{#replace: {{#replace: {{{26}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{27|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{28|}}}| <tr><td><code>{{#replace: {{#replace: {{{28}}}|,|<br>}}|-|—}}</code></td><td>{{{29|}}}</td></tr> |
+ | #if: {{{28|}}}| <tr><td><code>{{#replace: {{#replace: {{{28}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{29|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{30|}}}| <tr><td><code>{{#replace: {{#replace: {{{30}}}|,|<br>}}|-|—}}</code></td><td>{{{31|}}}</td></tr> |
+ | #if: {{{30|}}}| <tr><td><code>{{#replace: {{#replace: {{{30}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{31|}}}</td></tr> |
}}{{ |
}}{{ |
||
− | #if: {{{32|}}}| <tr><td><code>{{#replace: {{#replace: {{{32}}}|,|<br>}}|-|—}}</code></td><td>{{{33|}}}</td></tr> |
+ | #if: {{{32|}}}| <tr><td><code>{{#replace: {{#replace: {{{32}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{33|}}}</td></tr> |
+ | }}{{ |
||
+ | #if: {{{34|}}}| <tr><td><code>{{#replace: {{#replace: {{{34}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{35|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{36|}}}| <tr><td><code>{{#replace: {{#replace: {{{36}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{37|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{38|}}}| <tr><td><code>{{#replace: {{#replace: {{{38}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{39|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{40|}}}| <tr><td><code>{{#replace: {{#replace: {{{40}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{41|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{42|}}}| <tr><td><code>{{#replace: {{#replace: {{{42}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{43|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{44|}}}| <tr><td><code>{{#replace: {{#replace: {{{44}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{45|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{46|}}}| <tr><td><code>{{#replace: {{#replace: {{{46}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{47|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{48|}}}| <tr><td><code>{{#replace: {{#replace: {{{48}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{49|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{50|}}}| <tr><td><code>{{#replace: {{#replace: {{{50}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{51|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{52|}}}| <tr><td><code>{{#replace: {{#replace: {{{52}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{53|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{54|}}}| <tr><td><code>{{#replace: {{#replace: {{{54}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{55|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{56|}}}| <tr><td><code>{{#replace: {{#replace: {{{56}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{57|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{58|}}}| <tr><td><code>{{#replace: {{#replace: {{{58}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{59|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{60|}}}| <tr><td><code>{{#replace: {{#replace: {{{60}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{61|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{62|}}}| <tr><td><code>{{#replace: {{#replace: {{{62}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{63|}}}</td></tr> |
||
+ | }}{{ |
||
+ | #if: {{{64|}}}| <tr><td><code>{{#replace: {{#replace: {{{64}}}|,|</code><br><code>}}|-|—}}</code></td><td>{{{65|}}}</td></tr> |
||
}}<!-- |
}}<!-- |
||
76行目: | 124行目: | ||
}}{{ |
}}{{ |
||
#ifeq: {{#pos: {{SUBPAGENAME}} | BS }} | 0 |
#ifeq: {{#pos: {{SUBPAGENAME}} | BS }} | 0 |
||
+ | | [[カテゴリ:ブロック情報ページ]] |
||
− | | [[Category:Block state pages]] |
||
}}</includeonly><noinclude> |
}}</includeonly><noinclude> |
||
{{documentation}} |
{{documentation}} |
||
+ | <!-- カテゴリと言語間リンクはここではなく、解説ページに追加してください --> |
||
− | <!-- Put categories/interwiki on the documentation page --> |
||
</noinclude> |
</noinclude> |
2017年2月28日 (火) 12:09時点における版
ショートカット
このテンプレートは、ブロック状態の表を生成するために使用されます。
パラメータ
|1=
(1番目のパラメータ)には、状態の名前を指定します。カンマで区切ることで、複数の状態を同じ列に指定することができます。理論上、各列の状態数に上限はありません。
|2=
(2番目のパラメータ)には、状態の初期値を指定します。
|foot=
に 1
を指定することで、表の終端を表します。
値のパラメータ
|3=
(3番目のパラメータ)以降は、2つのパラメータのペアで1つの行を表示します。それぞれの行は、1番目のパラメータに値を、2番目のパラメータにその説明を指定します。このテンプレートでは、合計で16行まで表示することができます。
カンマで区切ることで、複数の値を同じ列に設定することができます。数字の間に -
を記述することで、値の範囲を表すこともできます。この場合、数字とハイフンの間にスペースは必要ありません。
使用例
{{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}} 完全に生長した状態|foot=1}}
- 実際の表示
名前 | 値 | 詳細 |
---|---|---|
age | 0 | 0 |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
完全に生長した状態 |
[閲覧 | 編集 | 履歴 | キャッシュ破棄]上記の解説は、テンプレート:Block state table/docから参照されています。