Help:Listwidget format

From Linux Web Expert

Listwidget format
Outputs results with a navigation or pagination widget for lists (ordered and unordered)
Scenarios, examples, demos
Example: Examples
Collection
Further Information
Provided by: Semantic Result Formats
Added: 1.8.0
Removed: still supported
Requirements: none
Format name: listwidget
Enabled? Indicates whether the result format is enabled by default upon installation of the respective extension. yes
Authors: James Hong Kong
Categories: misc
Keywords
template · list

The result format listwidget, provided by extension "Semantic Result Formats"No description was provided., is a navigation widget that extends the standard list printer with:

  • An alphabet-based widget (either as list or menu) to any unordered or ordered list
  • A pagination widget

The navigation widget can be useful for larger list sets such as directories, alphabet lists etc.

Parameters

Format specific
⧼validator-describe-header-parameter⧽ ⧼validator-describe-header-type⧽ ⧼validator-describe-header-default⧽ ⧼validator-describe-header-description⧽
class ⧼validator-type-string⧽ ⧼validator-describe-empty⧽ Specify an additional cascading style sheet class
listtype ⧼validator-type-string⧽ unordered Specify the list type
widget ⧼validator-type-string⧽ alphabet Available widget
pageitems ⧼validator-type-integer⧽ 5 Items per page
Available values for the parameters listed above:
  • listtype: unordered, ordered (default: unordered)
  • widget: alphabet, menu, pagination (default: alphabet)

Usage

{{#ask:
 [[ ... ]]
 |format=listwidget
 |headers=show
 |link=all
 |listtype=unordered
 |widget=pagination
 |pageitems=15
}}

Examples