Using templates to join data from two pages into one table
From semantic-mediawiki.org
< Demo:Examples | Queries
Templates for joining output | |
---|---|
This page shows an example for the template format used to join data from two pages into one table. | |
Format | |
Keywords | |
Table of Contents | |
Example[edit]
- Syntax
{{#ask: [[Has pKa value::+]] |?Has pKa value |format=plainlist |link=none |template=PKaValueTemplate |introtemplate=PKaValueTemplateHeader |outrotemplate=TableFooter }}
- Result
# | Chemical name | Chemical formula | pKa |
---|---|---|---|
1 | Benzenesulfonic acid | C6H5SO3H | -2.5 |
2 | Trichloroacetic acid | CCl3CO2H | 0.77 |
