Difference between revisions of "Template:History"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>* {{#switch:{{{1|}}} |
− | * {{#switch:{{{1|}}} | ||
|1.0=[[Version_History#Version_1.0|1.0]] | |1.0=[[Version_History#Version_1.0|1.0]] | ||
|1.01=[[Version_History#Version_1.0|1.01]] | |1.01=[[Version_History#Version_1.0|1.01]] | ||
Line 14: | Line 13: | ||
|1.1.0=[[Version_History#Version_1.1.0|1.1.0]] | |1.1.0=[[Version_History#Version_1.1.0|1.1.0]] | ||
|#default =[[Version_History#{{{1|}}}|{{{1|}}}]] | |#default =[[Version_History#{{{1|}}}|{{{1|}}}]] | ||
− | }}: {{{2|}}} | + | }}: {{{2|}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}[[Category:General wiki templates]]</noinclude> |
− | </includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}[[Category:General wiki templates]]</noinclude> |
Revision as of 04:48, 28 September 2016
Description
This template creates a list entry for version changes in an article or page, with a link to that version in the Version History.
Use
Common case
The convention is to add a History section at the bottom of the page, just above the navboxes:
==History== {{History|1.0|Introduced.}} {{History|1.1|Adjusted Rancher bonus to 20%, up from 10%, Artisan now increases the value of [[Artisan Goods]] by 40%, down from 50%}} {{History|1.2.26|Farming level now affects crop yield prior to level 10.}}
Minus the header, this results in:
- 1.0: Introduced.
- 1.1.0: Adjusted Rancher bonus to 20%, up from 10%, Artisan now increases the value of Artisan Goods by 40%, down from 50%
- 1.2.26: Farming level now affects crop yield prior to level 10.
Version label
In niche cases, you can override the link text shown for the version number. For example:
{{History|1.3.27|version label=1.3|Farming level now affects crop yield prior to level 10.}}
- 1.3.27: Farming level now affects crop yield prior to level 10.