Template:BuildingBlockFromWorkingArea

From OIAr Archive 2013
Revision as of 00:22, 12 November 2012 by Jan Schoonderbeek (talk | contribs) (start)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template will be used to pipe the result of a semantic query into a table cell. The table cell will fill up with a simple list of all Building Block Types or Variants that belong to the Working Area that the semantic query pipes to it, depending on a single user parameter.

  • userparam: a single parameter that can be either "type" or "variant". Depending on this parameter, the template will return BBTs or BBVs. If this parameter is misspelled or omitted, "variant" is assumed.

Usage:

 {| border="1"
   {{#ask: [[Category:Working Area]]|format=template|link=none|template=BuildingBlockFromWorkingArea
     |userparam=Type}}
 |}
 

The table is preceeded with a pipe so that it can be a table cell.