Template:LabelValuePair

From Open Energy Information

This is the 'LabelValuePair' template. It is typically used to display the results of an ask or sparql query in a simple label: value format. It is used by many pages, including the sub pages for country profiles, and is most frequently called as the template parameter in a query returned as format=template.

For more help on this, see Extension:SparqlExtension, Template Help.

Parameters
  • label - The label, property or predicate of the query.
  • value - The value or object specified in the query.
Usage

It should be called in the following format:

{{#sparql
  SELECT ...
 |format=template
 |template=LabelValuePair
 |..
}}


Edit the page to see the template text.