Template:Latest Releases: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
m (fix link to Live CD page)
Line 3: Line 3:
<big>'''Latest Releases:'''</big> [[OS images]]<hr />[[Builds#Stable_builds|Stable]]: {{:Template:Latest Releases/stable}}<!--
<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}}}"><br>{{:Template:Latest Releases/flavors}}</span> END OF COMMENT OUT
COMMENTED OUT UNTIL FURTHER STABLENESS... <span style="display:{{{stable|none}}}"><br>{{:Template:Latest Releases/flavors}}</span> END OF COMMENT OUT
--><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 />[[LiveCd|LiveCD]]: {{:Template:Latest Releases/livecd}}</span><span style="display:{{{firmware|none}}}"><br />[[Firmware]]: {{:Template:Latest Releases/firmware}}</span><span style="display:{{{extra|none}}}"><hr />[[School server|Server]]: {{:Template:Latest Releases/XS_server_software}} <hr />{{{extra_text|{{:Template:Latest Releases/text}}}}}</span></div></includeonly><noinclude>
--><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:{{{extra|none}}}"><hr />[[School server|Server]]: {{:Template:Latest Releases/XS_server_software}} <hr />{{{extra_text|{{:Template:Latest Releases/text}}}}}</span></div></includeonly><noinclude>
<!--
<!--
== NOTE to EDITORS: ==
== NOTE to EDITORS: ==
Line 35: Line 35:
<tr><td> Devel </td>
<tr><td> Devel </td>
<td> {{:Template:Latest Releases/devel}} </td><td> [{{fullurl:Template:Latest Releases/devel|action=edit}} edit] </td></tr>
<td> {{:Template:Latest Releases/devel}} </td><td> [{{fullurl:Template:Latest Releases/devel|action=edit}} edit] </td></tr>
<tr><td> Live-CD </td>
<tr><td> Live CD </td>
<td> {{:Template:Latest Releases/livecd}} </td><td> [{{fullurl:Template:Latest Releases/livecd|action=edit}} edit] </td></tr>
<td> {{:Template:Latest Releases/livecd}} </td><td> [{{fullurl:Template:Latest Releases/livecd|action=edit}} edit] </td></tr>
<tr><td> Firmware </td>
<tr><td> Firmware </td>
Line 56: Line 56:
| rc = inline &lt;!-- OPTIONAL -- shows the release candidate info --&gt;
| rc = inline &lt;!-- OPTIONAL -- shows the release candidate info --&gt;
| devel = inline &lt;!-- OPTIONAL -- shows the devel-build info --&gt;
| devel = inline &lt;!-- OPTIONAL -- shows the devel-build info --&gt;
| livecd = inline &lt;!-- OPTIONAL -- shows the live-cd info --&gt;
| livecd = inline &lt;!-- OPTIONAL -- shows the Live CD info --&gt;
| firmware = inline &lt;!-- OPTIONAL -- shows the firmware info --&gt;
| firmware = inline &lt;!-- OPTIONAL -- shows the firmware info --&gt;
| server = inline &lt;!-- OPTIONAL -- shows the server info --&gt;
| server = inline &lt;!-- OPTIONAL -- shows the server info --&gt;

Revision as of 01:16, 7 November 2008

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


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
RC disabled edit
Stable 13.2.11 || 2020-01-29 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
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      = inline    <!-- OPTIONAL -- shows the (optional) extra text -->
    | extra_text = whatever  <!-- OPTIONAL -- comment text (if enabled by extra) if none defined:
                             '<center>[[Autoreinstallation image|how to update...]]</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 | extra = inline }}


{{ Latest Releases 
  | stable   = inline
  | rc       = inline
  | devel    = inline
  | livecd   = inline
  | firmware = inline
  | extra    = 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