Template:SMW display release-oneline: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(maybe the pipe symbol causes problems)
Line 28: Line 28:
</noinclude>
</noinclude>
|-
|-
| {{{1}}} ([[Release notes/{{{1}}}|Release notes]])
| {{{1}}} ([[Release notes/{{{1}}}]])
| {{{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|<td>x</td>}}
| <ul>{{#arraymap:{{{4|}}}|,|x|<td>x</td>}}

Revision as of 04:25, 13 September 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 feature
}}

See query at Releases-test.


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

|

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