Actions

Template

Difference between revisions of "UnusedTable"

From Sonic Retro

Line 1: Line 1:
 
<includeonly>{|class="prettytable" style="width:auto"
 
<includeonly>{|class="prettytable" style="width:auto"
 
!{{{type|}}}
 
!{{{type|}}}
 +
{{#ifeq:{{{ids|}}}|yes|{{#vardefine:ids|{{{ids|}}}}}!IDs}}
 +
{{#ifeq:{{{offsets|}}}|yes|{{#vardefine:offsets|{{{offsets|}}}}}!Offsets}}
 
!Description
 
!Description
 
|-
 
|-
 
{{{1|}}}
 
{{{1|}}}
|}</includeonly><noinclude>
+
|}[[Category:Hidden content]]</includeonly><noinclude>
 
Template for displaying unused content in a table.
 
Template for displaying unused content in a table.
  
<pre>{{UnusedTable|type=|
+
==Usage==
 +
<pre>{{UnusedTable|type=|ids=yes|offsets=yes|
 
{{UnusedRow
 
{{UnusedRow
| sprite=
+
| content=
 +
| id=
 +
| offset=
 
| desc=
 
| desc=
 
}}
 
}}
 
}}</pre>
 
}}</pre>
 +
 +
The "<tt>type</tt>" variable is for defining what type of content is unused, such as "Art", "Audio" or "Model", and is required.
 +
 +
The "<tt>ids</tt>" and "<tt>offsets</tt>" variables are optional. If neither are needed, omit "<tt>ids=yes</tt>" and "<tt>offsets=yes</tt>".
  
 
==Examples==
 
==Examples==
 
{{UnusedTable|type=Art|
 
{{UnusedTable|type=Art|
 
{{UnusedRow
 
{{UnusedRow
| sprite={{SpriteImage|Aquatic ruin door.png}}
+
| content={{SpriteImage|Aquatic ruin door.png}}
 
| desc=Unused door barriers from [[Aquatic Ruin Zone]].
 
| desc=Unused door barriers from [[Aquatic Ruin Zone]].
 
}}
 
}}
 
}}
 
}}
  
{{UnusedTable|type=Audio|
+
{{UnusedTable|type=Audio|ids=yes|
 
{{UnusedRow
 
{{UnusedRow
| sprite=[[File:SonicChaos GG SoundCode08EH.ogg]]
+
| content=[[File:SonicChaos GG SoundCode08EH.ogg]]
 +
| id=08EH
 
| desc=Sound code '''08EH''' in the sound test is a short jingle that is not used in either version.
 
| desc=Sound code '''08EH''' in the sound test is a short jingle that is not used in either version.
 
}}
 
}}

Revision as of 18:24, 3 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
Aquatic ruin door.png
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.