Difference between revisions of "Template:DataTable"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(Great job you honkadonk, you did it backwards.)
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) {{{ID4|---}}} <br> (1.16.5) {{{ID3|---}}} <br> (1.12.2) {{{ID2|---}}} <br> (1.7.10) {{{ID1|---}}}</includeonly><noinclude>
| (1.20.4) {{{ID1|---}}} <br> (1.16.5) {{{ID2|---}}} <br> (1.12.2) {{{ID3|---}}} <br> (1.7.10) {{{ID4|---}}}</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 11: 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 1.7.10 ID of the item        -->
|ID1=        <!-- The Modern ID of the item        -->
|ID2=        <!-- The 1.12.2 ID of the item        -->
|ID2=        <!-- The 1.16.5 ID of the item        -->
|ID3=        <!-- The 1.16.5 ID of the item        -->
|ID3=        <!-- The 1.12.2 ID of the item        -->
|ID4=        <!-- The Modern ID of the item        -->
|ID4=        <!-- The 1.7.10 ID of the item        -->
|Tags=        <!-- All Tags of this item            -->
|Tags=        <!-- All Tags for this item            -->
}}
}}
</pre>
</pre>

Revision as of 08:28, 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 Modern ID of the item        -->
|ID2=         <!-- The 1.16.5 ID of the item        -->
|ID3=         <!-- The 1.12.2 ID of the item        -->
|ID4=         <!-- The 1.7.10 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) towerwood
(1.16.5) towerwood
(1.12.2) towerwood
(1.7.10) ---
Cracked Towerwood Planks
Cracked Towerwood Planks.png
towerwood (1.20.4) cracked_towerwood
(1.16.5) cracked_towerwood
(1.12.2) cracked_towerwood
(1.7.10) ---