mNo edit summary |
m (remove style="width:100%;" from wikitable to look better on shorter pages) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{1|}}}{{{2|}}}|{{#ifeq:{{{1|}}}|end|</table>|<tr>{{#if:{{{4|}}}|<td style="text-align:center">{{{2}}}</td><td style="text-align:center">{{{3}}}</td>|<td colspan="2" style="text-align:center">{{{2}}}</td>}}<td style="width:100%">{{{4|{{{3}}}}}}</td></tr>}}|<table class="wikitable |
+ | <includeonly>{{#if:{{{1|}}}{{{2|}}}|{{#ifeq:{{{1|}}}|end|</table>|<tr>{{#if:{{{4|}}}|<td style="text-align:center">{{{2}}}</td><td style="text-align:center">{{{3}}}</td>|<td colspan="2" style="text-align:center">{{{2}}}</td>}}<td style="width:100%">{{{4|{{{3}}}}}}</td></tr>}}|<table class="wikitable"><tr><th colspan="3"><noinclude><translate><!--T:1--> |
</noinclude>Version history<noinclude></translate></noinclude></th></tr>}}</includeonly><noinclude> |
</noinclude>Version history<noinclude></translate></noinclude></th></tr>}}</includeonly><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Latest revision as of 23:47, 26 August 2019
This template is used to create a version changes table.
Parameters
- 1: (Optional) Set to end to end the table.
- 2: (Required for entries) Version number.
- 3: (Optional) Optional build number or additional version number.
- 4: (Required for entries) Change; take verbatim from changelogs if possible.
Example
{{History}} {{History||1.2.3|Changed energy usage from 10 to 50.}} {{History||1.2.3|#123|Added turn-off mechanic.}} {{History|end}}
produces:
Version history | ||
---|---|---|
1.2.3 | Changed energy usage from 10 to 50. | |
1.2.3 | #123 | Added turn-off mechanic. |
The above documentation is transcluded from Template:History/doc. (edit | history)