Difference between revisions of "Template:HistoryTable"

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!

(Moved documentation to /doc page.)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
+
<includeonly>{| class="wikitable"
 
! [[Version History|Version]]
 
! [[Version History|Version]]
 
! Date
 
! Date
 
! Changes
 
! Changes
 
|-
 
|-
{{#ifeq: {{{1}}}||
+
{{#if: {{{1|}}}|
 
! {{{1}}}
 
! {{{1}}}
 
! {{{2}}}
 
! {{{2}}}
Line 10: Line 10:
 
{{{3}}}}}
 
{{{3}}}}}
 
|-
 
|-
{{#ifeq: {{{4}}}||
+
{{#if: {{{4|}}}|
 
! {{{4}}}
 
! {{{4}}}
 
! {{{5}}}
 
! {{{5}}}
Line 16: Line 16:
 
{{{6}}}}}
 
{{{6}}}}}
 
|-
 
|-
{{#ifeq: {{{7}}}||
+
{{#if: {{{7|}}}|
 
! {{{7}}}
 
! {{{7}}}
 
! {{{8}}}
 
! {{{8}}}
Line 22: Line 22:
 
{{{9}}}}}
 
{{{9}}}}}
 
|-
 
|-
{{#ifeq: {{{10}}}||
+
{{#if: {{{10|}}}|
 
! {{{10}}}
 
! {{{10}}}
 
! {{{11}}}
 
! {{{11}}}
Line 28: Line 28:
 
{{{12}}}}}
 
{{{12}}}}}
 
|-
 
|-
{{#ifeq: {{{13}}}||
+
{{#if: {{{13|}}}|
 
! {{{13}}}
 
! {{{13}}}
 
! {{{14}}}
 
! {{{14}}}
Line 34: Line 34:
 
{{{15}}}}}
 
{{{15}}}}}
 
|-
 
|-
{{#ifeq: {{{15}}}||
+
{{#if: {{{16|}}}|
! {{{15}}}
 
 
! {{{16}}}
 
! {{{16}}}
 +
! {{{17}}}
 
{{!}}
 
{{!}}
{{{17}}}}}
+
{{{18}}}}}
 
|-
 
|-
{{#ifeq: {{{18}}}||
+
{{#if: {{{19|}}}|
! {{{18}}}
 
 
! {{{19}}}
 
! {{{19}}}
 +
! {{{20}}}
 
{{!}}
 
{{!}}
{{{20}}}}}
+
{{{21}}}}}
 
|-
 
|-
{{#ifeq: {{{21}}}||
+
{{#if: {{{22|}}}|
! {{{21}}}
 
 
! {{{22}}}
 
! {{{22}}}
 +
! {{{23}}}
 
{{!}}
 
{{!}}
{{{23}}}}}
+
{{{24}}}}}
 
|-
 
|-
{{#ifeq: {{{24}}}||
+
{{#if: {{{25|}}}|
! {{{24}}}
 
 
! {{{25}}}
 
! {{{25}}}
 +
! {{{26}}}
 
{{!}}
 
{{!}}
{{{26}}}}}
+
{{{27}}}}}
 
|-
 
|-
{{#ifeq: {{{27}}}||
+
{{#if: {{{28|}}}|
! {{{27}}}
 
 
! {{{28}}}
 
! {{{28}}}
 +
! {{{29}}}
 
{{!}}
 
{{!}}
{{{29}}}}}
+
{{{30}}}}}
 
|-
 
|-
{{#ifeq: {{{30}}}||
+
{{#if: {{{31|}}}|
! {{{30}}}
 
 
! {{{31}}}
 
! {{{31}}}
 +
! {{{32}}}
 
{{!}}
 
{{!}}
{{{32}}}}}
+
{{{33}}}}}
 
|-
 
|-
{{#ifeq: {{{33}}}||
+
{{#if: {{{34|}}}|
! {{{33}}}
 
 
! {{{34}}}
 
! {{{34}}}
 +
! {{{35}}}
 
{{!}}
 
{{!}}
{{{35}}}}}
+
{{{36}}}}}
 
|-
 
|-
{{#ifeq: {{{36}}}||
+
{{#if: {{{37|}}}|
! {{{36}}}
 
 
! {{{37}}}
 
! {{{37}}}
 +
! {{{38}}}
 
{{!}}
 
{{!}}
{{{38}}}}}
+
{{{39}}}}}
 
|-
 
|-
{{#ifeq: {{{39}}}||
+
{{#if: {{{40|}}}|
! {{{39}}}
 
 
! {{{40}}}
 
! {{{40}}}
 +
! {{{41}}}
 
{{!}}
 
{{!}}
{{{41}}}}}
+
{{{42}}}}}
 
|-
 
|-
{{#ifeq: {{{42}}}||
+
{{#if: {{{43|}}}|
! {{{42}}}
 
 
! {{{43}}}
 
! {{{43}}}
 +
! {{{44}}}
 
{{!}}
 
{{!}}
{{{44}}}}}
+
{{{45}}}}}
 
|-
 
|-
{{#ifeq: {{{45}}}||
+
{{#if: {{{46|}}}|
! {{{45}}}
 
 
! {{{46}}}
 
! {{{46}}}
 +
! {{{47}}}
 
{{!}}
 
{{!}}
{{{47}}}}}
+
{{{48}}}}}
 
|-
 
|-
{{#ifeq: {{{48}}}||
+
{{#if: {{{49|}}}|
! {{{48}}}
 
 
! {{{49}}}
 
! {{{49}}}
 +
! {{{50}}}
 
{{!}}
 
{{!}}
{{{50}}}}}
+
{{{51}}}}}
 
|-
 
|-
{{#ifeq: {{{51}}}||
+
{{#if: {{{52|}}}|
! {{{51}}}
 
 
! {{{52}}}
 
! {{{52}}}
 +
! {{{53}}}
 
{{!}}
 
{{!}}
{{{53}}}}}
+
{{{54}}}}}
 
|-
 
|-
{{#ifeq: {{{54}}}||
+
{{#if: {{{55|}}}|
! {{{54}}}
 
 
! {{{55}}}
 
! {{{55}}}
 +
! {{{56}}}
 
{{!}}
 
{{!}}
{{{56}}}}}
+
{{{57}}}}}
 
|-
 
|-
{{#ifeq: {{{57}}}||
+
{{#if: {{{58|}}}|
! {{{57}}}
 
 
! {{{58}}}
 
! {{{58}}}
 +
! {{{59}}}
 
{{!}}
 
{{!}}
{{{59}}}}}
+
{{{60}}}}}
 
|-
 
|-
{{#ifeq: {{{60}}}||
+
{{#if: {{{61|}}}|
! {{{60}}}
 
 
! {{{61}}}
 
! {{{61}}}
 +
! {{{62}}}
 
{{!}}
 
{{!}}
{{{62}}}}}
+
{{{63}}}}}
 
|-
 
|-
{{#ifeq: {{{63}}}||
+
{{#if: {{{64|}}}|
! {{{63}}}
 
 
! {{{64}}}
 
! {{{64}}}
 +
! {{{65}}}
 
{{!}}
 
{{!}}
{{{65}}}}}
+
{{{66}}}}}
 
|-
 
|-
{{#ifeq: {{{66}}}||
+
{{#if: {{{67|}}}|
! {{{66}}}
 
 
! {{{67}}}
 
! {{{67}}}
 +
! {{{68}}}
 
{{!}}
 
{{!}}
{{{68}}}}}
+
{{{69}}}}}
 
|-
 
|-
{{#ifeq: {{{69}}}||
+
{{#if: {{{70|}}}|
! {{{69}}}
 
 
! {{{70}}}
 
! {{{70}}}
 +
! {{{71}}}
 
{{!}}
 
{{!}}
{{{71}}}}}
+
{{{72}}}}}
 
|-
 
|-
{{#ifeq: {{{72}}}||
+
{{#if: {{{73|}}}|
! {{{72}}}
 
 
! {{{73}}}
 
! {{{73}}}
 +
! {{{74}}}
 
{{!}}
 
{{!}}
{{{74}}}}}
+
{{{75}}}}}
 
|-
 
|-
{{#ifeq: {{{75}}}||
+
{{#if: {{{76|}}}|
! {{{75}}}
 
 
! {{{76}}}
 
! {{{76}}}
 +
! {{{77}}}
 
{{!}}
 
{{!}}
{{{77}}}}}
+
{{{78}}}}}
 
|-
 
|-
{{#ifeq: {{{78}}}||
+
{{#if: {{{79|}}}|
! {{{78}}}
 
 
! {{{79}}}
 
! {{{79}}}
 +
! {{{80}}}
 
{{!}}
 
{{!}}
{{{80}}}}}
+
{{{81}}}}}
 
|-
 
|-
{{#ifeq: {{{81}}}||
+
{{#if: {{{82|}}}|
! {{{81}}}
 
 
! {{{82}}}
 
! {{{82}}}
 +
! {{{83}}}
 
{{!}}
 
{{!}}
{{{83}}}}}
+
{{{84}}}}}
 
|-
 
|-
{{#ifeq: {{{84}}}||
+
{{#if: {{{85|}}}|
! {{{84}}}
 
 
! {{{85}}}
 
! {{{85}}}
 +
! {{{86}}}
 
{{!}}
 
{{!}}
{{{86}}}}}
+
{{{87}}}}}
 
|-
 
|-
{{#ifeq: {{{87}}}||
+
{{#if: {{{88|}}}|
! {{{87}}}
 
 
! {{{88}}}
 
! {{{88}}}
 +
! {{{89}}}
 
{{!}}
 
{{!}}
{{{89}}}}}
+
{{{90}}}}}
|-
+
|}</includeonly><noinclude>
{{#ifeq: {{{90}}}||
+
{{Documentation}}
! {{{90}}}
+
<!-- Put categories/interwiki on the documentation page. -->
! {{{91}}}
 
{{!}}
 
{{{92}}}}}
 
|}<noinclude>
 
Template to list changelogs from a the page's subject. Can list up to 30 versions.
 
 
 
== Syntax ==
 
<pre>
 
{{HistoryTable
 
| <version>
 
| <date>
 
| <changes>
 
| <version-2>
 
| <date-2>
 
| <changes-2>
 
...
 
}}
 
</pre>
 
 
</noinclude>
 
</noinclude>

Latest revision as of 11:11, 7 July 2023

Template-info.png Template documentation Note: parts of or the entire template might not be visible without values provided.

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"