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...")
 
 
(One intermediate revision by the same user not shown)
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) {{{ID4|---}}} <br> (1.16.5) {{{ID3|---}}} <br> (1.12.2) {{{ID2|---}}} <br> (1.7.10) {{{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 12: Line 11:
|Name=        <!-- The Name of this item            -->
|Name=        <!-- The Name of this item            -->
|Image=      <!-- The Image File of this item      -->
|Image=      <!-- The Image File of this item      -->
|ID1=        <!-- The First ID of the item        -->
|ID1=        <!-- The 1.7.10 ID of the item       -->
|ID1=        <!-- The Second ID of the item        -->
|ID2=         <!-- The 1.12.2 ID of the item        -->
|ID1=        <!-- The Third ID of the item         -->
|ID3=        <!-- The 1.16.5 ID of the item        -->
|ID4=        <!-- The Modern ID of the item       -->
|Tags=        <!-- All Tags of this item            -->
|Tags=        <!-- All Tags of this item            -->
}}
}}

Latest revision as of 04:45, 13 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 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 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) ---
(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