Difference between revisions of "Template:Items/doc"

From ArchivesWiki
 
Line 1: Line 1:
 
Display a list of items, each formatted according to {{tl|items/list}} or {{tl|items/gallery}}.
 
Display a list of items, each formatted according to {{tl|items/list}} or {{tl|items/gallery}}.
 +
<templatedata>
 +
{
 +
"params": {
 +
"where": {
 +
"label": "Where clause",
 +
"type": "string"
 +
},
 +
"format": {
 +
"label": "Format",
 +
"description": "Either 'gallery' or 'list'.",
 +
"type": "string",
 +
"default": "gallery"
 +
},
 +
"order": {
 +
"label": "Order",
 +
"description": "'Order by' clause.",
 +
"type": "string"
 +
}
 +
},
 +
"paramOrder": [
 +
"format",
 +
"where",
 +
"order"
 +
],
 +
"format": "block"
 +
}
 +
</templatedata>

Latest revision as of 09:35, 1 December 2019

Display a list of items, each formatted according to {{items/list}} or {{items/gallery}}.

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Formatformat

Either 'gallery' or 'list'.

Default
gallery
Stringoptional
Where clausewhere

no description

Stringoptional
Orderorder

'Order by' clause.

Stringoptional