Difference between revisions of "Template:DataTable"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>|- | style="text-align:center" | {{{Name|Unknown}}} | [[File:{{{Name|Unknown}}}.png|64px|center]] | style="text-align:center" | {{{Tags|}}} | (1.20.4) twilightfor...")
(No difference)

Revision as of 20:02, 12 April 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 First ID of the item         -->
|ID1=         <!-- The Second ID of the item        -->
|ID1=         <!-- The Third ID of the item         -->
|Tags=        <!-- All Tags of 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) twilightforest:towerwood
(1.16.5) twilight_forest:towerwood
(1.12.2) twilight_forest:towerwood


Cracked Towerwood Planks
Cracked Towerwood Planks.png
towerwood (1.20.4) twilightforest:cracked_towerwood
(1.16.5) twilight_forest:cracked_towerwood
(1.12.2) twilight_forest:cracked_towerwood