Help:Ul format

From semantic-mediawiki.org
Jump to: navigation, search
Ul format
Bulleted list, with additional outputs shown in parentheses
Available languages
deenzh-hans
Further Information
Provided by: Semantic MediaWiki
Added: 0.7
Removed: still supported
Requirements: none
Format name: ul
Enabled by default: Indicates whether the result format is enabled by default upon installation of the respective extension. yes
Authors: Markus Krötzsch
Categories: misc
Group:
Table of Contents

↓ INFO ↓

The result format ul is very similar to the result formats list and ol and is used to format query results as bulleted lists.

Parameters

Parameter Type Default Description
sep text , The separator for values
template text empty The name of a template with which to display the printouts
named args yes/no no Name the arguments passed to the template
columns whole number 1 The number of columns in which to display results (default is $1)
userparam text empty A value passed into each template call, if a template is used
introtemplate text empty The name of a template to display before the query results, if there are any
outrotemplate text empty The name of a template to display after the query results, if there are any

See the help page on result templates in case a template is used for formatting the query output.

Examples

{{#ask: [[Category:City]] [[located in::Germany]] 
| ?population
| ?area#km² = Size in km²
| format=ul
}}

Result:


Showing result in two columns:

{{#ask: [[Category:City]] [[located in::Germany]] 
| format=ul
| columns=2
}}

Result:




This documentation page applies to all SMW versions from 0.7 to the most current version.
      Other languages: dezh-hans

Help:Ul format en 0.7