Difference between revisions of "Template:Infobox relax release/doc"

From relax wiki
Jump to navigation Jump to search
(Documented the 'prev' and 'next' parameters.)
(Documented the 'type' and 'date' parameters.)
Line 10: Line 10:
 
  {{!}}''prev=''
 
  {{!}}''prev=''
 
  {{!}}''next=''
 
  {{!}}''next=''
 +
{{!}}''type=''
 +
{{!}}''date=''
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
Line 15: Line 17:
 
; prev    : The previous relax version number.
 
; prev    : The previous relax version number.
 
; next    : The next relax version number (optional).
 
; next    : The next relax version number (optional).
 +
; type    : The release type, for example <code>Major feature</code>, <code>Minor feature</code>, <code>Major bugfix</code>, <code>Minor bugfix</code>, etc.
 +
; date    : The release date.
  
 
== Example ==
 
== Example ==
Line 23: Line 27:
 
| prev    = 3.2.3
 
| prev    = 3.2.3
 
| next    = 3.3.1
 
| next    = 3.3.1
 +
| type    = Major feature
 +
| date    = 3 September 2014
 
}}
 
}}
 
</pre>
 
</pre>
Line 30: Line 36:
 
| prev    = 3.2.3
 
| prev    = 3.2.3
 
| next    = 3.3.1
 
| next    = 3.3.1
 +
| type    = Major feature
 +
| date    = 3 September 2014
 
}}
 
}}
  

Revision as of 15:40, 21 October 2015

Template documentation

Goal

To present an InfoBox to summarise the relax release, and provide links to previous and next versions.

Usage

{{relax release infobox
|version=
|prev=
|next=
|type=
|date=
}}
version 
The relax version number.
prev
The previous relax version number.
next
The next relax version number (optional).
type
The release type, for example Major feature, Minor feature, Major bugfix, Minor bugfix, etc.
date
The release date.

Example

{{relax release infobox
| version = 3.3.0
| prev    = 3.2.3
| next    = 3.3.1
| type    = Major feature
| date    = 3 September 2014
}}

Template:Relax release infobox