Difference between revisions of "UnusedTable"
From Sonic Retro
BSonirachi (talk | contribs) |
BSonirachi (talk | contribs) m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{|class="prettytable" style="width:auto" | + | <includeonly>{{#vardefine:ids|{{{ids|}}}}}{{#vardefine:offsets|{{{offsets|}}}}} |
− | !{{{type|}}} | + | {|class="prettytable" style="width:auto" |
− | {{#ifeq:{{ | + | !{{{type|}}}{{#ifeq:{{#var:ids}}|yes| |
− | {{#ifeq:{{ | + | !!ID}}{{#ifeq:{{#var:offsets}}|yes| |
+ | !!Offset}} | ||
!Description | !Description | ||
|- | |- | ||
Line 39: | Line 40: | ||
}} | }} | ||
+ | ==Tests== | ||
+ | {{UnusedTable|type=Art| | ||
+ | {{UnusedRow | ||
+ | | content={{SpriteImage|Sonic3K MD Sprite Monitors.png|crop_width=28}} | ||
+ | | desc=A blank monitor that harms the player when broken. Set a monitor subtype to {{hex|00}} to view it in-game. | ||
+ | }} | ||
+ | }} | ||
+ | {{UnusedTable|type=Art|ids=yes| | ||
+ | {{UnusedRow | ||
+ | | content={{SpriteImage|Sonic3K MD Sprite Monitors.png|crop_width=28}} | ||
+ | | id=1 | ||
+ | | desc=A blank monitor that harms the player when broken. Set a monitor subtype to {{hex|00}} to view it in-game. | ||
+ | }} | ||
+ | }} | ||
+ | {{UnusedTable|type=Art|offsets=yes| | ||
+ | {{UnusedRow | ||
+ | | content={{SpriteImage|Sonic3K MD Sprite Monitors.png|crop_width=28}} | ||
+ | | offset=2 | ||
+ | | desc=A blank monitor that harms the player when broken. Set a monitor subtype to {{hex|00}} to view it in-game. | ||
+ | }} | ||
+ | }} | ||
+ | {{UnusedTable|type=Art|ids=yes|offsets=yes| | ||
+ | {{UnusedRow | ||
+ | | content={{SpriteImage|Sonic3K MD Sprite Monitors.png|crop_width=28}} | ||
+ | | id=1 | ||
+ | | offset=2 | ||
+ | | desc=A blank monitor that harms the player when broken. Set a monitor subtype to {{hex|00}} to view it in-game. | ||
+ | }} | ||
+ | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 14:39, 4 December 2022
Template for displaying unused content in a table.
Usage
{{UnusedTable|type=|ids=yes|offsets=yes| {{UnusedRow | content= | id= | offset= | desc= }} }}
The "type" variable is for defining what type of content is unused, such as "Art", "Audio" or "Model", and is required.
The "ids" and "offsets" variables are optional. If neither are needed, omit "ids=yes" and "offsets=yes".
Examples
Art | Description |
---|---|
Unused door barriers from Aquatic Ruin Zone. |
Audio | ID | Description |
---|---|---|
08EH | Sound code 08EH in the sound test is a short jingle that is not used in either version. |
Tests
Art | Description |
---|---|
A blank monitor that harms the player when broken. Set a monitor subtype to 00 to view it in-game. |
Art | ID | Description |
---|---|---|
1 | A blank monitor that harms the player when broken. Set a monitor subtype to 00 to view it in-game. |
Art | Offset | Description |
---|---|---|
2 | A blank monitor that harms the player when broken. Set a monitor subtype to 00 to view it in-game. |
Art | ID | Offset | Description |
---|---|---|---|
1 | 2 | A blank monitor that harms the player when broken. Set a monitor subtype to 00 to view it in-game. |