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

From relax wiki
Jump to navigation Jump to search
(Improved the 'version' parameter documentation.)
(Documented the 'prev' and 'next' parameters.)
Line 8: Line 8:
 
  <nowiki>{{</nowiki>'''relax release infobox'''
 
  <nowiki>{{</nowiki>'''relax release infobox'''
 
  {{!}}''version=''
 
  {{!}}''version=''
 +
{{!}}''prev=''
 +
{{!}}''next=''
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
 
; version : The relax version number.
 
; version : The relax version number.
 
+
; prev    : The previous relax version number.
 +
; next    : The next relax version number (optional).
  
 
== Example ==
 
== Example ==
Line 17: Line 20:
 
<pre>
 
<pre>
 
{{relax release infobox
 
{{relax release infobox
| version = 4.0.6
+
| version = 3.3.0
 +
| prev    = 3.2.3
 +
| next    = 3.3.1
 
}}
 
}}
 
</pre>
 
</pre>
  
 
{{relax release infobox
 
{{relax release infobox
| version = 4.0.6
+
| version = 3.3.0
 +
| prev    = 3.2.3
 +
| next    = 3.3.1
 
}}
 
}}
  

Revision as of 15:11, 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=
}}
version 
The relax version number.
prev
The previous relax version number.
next
The next relax version number (optional).

Example

{{relax release infobox
| version = 3.3.0
| prev    = 3.2.3
| next    = 3.3.1
}}

Template:Relax release infobox