Difference between revisions of "Template:History/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Created page with "==Description== This template provides a table row for a history entry in an article or page. It lists the version history and provides a link to that version's section in the...")
 
m
Line 1: Line 1:
 
==Description==
 
==Description==
This template provides a table row for a history entry 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 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.
  
 
The second unnamed parameter is simply the description of changes. This passes to the template untouched.
 
The second unnamed parameter is simply the description of changes. This passes to the template untouched.
  
 
==Usage==
 
==Usage==
This template can be used by entering the following onto a relevant page inside the [[Template:Historysection|historysection]] template. Because this template is the inside part of a table it won't work by itself.
+
Proper page formatting is to insert the template at the bottom of the page, just above the navboxes under a History header.
 +
 
 +
This template should be used by entering the following onto a relevant page:
  
 
<pre>
 
<pre>
{{historysection|
+
==History==
 
{{history|''version number''|''version change description''}}
 
{{history|''version number''|''version change description''}}
}}</pre>
+
{{history|''version number 2''|''version 2 change description''}}
 +
etc...
 +
</pre>

Revision as of 04:44, 28 September 2016

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.

The second unnamed parameter is simply the description of changes. This passes to the template untouched.

Usage

Proper page formatting is to insert the template at the bottom of the page, just above the navboxes under a History header.

This template should be used by entering the following onto a relevant page:

==History==
{{history|''version number''|''version change description''}}
{{history|''version number 2''|''version 2 change description''}}
etc...