Difference between revisions of "Template:Infobox relax release"
Jump to navigation
Jump to search
(Use of some non-breakable spaces.) |
(The PDF icon image is now a link to the PDF manual in the repository.) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| title = Official relax releases | | title = Official relax releases | ||
− | | image = [[File:Ulysses_mini.png|200px|alt=relax logo]] | + | | image = [[File:Ulysses_mini.png|200px|alt=relax logo|link=http://www.nmr-relax.com]] |
| titlestyle = background:#e5feff; | | titlestyle = background:#e5feff; | ||
| bodystyle = width:28em | | bodystyle = width:28em | ||
Line 8: | Line 8: | ||
| data2 = {{{!}} style="width:100%" | | data2 = {{{!}} style="width:100%" | ||
− | !Previous version | + | !{{#if: {{{prev|}}} | style="text-align:left"{{!}}Previous version }} |
!{{#if: {{{next|}}} | style="text-align:right"{{!}}Next version }} | !{{#if: {{{next|}}} | style="text-align:right"{{!}}Next version }} | ||
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}}{{#if: {{{prev|}}} | style="text-align:left"{{!}}[[relax {{{prev}}}|← relax {{{prev}}}]]}} |
− | {{!}}{{#if: {{{next|}}} | style="text-align:right"{{!}}[[relax {{{ | + | {{!}}{{#if: {{{next|}}} | style="text-align:right"{{!}}[[relax {{{next}}}|relax {{{next}}} →]]}} |
{{!}}} | {{!}}} | ||
+ | |||
---- | ---- | ||
− | | label3 = | + | | label3 = Keywords |
| data3 = {{#if: {{{keywords|}}} | {{{keywords}}} }} | | data3 = {{#if: {{{keywords|}}} | {{{keywords}}} }} | ||
− | | label4 = | + | | label4 = Release type |
| data4 = {{#if: {{{type|}}} | {{{type}}} }} | | data4 = {{#if: {{{type|}}} | {{{type}}} }} | ||
| label5 = Release date | | label5 = Release date | ||
| data5 = {{{date|Unknown release date}}} | | data5 = {{{date|Unknown release date}}} | ||
+ | |||
+ | | data6 = {{#ifeq: {{{manual|}}} | no | | ---- }} | ||
+ | |||
+ | | data7 = {{#ifeq: {{{manual|}}} | no | | [[File:Application-pdf.png|frameless|The PDF version of the relax {{{version}}} user manual|link={{relax url|tag={{{version}}}|path=docs/relax.pdf|view=raw}}]] {{relax source|tag={{{version}}}|path=docs/relax.pdf|view=raw|text=The relax {{{version}}} user manual}} }} | ||
}}<noinclude> | }}<noinclude> |
Latest revision as of 12:35, 22 February 2019
relax version x.y.z | |||||
| |||||
Release date | Unknown release date | ||||
---|---|---|---|---|---|
| |||||
The relax {{{version}}} user manual |
Template documentation
Goal
To present an InfoBox to summarise the relax release, and provide links to previous and next versions.
Usage
{{infobox relax release |version= |prev= |next= |keywords= |type= |date= |manual= }}
- version
- The relax version number.
- prev
- The previous relax version number.
- next
- The next relax version number (optional).
- keywords
- Any keywords to describe the release with (optional).
- type
- The release type, for example
Major feature
,Minor feature
,Major bugfix
,Minor bugfix
, etc. (optional). - date
- The release date.
- manual
- If this is set to 'yes', or anything for that matter, a link will be provided for the PDF copy of the manual saved in the
/tags/<version>/docs/relax.pdf
path of the SVN repository.
Example
{{infobox relax release | version = 3.3.0 | prev = 3.2.3 | next = 3.3.1 | keywords = Relaxation dispersion | type = Major feature | date = 3 September 2014 | manual = yes }}
relax version 3.3.0 | |||||
| |||||
Keywords | Relaxation dispersion | ||||
---|---|---|---|---|---|
Release type | Major feature | ||||
Release date | 3 September 2014 | ||||
| |||||
The relax 3.3.0 user manual |