Template:SMW display release-oneline

From OLPC
Revision as of 22:08, 10 October 2008 by Skierpage (talk | contribs) (CHECKPOINT: This version works)
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

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

Note: this version works for that, but now we have separate Property:Release note and Property:Download URL.

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