Difference between revisions of "Template:HistoryTable/doc"

From Mine Blocks Wiki
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

m
 
Line 1: Line 1:
This template lists changelogs from related to the page's subject in a table. It can list up to 30 versions.
+
This template lists changelogs from related to the page's subject in a table consisting of three columns and up to 30 rows, one for each version.
  
 
== Usage ==
 
== Usage ==
Parameters are unamed, but they are separated in groups of three parameters, each consisting of the following:
+
Parameters are unamed, but they consist of each cell from the generated table, in the following order:
  
 
* '''Version''': The version of the game in which one or more relevant changes were applied. It is just the version number (e.g.: 1.25). If the change(s) happened in the [[First 30 days|first 30 days]] of the game, then "First 30 days" should be written with a link to the relevant page.
 
* '''Version''': The version of the game in which one or more relevant changes were applied. It is just the version number (e.g.: 1.25). If the change(s) happened in the [[First 30 days|first 30 days]] of the game, then "First 30 days" should be written with a link to the relevant page.
* '''Date''': The date in which said version was released. It is in ''Mon-DD-YYYY'' format. (e.g.: Nov 19, 2011). If the version was released in the first 30 days, then it is the specific day it was released (e.g.: "Day 12").
+
* '''Date''': The date in which said version was released. It is in the ''Mon-DD-YYYY'' format. (e.g.: Nov 19, 2011). If the version was released in the first 30 days, then it is the specific day it was released (e.g.: "Day 12").
 
* '''Changes''': A list of the changes relevant to the page's subject (note: leading spaces are not allowed in this field as it would render a <code>pre</code> with the text inside of it instead of just plain text).
 
* '''Changes''': A list of the changes relevant to the page's subject (note: leading spaces are not allowed in this field as it would render a <code>pre</code> with the text inside of it instead of just plain text).
  

Latest revision as of 13:16, 7 July 2023

This template lists changelogs from related to the page's subject in a table consisting of three columns and up to 30 rows, one for each version.

Usage

Parameters are unamed, but they consist of each cell from the generated table, in the following order:

  • Version: The version of the game in which one or more relevant changes were applied. It is just the version number (e.g.: 1.25). If the change(s) happened in the first 30 days of the game, then "First 30 days" should be written with a link to the relevant page.
  • Date: The date in which said version was released. It is in the Mon-DD-YYYY format. (e.g.: Nov 19, 2011). If the version was released in the first 30 days, then it is the specific day it was released (e.g.: "Day 12").
  • Changes: A list of the changes relevant to the page's subject (note: leading spaces are not allowed in this field as it would render a pre with the text inside of it instead of just plain text).

Syntax

{{HistoryTable
| <version-1>
| <date-1>
| <changes-1>

| <version-2>
| <date-2>
| <changes-2>

| <version-3>
| <date-3>
| <changes-3>

...

| <version-30>
| <date-30>
| <changes-30>
}}

Example

This example was extracted from the stone article.

{{HistoryTable
| [[First 30 days]]
| [[First 30 days#Day 12|Day 12]]
|Cobblestone can be smelted into stone

| 1.19.0
| Nov 19, 2011
|Updated stone texture

| 1.25
| May 11, 2013
|* Added 11 stairs and 11 half slabs
** Stone, cobblestone, brick, nether brick, stone brick, planks, iron, gold, diamond, obsidian, and bedrock

| 1.26.5
| Jul 03, 2014
|[[Coal Ore]], [[Odd Rock Ore]], and Stone now work with Silk-touch

| 1.29.0
| Sep 27, 2019
|Changed item name and identifier "Rock Backdrop" to "Stone Backdrop"
}}

Results in:

Version Date Changes
First 30 days Day 12

Cobblestone can be smelted into stone

1.19.0 Nov 19, 2011

Updated stone texture

1.25 May 11, 2013
  • Added 11 stairs and 11 half slabs
    • Stone, cobblestone, brick, nether brick, stone brick, planks, iron, gold, diamond, obsidian, and bedrock
1.26.5 Jul 03, 2014

Coal Ore, Odd Rock Ore, and Stone now work with Silk-touch

1.29.0 Sep 27, 2019

Changed item name and identifier "Rock Backdrop" to "Stone Backdrop"