Template:SMW display test case

From OLPC
Revision as of 01:12, 2 August 2008 by Skierpage (talk | contribs) (might work...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In development You can use this template in a semantic query to display 'Test case' information.

It tries to displays information in the same format as Template:Test case.

A much easier way to get this result is just to use format=embedded in the semantic query, which embeds each matching page.

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

{{#ask:
  [[ some criteria]] ...
  | format=template
  | template=SMW display test case
  | ?Name
  | ?Stream
  | ?Build
  | ?Tests component
  | ?Objective
  | ?Feature
  | ?Test Tools
  | ?Test Setup
  | ?Test Procedure
  | ?Expected Results and Pass Criteria
  | ?Comments
}}

Edit the page to see the template text.