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...")
 
(Spacing Fix.)
Line 3: Line 3:
| [[File:{{{Name|Unknown}}}.png|64px|center]]
| [[File:{{{Name|Unknown}}}.png|64px|center]]
| style="text-align:center" | {{{Tags|}}}
| style="text-align:center" | {{{Tags|}}}
| (1.20.4) twilightforest:{{{ID3|}}} <br> (1.16.5) twilight_forest:{{{ID2|}}} <br> (1.12.2) twilight_forest:{{{ID1|}}}
| (1.20.4) twilightforest:{{{ID3|}}} <br> (1.16.5) twilight_forest:{{{ID2|}}} <br> (1.12.2) twilight_forest:{{{ID1|}}}</includeonly><noinclude>
</includeonly><noinclude>
This template is used to make a nice table for anything relating to the Data Values of anything Twilight related.<br>
This template is used to make a nice table for anything relating to the Data Values of anything Twilight related.<br>
Here is a general breakdown of how to use this template:
Here is a general breakdown of how to use this template:
Line 13: Line 12:
|Image=      <!-- The Image File of this item      -->
|Image=      <!-- The Image File of this item      -->
|ID1=        <!-- The First ID of the item        -->
|ID1=        <!-- The First ID of the item        -->
|ID1=        <!-- The Second ID of the item        -->
|ID2=        <!-- The Second ID of the item        -->
|ID1=        <!-- The Third ID of the item        -->
|ID3=        <!-- The Third ID of the item        -->
|Tags=        <!-- All Tags of this item            -->
|Tags=        <!-- All Tags of this item            -->
}}
}}

Revision as of 19: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         -->
|ID2=         <!-- The Second ID of the item        -->
|ID3=         <!-- 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