Help:Outline format

Jump to: navigation, search
Outline format
Lists pages in a hierarchical outline, based on property values
Available languages
Further Information
Provided by: Semantic Result Formats
Added: 1.4.3
Removed: still supported
Requirements: none
Format name: outline
Enabled by default: 
Indicates whether the result format is enabled by default upon installation of the respective extension.
Authors: Yaron Koren
Categories: misc
Table of Contents

↓ INFO ↓

The result format outline is used to display pages in hierarchical outline form, using one or more of the pages' properties as outline headers.


Parameter Type Default Description
outlineproperties list of texts empty The list of properties to be displayed as outline headers, separated by commas

This parameter is optional; if it is absent, the set of result pages will be displayed as a simple bulleted list. Any property included in this parameter must also be included among the queried properties.


{{#ask: [[Category:Cities]]
 | ?State
 | ?Country
 | ?Mayor
 | format=outline
 | outlineproperties=Country, State

This call will print out a bulleted list of the cities in the wiki, divided by the country they belong to and subdivided by their state. It will also list the mayor of each city next to its name, in the same manner as with the 'ol', 'ul' and 'list' formats (the state and country will only be displayed as headers, not next to each city name).

You can see a working example of this format here.

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

Help:Outline format en 1.4.3