Template:ID table: Difference between revisions
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{#var: idtable | | <includeonly>{{#ifeq: {{#var:idtable|}} | y || {{#vardefine:idtable|y}}<table class="wikitable"><tr><!-- | ||
--> {{# | --> {{#ifeq: {{bl|{{{name|}}}|string=y}} | n | | {{#vardefine:hasname|y}}<th>Name</th> }}<!-- do not change to "name" otherwise it will not work. | ||
--> {{# | --> {{#ifeq: {{bl|{{{type|}}}|string=y}} | n | | {{#vardefine:type|y}}<th>Type</th> }}<!-- | ||
--> {{# | --> {{#ifeq: {{bl|{{{nameid|}}}|string=y}} | n | | {{#vardefine:nameid|y}}<th>Namespaced ID</th> }}<!-- | ||
--> {{# | --> {{#ifeq: {{bl|{{{numid|}}}|string=y}} | n | | {{#vardefine:numid|y}}<th>Numeric ID</th> }}<!-- | ||
--></tr> }}<tr> | --></tr> | ||
{{# | }} | ||
{{# | <tr> | ||
<td>{{#ifeq: {{#var:hasname|}} | y | |||
{{# | | {{#ifeq: {{bl|{{{name|}}}|string=y}} | n | ||
</tr>{{#ifeq: {{bl|{{{foot|}}}}} | y | {{#vardefine: idtable|}}{{#vardefine: | | – | ||
| {{#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 | | | ]Documentation
This article is a stub.
Help us make this wiki Better than Adventure by expanding it!
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 | | | ]The above documentation is transcluded from Template:ID table/doc.