Semantic MediaWiki and related extensions
Outline format

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

Usage

{{#ask: [[Category:Task]]
|?Severity
|format=outline
|outlineproperties=Severity, Assigned to
|template=phab-view
|introtemplate=intro
|outrotemplate=outro
}}

For example, with phab-view as template name, the outline format will generate two distinct templates phab-view-header and phab-view-item to be used for the output with -header and -item being a fixed affix to distinguish the output level of the result content.

The ...-header template will provide additional information and includes:

The ...-item template will also provide additional information such as:

Use introtemplate \ outrotemplate to display a template before or after the query results. These can only be used in combination with the template paramter

Examples

Using a template can provide means to individually style the result output, for example a simple list can be turned into a phabricator task list.

{{#ask: [[Category:Task]]
...
|outlineproperties=Severity
|template=phab-view
}}
image
{{#ask: [[Category:Task]]
...
|outlineproperties=Severity, Assigned to
|template=phab-view
}}
image

About | General disclaimer | Privacy policy