Jump to content

Template:History/doc: Difference between revisions

From Stardew Valley Wiki
imported>Pathoschild
+ template category
imported>Margotbean
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
This template creates a list entry for version changes in an article or page, with a link to that version in the [[Version History]].
This template creates a list entry for version changes in an article or page, with a link to that version in the [[Version History]].


==Usage==
==Use==
===Common case===
The convention is to add a ''History'' section at the bottom of the page, just above the navboxes:
The convention is to add a ''History'' section at the bottom of the page, just above the navboxes:


<pre>
<pre>
==History==
==History==
{{history|1.0|Introduced.}}
{{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.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|Farming level now affects crop yield prior to level 10.}}
{{History|1.2.26|Farming level now affects crop yield prior to level 10.}}
</pre>
</pre>


Minus the header, this results in:
Minus the header, this results in:
{{history|1.0|Introduced.}}
{{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.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|Farming level now affects crop yield prior to level 10.}}
{{History|1.2.26|Farming level now affects crop yield prior to level 10.}}
<includeonly>
[[Category:General wiki templates]]


[[de:Vorlage:{{PAGENAME}}]]
===Version label===
[[es:Plantilla:{{PAGENAME}}]]
In niche cases, you can override the link text shown for the version number. For example:
[[ja:テンプレート:{{PAGENAME}}]]
 
[[pt:Predefinição:{{PAGENAME}}]]
<pre>
[[ru:Шаблон:{{PAGENAME}}]]
{{History|1.3.27|version label=1.3|Farming level now affects crop yield prior to level 10.}}
[[zh:Template:{{PAGENAME}}]]
</pre>
</includeonly>
{{History|1.3.27|version label=1.3|Farming level now affects crop yield prior to level 10.}}
<noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 21:55, 8 January 2023

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: 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: Farming level now affects crop yield prior to level 10.