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
m
Line 1: Line 1:
{{tocright}}
 
== Description ==
 
 
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. It can list up to 30 versions.
  
Line 6: Line 4:
 
Parameters are unamed, but they are separated in groups of three parameters, each consisting of the following:
 
Parameters are unamed, but they are separated in groups of three parameters, each consisting of the following:
  
* '''Version''': The version of the game in which a change was applied. It's notation is just the version number (e.g.: 1.25). If the relevant change 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 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 ''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> elements as a result instead of 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).
  
 
== Syntax ==
 
== Syntax ==

Revision as of 13:12, 7 July 2023

This template lists changelogs from related to the page's subject in a table. It can list up to 30 versions.

Usage

Parameters are unamed, but they are separated in groups of three parameters, each consisting of the following:

  • 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 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"