Template:SMW display release-oneline

From OLPC
Revision as of 00:17, 11 October 2008 by Skierpage (talk | contribs) (fix order)
Jump to navigation Jump to search

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

Usage

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
  | link=none
  | ?Release notes
  | ?Build number
  | ?Download URL
  | ?Also called
  | ?Firmware
  | ?Is part of <!-- (this is "ECO")-->
  | ?Lead customer
  | ?Has objective
  | default=Message alerting when query returns nothing for criteria!
}}

Notes

Unfortunately, to make pages link to something else you have to pass link=none which makes nothing a link, so for now release notes is separate.

See query at Releases-test.


|- | [[{{{2}}}| {{{1}}}]] | [{{{4}}} {{{3}}}] | {{{5}}} | {{#arraymap:|,|x|x}} | [[{{{7}}}]] | {{#arraymap:|,|x|x}}

|

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