Template:Latest Releases: Difference between revisions
m (reduce left margin) |
(try to clean up) |
||
Line 1: | Line 1: | ||
<noinclude>{{Translations}}</noinclude> |
<noinclude>{{Translations}}</noinclude> |
||
<includeonly><div class="plainlinks" style="clear: right; margin: .5em 0 .5em 1.3em; float:right; font-size:80%; max-width: |
<includeonly><div class="plainlinks" style="clear: right; margin: .5em 0 .5em 1.3em; float:right; font-size:80%; max-width:205px; padding:0.3em; background:#c1fea1; color:#0a6c00; border:2px solid #8ad962;"> |
||
<big>'''Latest Releases:'''</big> [[OS images]] |
<big>'''Latest Releases:'''</big> [[OS images]] <!-- |
||
--><hr />[[Builds#Stable_builds|Stable]]: {{:Template:Latest Releases/stable}} <!-- |
|||
COMMENTED OUT UNTIL FURTHER STABLENESS... <span style="display:{{{stable|none}}}"> |
|||
--><span style="display:{{{rc|none}}}"><br />[[Release_Process_Home#Types_of_Builds|Release candidate]]: {{:Template:Latest Releases/rc}}</span><span style="display:{{{devel|none}}}"><br />[[Test Group Release Notes|Devel]]: {{:Template:Latest Releases/devel}}</span><span style="display:{{{livecd|none}}}"><br />[[Live CD]]: {{:Template:Latest Releases/livecd}}</span><span style="display:{{{firmware|none}}}"><br />[[Firmware]]: {{:Template:Latest Releases/firmware}}</span><span style="display:{{{server|none}}}"><hr />[[School server|School Server]]: {{:Template:Latest Releases/XS_server_software}} <hr />{{{extra_text|{{:Template:Latest Releases/text}}}}}</span></div></includeonly><noinclude> |
|||
<br>{{:Template:Latest Releases/flavors}}</span> |
|||
--><span style="display:{{{rc|none}}}"><!-- |
|||
--><br />[[Release Process Home#Types of Builds|Release candidate]]: {{:Template:Latest Releases/rc}}</span><!-- |
|||
--><span style="display:{{{devel|none}}}"><!-- |
|||
--><br />[[Test Group Release Notes|Devel]]: {{:Template:Latest Releases/devel}}</span><!-- |
|||
--><span style="display:{{{livecd|none}}}"><!-- |
|||
--><br />[[Live CD]]: {{:Template:Latest Releases/livecd}}</span><!-- |
|||
--><span style="display:{{{firmware|none}}}"><!-- |
|||
--><br />[[Firmware]]: {{:Template:Latest Releases/firmware}}</span><!-- |
|||
--><span style="display:{{{server|none}}}"><!-- |
|||
--><hr />[[School server|School Server]]: {{:Template:Latest Releases/XS_server_software}}<!-- |
|||
--><hr />{{{extra_text|{{:Template:Latest Releases/text}}}}}</span></div></includeonly> |
|||
<noinclude> |
|||
<!-- |
<!-- |
||
== NOTE to EDITORS: == |
== NOTE to EDITORS: == |
||
The (lumped) code above has that shape (or rather lack of it) so that the 'span' directives control the CR & LF (which otherwise would interfere with the layout if it was formatted). |
The (lumped) code above has that shape (or rather lack of it) so that the 'span' directives control the CR & LF (which otherwise would interfere with the layout if it was formatted). |
||
Please edit carefully. Sorry for the lump. |
Please edit carefully. Sorry for the lump. Now with added html comments to improve lumpiness --sj. |
||
--> |
--> |
Revision as of 00:07, 6 December 2009
Stable: 13.2.11 || 2020-01-29
Release candidate: disabled
Devel: 13.2.0 || upcoming
Live CD: LiveCD (2008-11-06)
Firmware: Q2E48 || 2011-10-13
School Server: xs-0.7 || 2012-02-20
This template shows the latest releases available, displayed in an "infobox". You can control which lines appear in the infobox (except for the header and Stable: lines which will always show).
The actual links and strings for each line are separate from the template to simplify maintenance. To update a line in the infobox follow one of the links below:
Line | Current text | |
---|---|---|
Stable | 13.2.11 || 2020-01-29 | edit |
RC | disabled | edit |
Stable flavors | currently disabled | edit |
Devel | 13.2.0 || upcoming | edit |
Live CD | LiveCD (2008-11-06) | edit |
Firmware | Q2E48 || 2011-10-13 | edit |
Server | xs-0.7 || 2012-02-20 | edit |
Extra Text |
| edit |
Usage
Don't hardcode build and release information in pages. Unless a page is obviously historical (e.g. "April 2007 test results") never say "the current release is 708". Instead, invoke this template to present latest release information.
{{ Latest Releases | stable = inline <!-- OPTIONAL -- shows the stable flavors --> | rc = inline <!-- OPTIONAL -- shows the release candidate info --> | devel = inline <!-- OPTIONAL -- shows the devel-build info --> | livecd = inline <!-- OPTIONAL -- shows the Live CD info --> | firmware = inline <!-- OPTIONAL -- shows the firmware info --> | server = inline <!-- OPTIONAL -- shows the server info --> | extra_text = whatever <!-- OPTIONAL -- shows extra comment text if something is entered; if none is defined: '<center>[[Release notes/8.2.1|release notes]] · [[Updating the XO|how to update...]] <small>[[:Template:Latest_Releases|+/-]]</small></center>' --> }}
If you just want to display a particular latest build within a paragraph, you can invoke one of the sub-templates:
The current release candidate is {{Latest Releases/rc}}
Samples
{{ Latest Releases | stable = inline }}
{{ Latest Releases | devel = inline }}
{{ Latest Releases | livecd = inline }}
{{ Latest Releases | firmware = inline }}
Stable: 13.2.11 || 2020-01-29
Firmware: Q2E48 || 2011-10-13
School Server: xs-0.7 || 2012-02-20
{{ Latest Releases | firmware = inline | server = inline }}
Stable: 13.2.11 || 2020-01-29
Release candidate: disabled
Devel: 13.2.0 || upcoming
Live CD: LiveCD (2008-11-06)
Firmware: Q2E48 || 2011-10-13
School Server: xs-0.7 || 2012-02-20
{{ Latest Releases | stable = inline | rc = inline | devel = inline | livecd = inline | firmware = inline | server = inline | extra_text = <center>possibly a [[The OLPC Wiki|link]] or text</center> }}
The current release candidate is {{Latest Releases/rc}}
produces
The current release candidate is disabled