Template:Deployment: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the 'Deployment' template.
This is the 'Deployment' template.

It should be called in the following format:
It displays its parameters in a table, turns them into semantic annotations, and assigns [[:Category:Deployments]]. You can create or edit pages with this information with [[Form:Deployment]]; look for an 'edit with form' tab on deployment pages.

'''Example:'''
{|
|width="50%" valign="top"|
<pre>
<pre>
{{Deployment
{{Deployment
|language=
|language=Spanish
|laptops=
|laptops=150,000
|keyboard=
|keyboard=Spanish
|release=703
|received laptops=monthly since Dec 2007
|server=
|blurb=
}}
}}
</pre>
</pre>
|width="50%" valign="top"|
{{Deployment
|language=Spanish
|laptops=150,000
|keyboard=Spanish
|release=703
|received laptops=monthly since Dec 2007
|server=
|blurb=
}}

|}

Edit the page to see the template text.
Edit the page to see the template text.

[[Category:Semantic infrastructure]]
</noinclude><includeonly>
</noinclude><includeonly>
----
{| border="0" cellpadding="4" cellspacing="4"
{| border="0" cellpadding="2" cellspacing="1"
! Language
|- bgcolor="#ddd"
| {{#arraymap:{{{language|}}}|,|x|[[Language::x]]}}
| '''Primary Language'''
| {{#arraymap:{{{language|}}}|,|x|[[Language spoken::x]]}}
|-
|-
! Number of Laptops
| '''Number of Laptops'''
| [[Number of laptops::{{{laptops|}}}]]
| [[Number of manufactured laptops::{{{laptops|}}}]]
|- bgcolor="#eee"
|-
! Keyboard Layout
| '''Keyboard Layout'''
| [[Keyboard::{{{keyboard|}}}]]
| [[Keyboard::{{{keyboard|}}}]]
|- bgcolor="#ddd"
| '''Build'''
| {{#arraymap:{{{release|}}}|,|x|[[Software release::x]]}}
|-
| '''Date(s) Arrived in Country'''
| {{#arraymap:{{{received laptops|}}}|,|x|[[Has received laptops on date::x]]}}
|- bgcolor="#ddd"
| '''School Server'''
| {{#arraymap:{{{server|}}}|,|x|[[School server status::x]]}}
|-
|-
| '''Deployment Status'''
| [[Deployment status::{{{blurb|}}}]]
|}
|}
[[Category:Deployments]]
</includeonly>
</includeonly>

Latest revision as of 03:37, 5 January 2009

This is the 'Deployment' template.

It displays its parameters in a table, turns them into semantic annotations, and assigns Category:Deployments. You can create or edit pages with this information with Form:Deployment; look for an 'edit with form' tab on deployment pages.

Example:

{{Deployment
|language=Spanish
|laptops=150,000
|keyboard=Spanish
|release=703
|received laptops=monthly since Dec 2007
|server=
|blurb=
}}

Primary Language ,|x|Language spoken::x}}
Number of Laptops Number of manufactured laptops::150,000
Keyboard Layout Keyboard::Spanish
Build ,|x|Software release::x}}
Date(s) Arrived in Country ,|x|Has received laptops on date::x}}
School Server ,|x|School server status::x}}
Deployment Status Deployment status::


Edit the page to see the template text.