Template:Latest Releases: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (.)
No edit summary
 
(32 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude>{{Translations}}</noinclude>
<noinclude>{{Translations}}</noinclude>
<div class="plainlinks" style="clear: right; margin: .5em 0 .5em 1.3em; float:right; font-size:80%; max-width:205px; padding: 0.5em 0.2em 0.5em 0.2em; background:#c1fea1; color:#0a6c00; border:1px solid #8ad962;">
<div class="plainlinks" style="clear: right; margin: .5em 0 .5em 1.3em; float:right; font-size:80%; max-width:205px; padding: 0.2em 0em 0.5em 0em; background:#c1fea1; color:#0a6c00; border:1px solid #8ad962;">


{| cellpadding=0 cellspacing=0 border=0 width="180px"
{| cellpadding=0 cellspacing=0 border=0 width="190px"
|- bgcolor="#c1fea1"
|- bgcolor="#c1fea1"
|align="left" width="15%"| &nbsp;[http://wiki.laptop.org/index.php?title=Template:Latest_Releases&action=edit +]
|align="left" width="18%"| &nbsp;[http://wiki.laptop.org/index.php?title=Template:Latest_Releases&action=edit +]
|align="center"| <big>'''[[USB update|Software]]'''&nbsp;</big> <br/>
|align="center"| <big>'''Software'''&nbsp;</big> <br/>
|align="center" width="20%"| ([[USB update|Update]])
|align="center" width="30%"|
|-
|-
|colspan=3 align="center" bgcolor="yellow"| [[Builds#Stable_builds|'''XO-1''']]
|colspan=3 align="center" bgcolor="#E92266"| '''XO'''
|- bgcolor="#c1fea1"
|- bgcolor="#c1fea1"
|width="15%"| Stable: || {{:Template:Latest Releases/stable-0.8}}
|width="30%"| || {{:Template:Latest Releases/stable}}
|- bgcolor="#c1fea1"
|- bgcolor="#c1fea1"
|| [[F11 for XO-1|Beta]]: || {{:Template:Latest Releases/f11-xo-1}}
|- bgcolor="#c1fea1"
|| [[Firmware#XO-1|Firmware]]:&nbsp; || {{:Template:Latest Releases/firmware}}
|-
|-
|colspan=3 align="center" bgcolor="yellow"| [[F11 on 1.5|'''XO-1.5''']]
|colspan=3 align="center" bgcolor="#54B948"| '''[[School server|XS]]'''
|- bgcolor="#c1fea1"
|- bgcolor="#c1fea1"
|| Stable: || {{:Template:Latest Releases/stable-1.5}}
|| || {{:Template:Latest Releases/XS_server_software}}
|- bgcolor="#c1fea1"
|| [[Future releases|Beta]]: || {{:Template:Latest Releases/devel}}
|- bgcolor="#c1fea1"
|| [[Firmware#XO-1.5|Firmware]]: || {{:Template:Latest Releases/firmware-1.5}}
|-
|colspan=3 align="center" bgcolor="yellow"| [[School server|'''Server''']]
|- bgcolor="#c1fea1"
|| [[School server|Stable]]: || {{:Template:Latest Releases/XS_server_software}}
<!--
|- bgcolor="#c1fea1"
|| Beta: {{:Template:Latest Releases/XS-devel}}
|- bgcolor="#c1fea1"
|| {{{extra_text|{{:Template:Latest Releases/text}}}}}
-->
|}
|}
</div>
</div>
</includeonly>
</includeonly>
<noinclude>
<noinclude>

<!--
REMOVED from XO-1:
<span style="display:{{{rc|none}}}"></span>
<span style="display:{{{stable|none}}}"> {{:Template:Latest Releases/flavors}}</span>
<span style="display:{{{livecd|none}}}"></span>
<span style="display:{{{server|none}}}"></span>
-->


== NOTE to EDITORS: ==
== NOTE to EDITORS: ==
Line 50: Line 25:
The (lumped) code above has that shape so that 'span' directives control the CR & LF (which otherwise would interfere with the layout if it was formatted). Edit carefully. Sorry for the lump.
The (lumped) code above has that shape so that 'span' directives control the CR & LF (which otherwise would interfere with the layout if it was formatted). Edit carefully. Sorry for the lump.


{{Latest Releases}}
Two lines recently removed (for being stale):
-- ><br />[[Live CD]]: {{:Template:Latest Releases/livecd}}</span><!--
--><span style="display:{{{firmware|none}}}"><!--
--><br />[[Release Process Home#Types of Builds|Release candidate]]: {{:Template:Latest Releases/rc}} </span><!--
--><span style="display:{{{devel|none}}}"><!--

-->
{{ Latest Releases
| stable = inline
| rc = inline
| devel = inline
| livecd = inline
| firmware = inline
| server = inline
}}
This template shows the latest releases available, displayed in an "infobox".
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).
You can control which lines appear in the infobox.


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:
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 97: Line 58:
| {{:Template:Latest Releases/devel}}
| {{:Template:Latest Releases/devel}}
| [{{fullurl:Template:Latest Releases/devel|action=edit}} edit]
| [{{fullurl:Template:Latest Releases/devel|action=edit}} edit]
|-
| Live CD
| {{:Template:Latest Releases/livecd}}
| [{{fullurl:Template:Latest Releases/livecd|action=edit}} edit]
|-
|-
| Firmware
| Firmware
Line 135: Line 92:
Instead, invoke this template to present latest release information.
Instead, invoke this template to present latest release information.


<nowiki>{{</nowiki> Latest Releases
<nowiki>{{</nowiki> Latest Releases <nowiki>}}</nowiki>
| stable = inline &lt;!-- OPTIONAL -- shows the stable flavors --&gt;
| rc = inline &lt;!-- OPTIONAL -- shows the release candidate info --&gt;
| devel = inline &lt;!-- OPTIONAL -- shows the devel-build info --&gt;
| livecd = inline &lt;!-- OPTIONAL -- shows the Live CD info --&gt;
| firmware = inline &lt;!-- OPTIONAL -- shows the firmware info --&gt;
| server = inline &lt;!-- OPTIONAL -- shows the server info --&gt;
| extra_text = whatever &lt;!-- OPTIONAL -- shows ''extra comment text'' if something is entered; if none is defined:
'<nowiki><center>[[Release notes/8.2.1|release notes]] &middot; [[Updating the XO|how to update...]]
<small>[[:Template:Latest_Releases|+/-]]</small></center></nowiki>' --&gt;
<nowiki>}}</nowiki>


If you just want to display a particular latest build within a paragraph, you can invoke one of the sub-templates:
If you just want to display a particular latest build within a paragraph, you can invoke one of the sub-templates:
Line 154: Line 101:


<br clear="all">
<br clear="all">
{{ Latest Releases | devel = inline}}
{{ Latest Releases }}
<nowiki>{{</nowiki> Latest Releases | devel = inline <nowiki>}}</nowiki>
<nowiki>{{</nowiki> Latest Releases <nowiki>}}</nowiki>
<br clear="all">
{{ Latest Releases | firmware = inline}}
<nowiki>{{</nowiki> Latest Releases | firmware = inline <nowiki>}}</nowiki>
<br clear="all">
{{ Latest Releases | firmware = inline | server = inline }}
<nowiki>{{</nowiki> Latest Releases | firmware = inline | server = inline <nowiki>}}</nowiki>
<br clear="all">
{{ 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>}}
<nowiki>{{</nowiki> Latest Releases
| stable = inline
| rc = inline
| devel = inline
| livecd = inline
| firmware = inline
| server = inline
| extra_text = <nowiki><center>possibly
a [[The OLPC Wiki|link]] or text</center> }}</nowiki>
<br clear="all">
<br clear="all">
<nowiki>The current release candidate is {{Latest Releases/rc}}</nowiki>
<nowiki>The current release candidate is {{Latest Releases/rc}}</nowiki>

Latest revision as of 02:39, 6 August 2013

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

</includeonly>


NOTE to EDITORS:

The (lumped) code above has that shape so that 'span' directives control the CR & LF (which otherwise would interfere with the layout if it was formatted). Edit carefully. Sorry for the lump.



This template shows the latest releases available, displayed in an "infobox". You can control which lines appear in the infobox.

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 edit
Stable flavors currently disabled edit
Fedora 11 10.1.3 2011-01-16 edit
Devel 13.2.0 upcoming 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 }}

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


 The current release candidate is {{Latest Releases/rc}}

produces
  The current release candidate is disabled