Template:Nbt: Difference between revisions
Jump to navigation
Jump to search
m oops |
Use the empty icon as an "undefined" icon, rather than showing no icon at all |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | <includeonly>{{#switch: {{{1|}}} | ||
|byte={{nbt/sprite|1|TAG_Byte}} | |byte={{nbt/sprite|1|TAG_Byte}} | ||
|double={{nbt/sprite|2|TAG_Double}} | |double={{nbt/sprite|2|TAG_Double}} | ||
Line 20: | Line 20: | ||
|long array | |long array | ||
|long-array={{nbt/sprite|13|TAG_Long_Array}} | |long-array={{nbt/sprite|13|TAG_Long_Array}} | ||
|={{nbt/sprite|14|Undefined}} | |||
}}{{#if:{{{2|}}}|<span class="nowrap" style="font-weight: bold;"> {{{2}}}</span>}}</includeonly><noinclude> | }}{{#if:{{{2|}}}|<span class="nowrap" style="font-weight: bold;"> {{{2}}}</span>}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Put categories/interwiki on the documentation page --> | <!-- Put categories/interwiki on the documentation page --> | ||
</noinclude> | </noinclude> |