Changes

Jump to navigation Jump to search
101 bytes removed ,  15:57, 15 May 2017
simplify & update description, add example usage
Line 1: Line 1:  
==Description==
 
==Description==
This template provides a list entry for version changes in an article or page. It lists the version history and provides a link to that version's section in the [[Version History]] page. If it's an unknown build or unconfigured it will default to whatever is entered in the build field as a subsection of the [[Version History]] page. It always links the first unnamed parameter back to that page.
+
This template creates a list entry for version changes in an article or page, with a link to that version in the [[Version History]].
 
  −
The second unnamed parameter is simply the description of changes. This passes to the template untouched.
      
==Usage==
 
==Usage==
Proper page formatting is to insert the template at the bottom of the page, just above the navboxes under a History header.
+
The convention is to add a ''History'' section at the bottom of the page, just above the navboxes:
 
  −
This template should be used by entering the following onto a relevant page:
      
<pre>
 
<pre>
 
==History==
 
==History==
{{history|''version number''|''version change description''}}
+
{{history|1.0|Introduced.}}
{{history|''version number 2''|''version 2 change description''}}
+
{{history|1.1|Adjusted Rancher bonus to 20%, up from 10%, Artisan now increases the value of [[Artisan Goods]] by 40%, down from 50%}}
etc...
+
{{history|1.2|Farming level now affects crop yield prior to level 10.}}
 
</pre>
 
</pre>
<includeonly>[[de:Vorlage:{{PAGENAME}}]]
+
 
 +
Minus the header, this results in:
 +
{{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|Farming level now affects crop yield prior to level 10.}}
 +
<includeonly>
 +
[[de:Vorlage:{{PAGENAME}}]]
 
[[es:Plantilla:{{PAGENAME}}]]
 
[[es:Plantilla:{{PAGENAME}}]]
 
[[ja:テンプレート:{{PAGENAME}}]]
 
[[ja:テンプレート:{{PAGENAME}}]]
 
[[pt:Predefinição:{{PAGENAME}}]]
 
[[pt:Predefinição:{{PAGENAME}}]]
 
[[ru:Шаблон:{{PAGENAME}}]]
 
[[ru:Шаблон:{{PAGENAME}}]]
[[zh:Template:{{PAGENAME}}]]</includeonly>
+
[[zh:Template:{{PAGENAME}}]]
 +
</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>
translators
8,438

edits

Navigation menu