Template:SMW display release-oneline: Difference between revisions

From OLPC
Jump to navigation Jump to search
(fixes)
(don't need comma separator)
Line 31: Line 31:
| {{{2}}}, ( [http://download.laptop.org/xo-1/os/official/656 build URL])
| {{{2}}}, ( [http://download.laptop.org/xo-1/os/official/656 build URL])
| {{{3}}}
| {{{3}}}
| <ul>{{#arraymap:{{{4|}}}|,|x|<li>x</li>}}</ul>
| <ul>{{#arraymap:{{{4|}}}| |x|<li>x</li>}}</ul>

Revision as of 20:51, 10 October 2008

In development You can use this template in a semantic query to display 'release' semantic information, e.g. the info from 7.1.2.

The reason for this is to

  • display a link to release notes
  • display a link along with the build number
  • display objectives in a bulleted list.

The query that calls it needs to request display of these fields in the same order

{{#ask:
  [[Category:Releases]] [[ some more criteria]] ...
  | format=template
  | template=SMW display release-oneline
  | ?Build number
  | ?Also called
  | ?Has objective
}}

See query at Releases-test.


|- | {{{1}}} ([[Release notes/{{{1}}}]]) | {{{2}}}, ( build URL) | {{{3}}}

|

    {{#arraymap:| |x|
  • x
  • }}