Template:Latest Releases: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Fed 11)
(update doc)
Line 48: Line 48:


<span class="plainlinks">
<span class="plainlinks">
<table border=1 cellspacing=0>
{| border=1 cellspacing=0
|-
<tr><th> Line </th><th colspan="2"> Current text </th></tr>
! Line
<tr><td> Stable </td>
! colspan="2" | Current text
<td> {{:Template:Latest Releases/stable}} </td><td> [{{fullurl:Template:Latest Releases/stable|action=edit}} edit] </td></tr>
|-
<tr><td> RC </td>
|colspan="3" align="center"| XO-1 builds
<td> {{:Template:Latest Releases/rc}} </td><td> [{{fullurl:Template:Latest Releases/rc|action=edit}} edit] </td></tr>
|-
<tr><td> Stable flavors </td>
| XO-1 stable
<td> {{:Template:Latest Releases/flavors}} ''currently disabled'' </td><td> [{{fullurl:Template:Latest Releases/flavors|action=edit}} edit] </td></tr>
| {{:Template:Latest Releases/stable}}
<tr><td> Devel </td>
<td> {{:Template:Latest Releases/devel}} </td><td> [{{fullurl:Template:Latest Releases/devel|action=edit}} edit] </td></tr>
| [{{fullurl:Template:Latest Releases/stable|action=edit}} edit]
|-
<tr><td> Live CD </td>
| ''RC''
<td> {{:Template:Latest Releases/livecd}} </td><td> [{{fullurl:Template:Latest Releases/livecd|action=edit}} edit] </td></tr>
| {{:Template:Latest Releases/rc}} ''n/a''
<tr><td> Firmware </td>
<td> {{:Template:Latest Releases/firmware}} </td><td> [{{fullurl:Template:Latest Releases/firmware|action=edit}} edit] </td></tr>
| [{{fullurl:Template:Latest Releases/rc|action=edit}} edit]
|-
<tr><td> Server </td>
| Stable flavors
<td> {{:Template:Latest Releases/XS server software}}</td><td> [{{fullurl:Template:Latest Releases/XS server software|action=edit}} edit] </td></tr>
| {{:Template:Latest Releases/flavors}} ''currently disabled''
<tr><td> Extra Text </td>
<td> {{:Template:Latest Releases/text}} </td><td> [{{fullurl:Template:Latest Releases/text|action=edit}} edit] </td></tr>
| [{{fullurl:Template:Latest Releases/flavors|action=edit}} edit]
|-
</table>
| Fedora 11
| {{:Template:Latest Releases/f11-xo-1}}
| [{{fullurl:Template:Latest Releases/f11-xo-1|action=edit}} edit]
|-
| Devel
| {{:Template:Latest Releases/devel}}
| [{{fullurl:Template:Latest Releases/devel|action=edit}} edit]
|-
| Live CD
| {{:Template:Latest Releases/livecd}}
| [{{fullurl:Template:Latest Releases/livecd|action=edit}} edit]
|-
| Firmware
| {{:Template:Latest Releases/firmware}}
| [{{fullurl:Template:Latest Releases/firmware|action=edit}} edit]
|-
|colspan="3" align="center"| XO-1.5 builds
|-
| [[F11 on 1.5|F11 on 1.5]]
| {{:Template:Latest Releases/stable-1.5}}
| [{{fullurl:Template:Latest Releases/stable-1.5|action=edit}} edit]
|-
| [[Firmware]]
| {{:Template:Latest Releases/firmware-1.5}}
| [{{fullurl:Template:Latest Releases/firmware-1.5|action=edit}} edit]
|-
|colspan="3" align="center"| Other builds
|-
| Server
| {{:Template:Latest Releases/XS server software}}
| [{{fullurl:Template:Latest Releases/XS server software|action=edit}} edit]
|-
| Extra Text
| {{:Template:Latest Releases/text}}
| [{{fullurl:Template:Latest Releases/text|action=edit}} edit]
|}

</span>
</span>
<br clear="all">
<br clear="all">

Revision as of 12:58, 20 April 2010

  English | 한글 HowTo [ID# 234811]  +/-  



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
XO-1 builds
XO-1 stable 13.2.11 2020-01-29 edit
RC disabled
n/a
edit
Stable flavors currently disabled edit
Fedora 11 10.1.3 2011-01-16 edit
Devel 13.2.0 upcoming edit
Live CD LiveCD (2008-11-06) edit
Firmware Q2E48 2011-10-13 edit
XO-1.5 builds
F11 on 1.5 13.2.0 2013-07-17 edit
Firmware Q3B22 2011-10-24 edit
Other builds
Server xs-0.7 2012-02-20 edit
Extra Text
updating the XO +/-
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 }}


{{ Latest Releases | firmware = inline | server = inline }}


{{ 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