Template:ID table: Difference between revisions

From BTA-Mirror
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{#var: idtable | 0 }} | 1 || {{#vardefine: idtable | 1 }}<table class="wikitable"><tr><!--
<includeonly>{{#ifeq: {{#var:idtable|}} | y || {{#vardefine:idtable|y}}<table class="wikitable"><tr><!--
--> {{#if: {{{item|}}} | {{#ifeq: {{#var: item | 0}} | 1 || {{#vardefine: item | 1 }} }}<th>Item</th> | }}<!--
--> {{#ifeq: {{bl|{{{name|}}}|string=y}} | n | | {{#vardefine:hasname|y}}<th>Name</th> }}<!-- do not change to "name" otherwise it will not work.
--> {{#if: {{{block|}}} | {{#ifeq: {{#var: block | 0}} | 1 || {{#vardefine: block | 1 }} }}<th>Block</th> | }}<!--
--> {{#ifeq: {{bl|{{{type|}}}|string=y}} | n | | {{#vardefine:type|y}}<th>Type</th> }}<!--
--> {{#if: {{{nameid|}}} | {{#ifeq: {{#var: nameid | 0}} | 1 || {{#vardefine: nameid | 1 }} }}<th>Namespaced ID</th> | }}<!--
--> {{#ifeq: {{bl|{{{nameid|}}}|string=y}} | n | | {{#vardefine:nameid|y}}<th>Namespaced ID</th> }}<!--
--> {{#if: {{{numid|}}} | {{#ifeq: {{#var: numid | 0}} | 1 || {{#vardefine: numid | 1 }} }}<th>Numeric ID</th> | }}<!--
--> {{#ifeq: {{bl|{{{numid|}}}|string=y}} | n | | {{#vardefine:numid|y}}<th>Numeric ID</th> }}<!--
--></tr> }}<tr>
--></tr>
{{#if: {{{item|}}} | {{#ifeq: {{bl|{{{item|}}}|string=y}} | y | <td>–</td> | <td>{{{item|}}}</td> }} | {{#ifeq: {{#var: item | 0}} | 1 | <td>–</td> | }} }}
}}
{{#if: {{{block|}}} | {{#ifeq: {{bl|{{{block|}}}|string=y}} | y | <td>–</td> | <td>{{{block|}}}</td> }} | {{#ifeq: {{#var: block | 0}} | 1 | <td>–</td> | }} }}
<tr>
{{#if: {{{nameid|}}} | {{#ifeq: {{bl|{{{nameid|}}}|string=y}} | y | <td>–</td> | <td>{{{nameid|}}}</td> }} | {{#ifeq: {{#var: nameid | 0}} | 1 | <td>–</td> | }} }}
<td>{{#ifeq: {{#var:hasname|}} | y
{{#if: {{{numid|}}} | {{#ifeq: {{bl|{{{numid|}}}|string=y}} | y | <td>–</td> | <td>{{{numid|}}}</td> }} | {{#ifeq: {{#var: numid | 0}} | 1 | <td>–</td> | }} }}
| {{#ifeq: {{bl|{{{name|}}}|string=y}} | n
</tr>{{#ifeq: {{bl|{{{foot|}}}}} | y | {{#vardefine: idtable|}}</table> | }}</includeonly><noinclude>
| –
| {{#ifeq: {{bl|{{{name|}}}|string=y}} | y
| –
| {{#ifeq: {{{name|}}} |
| –
| {{{name|}}}
}}
}}
}}
}}</td>
<td>{{#ifeq: {{#var:type|}} | y
| {{#ifeq: {{bl|{{{type|}}}|string=y}} | n
| –
| {{#ifeq: {{bl|{{{type|}}}|string=y}} | y
| –
| {{#ifeq: {{{type|}}} |
| –
| {{{type|}}}
}}
}}
}}
}}</td>
<td>{{#ifeq: {{#var:nameid|}} | y
| {{#ifeq: {{bl|{{{nameid|}}}|string=y}} | n
| –
| {{#ifeq: {{bl|{{{nameid|}}}|string=y}} | y
| –
| {{#ifeq: {{{nameid|}}} |
| –
| {{#arraydefine:namespacedids|{{{nameid|}}}|,}}{{#arrayprint:namespacedids|<br>|@@@@|<code>@@@@</code>}}
}}
}}
}}
}}</td>
<td>{{#ifeq: {{#var:numid|}} | y
| {{#ifeq: {{bl|{{{numid|}}}|string=y}} | n
| –
| {{#ifeq: {{bl|{{{numid|}}}|string=y}} | y
| –
| {{#ifeq: {{{numid|}}} |
| –
| {{{numid|}}}
}}
}}
}}
}}</td>
</tr>{{#ifeq: {{bl|{{{foot|}}}}} | y | </table>{{#vardefine: idtable|}}{{#vardefine:hasname|}}{{#vardefine:type|}}{{#vardefine:nameid|}}{{#vardefine:numid|}} | }}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Put categories on the documentation page -->
<!-- Put categories on the documentation page -->
</noinclude>
</noinclude>

Latest revision as of 18:53, 31 March 2023

[view | edit | history | purge]Documentation
This article is a stub.
Help us make this wiki Better than Adventure by expanding it!

Usage[edit source]

Name Type Namespaced ID Numeric ID
Wooden Chest Block tile.chest.planks.oak
tile.chest.planks.oak.painted.white
tile.chest.planks.oak.painted.orange
tile.chest.planks.oak.painted.magenta
tile.chest.planks.oak.painted.lightblue
tile.chest.planks.oak.painted.yellow
tile.chest.planks.oak.painted.lime
tile.chest.planks.oak.painted.pink
tile.chest.planks.oak.painted.gray
tile.chest.planks.oak.painted.silver
tile.chest.planks.oak.painted.cyan
tile.chest.planks.oak.painted.purple
tile.chest.planks.oak.painted.blue
tile.chest.planks.oak.painted.brown
tile.chest.planks.oak.painted.green
tile.chest.planks.oak.painted.red
tile.chest.planks.oak.painted.black
–
Wooden Chest Block – –
Wooden Chest Block – –
[view | edit | history | purge]The above documentation is transcluded from Template:ID table/doc.