Template:Latest Releases: Difference between revisions
mNo edit summary |
No edit summary |
||
(110 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Translations}}</noinclude> |
|||
<noinclude>{{Translations}}</noinclude><includeonly><div class="plainlinks" style="float:right; clear:right; font-size:80%; max-width:40%; padding:0.3em; background:#c1fea1; color:#0a6c00; border:2px 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;"> |
|||
<big>'''Latest Releases:'''</big> [[OS images]]<hr /> |
|||
<ul style="margin: 0; padding: 0; list-style-type: none"> |
|||
{| cellpadding=0 cellspacing=0 border=0 width="190px" |
|||
<li>Stable: {{:Template:Latest Releases/stable}}</li> |
|||
|- bgcolor="#c1fea1" |
|||
<!-- COMMENTED OUT UNTIL FURTHER STABLENESS... |
|||
|align="left" width="18%"| [http://wiki.laptop.org/index.php?title=Template:Latest_Releases&action=edit +] |
|||
<li style="display:{{{stable|none}}}">{{:Template:Latest Releases/flavors}}</li> END OF COMMENT OUT --> |
|||
|align="center"| <big>'''Software''' </big> <br/> |
|||
<li style="display:{{{devel|none}}}">Devel: {{:Template:Latest Releases/devel}}</li> |
|||
|align="center" width="30%"| |
|||
<li style="display:{{{livecd|none}}}">[[LiveCd|Live-CD]]: {{:Template:Latest Releases/livecd}}</li> |
|||
|- |
|||
<li style="display:{{{firmware|none}}}">[[Firmware]]: {{:Template:Latest Releases/firmware}}</li> |
|||
|colspan=3 align="center" bgcolor="#E92266"| '''XO''' |
|||
<li style="display:{{{extra|none}}}"><hr />[[School server|Server]]: OLPC_XS_{{:Template:Latest Releases/XS_server_software}}<hr />{{{extra_text|{{:Template:Latest Releases/text}}}}}</li></ul></div></includeonly><noinclude> |
|||
|- bgcolor="#c1fea1" |
|||
<!-- |
|||
|width="30%"| || {{:Template:Latest Releases/stable}} |
|||
|- bgcolor="#c1fea1" |
|||
|- |
|||
|colspan=3 align="center" bgcolor="#54B948"| '''[[School server|XS]]''' |
|||
|- bgcolor="#c1fea1" |
|||
|| || {{:Template:Latest Releases/XS_server_software}} |
|||
|} |
|||
</div> |
|||
</includeonly> |
|||
<noinclude> |
|||
== NOTE to EDITORS: == |
== NOTE to EDITORS: == |
||
The (lumped) code above has that shape |
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. |
||
Please edit carefully. Sorry for the lump. |
|||
{{Latest Releases}} |
|||
--> |
|||
This template shows the latest releases available, displayed in an "infobox". |
|||
{{ Latest Releases |
|||
You can control which lines appear in the infobox. |
|||
| stable = inline |
|||
| devel = inline |
|||
| livecd = inline |
|||
| firmware = inline |
|||
| server = inline |
|||
| extra = inline }} |
|||
This template allows to present a shortcut to all of the latest releases available. You can control which lines to show (except for the first two which will always show—the header line and the ''Stable:''). |
|||
The actual links |
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: |
||
<span class="plainlinks"> |
<span class="plainlinks"> |
||
{| border=1 cellspacing=0 |
|||
|- |
|||
<tr><td> Line </td><td colspan="2"> Current text </td></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> Stable flavors </td> |
|||
|colspan="3" align="center"| XO-1 builds |
|||
<td> {{:Template:Latest Releases/flavors}} </td><td> [{{fullurl:Template:Latest Releases/flavors|action=edit}} edit] </td></tr> |
|||
|- |
|||
<tr><td> Devel </td> |
|||
| XO-1 stable |
|||
<td> {{:Template:Latest Releases/devel}} </td><td> [{{fullurl:Template:Latest Releases/devel|action=edit}} edit] </td></tr> |
|||
| {{:Template:Latest Releases/stable}} |
|||
<tr><td> Live-CD </td> |
|||
| [{{fullurl:Template:Latest Releases/stable|action=edit}} edit] |
|||
|- |
|||
<tr><td> Firmware </td> |
|||
| ''RC'' |
|||
<td> {{:Template:Latest Releases/firmware}} </td><td> [{{fullurl:Template:Latest Releases/firmware|action=edit}} edit] </td></tr> |
|||
| {{:Template:Latest Releases/rc}} |
|||
<tr><td> Server </td> |
|||
| [{{fullurl:Template:Latest Releases/rc|action=edit}} edit] |
|||
|- |
|||
<tr><td> Extra Text </td> |
|||
| Stable flavors |
|||
<td> {{:Template:Latest Releases/text}} </td><td> [{{fullurl:Template:Latest Releases/text|action=edit}} edit] </td></tr> |
|||
| {{:Template:Latest Releases/flavors}} ''currently disabled'' |
|||
</table> |
|||
| [{{fullurl:Template:Latest Releases/flavors|action=edit}} edit] |
|||
|- |
|||
| 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] |
|||
|- |
|||
| 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"> |
||
== Usage == |
== 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. |
|||
<nowiki>{{</nowiki> Latest Releases <nowiki>}}</nowiki> |
|||
If you just want to display a particular latest build within a paragraph, you can invoke one of the sub-templates: |
|||
<nowiki>The current release candidate is {{Latest Releases/rc}}</nowiki> |
|||
<nowiki>{{</nowiki> Latest Releases |
|||
| stable = inline <!-- OPTIONAL -- shows the stable flavors --> |
|||
| 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: |
|||
'<nowiki><center>[[Autoreinstallation image|how to update...]]</center></nowiki>' --> |
|||
<nowiki>}}</nowiki> |
|||
== Samples == |
== Samples == |
||
<br clear="all"> |
<br clear="all"> |
||
{{ Latest Releases |
{{ Latest Releases }} |
||
<nowiki>{{</nowiki> Latest Releases |
<nowiki>{{</nowiki> Latest Releases <nowiki>}}</nowiki> |
||
<br clear="all"> |
<br clear="all"> |
||
<nowiki>The current release candidate is {{Latest Releases/rc}}</nowiki> |
|||
{{ Latest Releases | devel = inline}} |
|||
''produces''<br /> |
|||
<nowiki>{{</nowiki> Latest Releases | devel = inline <nowiki>}}</nowiki> |
|||
The current release candidate is {{Latest Releases/rc}} |
|||
<br clear="all"> |
|||
{{ Latest Releases | livecd = inline }} |
|||
<nowiki>{{</nowiki> Latest Releases | livecd = inline <nowiki>}}</nowiki> |
|||
<br clear="all"> |
|||
{{ Latest Releases | firmware = inline}} |
|||
<nowiki>{{</nowiki> Latest Releases | firmware = inline <nowiki>}}</nowiki> |
|||
<br clear="all"> |
|||
{{ Latest Releases | firmware = inline | extra = inline }} |
|||
<nowiki>{{</nowiki> Latest Releases | firmware = inline | extra = inline <nowiki>}}</nowiki> |
|||
<br clear="all"> |
|||
{{ Latest Releases | stable = inline | devel = inline | livecd = inline | firmware = inline | extra = inline | extra_text = <center>possibly a [[The OLPC Wiki|link]] or text</center>}} |
|||
<nowiki>{{</nowiki> Latest Releases |
|||
| stable = inline |
|||
| devel = inline |
|||
| livecd = inline |
|||
| firmware = inline |
|||
| extra = inline |
|||
| extra_text = <nowiki><center>possibly a [[The OLPC Wiki|link]] or text</center> }}</nowiki> |
|||
[[Category:Template]] |
[[Category:Template]] |
||
</noinclude> |
</noinclude> |
Latest revision as of 02:39, 6 August 2013
</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 |
|
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