Difference between revisions of "Template:DataTable"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(The ID4 tag is for if the IDs get changed AGAIN (if that does happen ofc), so that we can have an ID5 without messing up all the variables. Honkadonk.)
(The ID4 tag is for if the IDs get changed AGAIN (if that does happen ofc), so that we can have an ID5 without messing up all the variables. Honkadonk.)
 
(No difference)

Latest revision as of 08:30, 12 May 2024

This template is used to make a nice table for anything relating to the Data Values of anything Twilight related.
Here is a general breakdown of how to use this template:

{{DataTable
|Name=        <!-- The Name of this item            -->
|Image=       <!-- The Image File of this item      -->
|ID1=         <!-- The 1.7.10 ID of the item        -->
|ID2=         <!-- The 1.12.2 ID of the item        -->
|ID3=         <!-- The 1.16.5 ID of the item        -->
|ID4=         <!-- The Modern ID of the item        -->
|Tags=        <!-- All Tags for this item            -->
}}

The proper way to use this template is to use it along side a table.
When doing so, multiple instances of {{DataTable}} can be used to make additional rows.

{| class="wikitable" style="margin: auto; width: 50%"
! style="vertical-align:middle" | Name
! style="vertical-align:middle" | Image
! style="vertical-align:middle" | Tags
! style="vertical-align:middle" | IDs

{{DataTable
|Name= Towerwood Planks
|ID1= towerwood
|ID2= towerwood
|ID3= towerwood
|Tags= towerwood
}}

{{DataTable
|Name= Cracked Towerwood Planks
|ID1= cracked_towerwood
|ID2= cracked_towerwood
|ID3= cracked_towerwood
|Tags= towerwood
}}

|}

Name Image Tags IDs
Towerwood Planks
Towerwood Planks.png
towerwood (1.20.4) ---
(1.16.5) towerwood
(1.12.2) towerwood
(1.7.10) towerwood
Cracked Towerwood Planks
Cracked Towerwood Planks.png
towerwood (1.20.4) ---
(1.16.5) cracked_towerwood
(1.12.2) cracked_towerwood
(1.7.10) cracked_towerwood