Template:Product tile

From Escort Knowledge Base
[[File:{{{photo}}}|136x128px|link={{{model}}}|alt={{{model}}}]]
[[{{{model}}}|{{{model}}}]]

Purpose

Model tile in the catalog on the main page. Tiles go inside <div class="es-catalog"> … </div>, each on a new line, with no blank lines between them.

The category sets the catalog filter:

Code Filter
fuel Fuel level
angle Tilt angle
level Water and bulk level
ble BLE infrastructure
other Other sensors
meteo Sokol Meteo

A new category is added in two places: here (the label in #switch) and in the cats list in MediaWiki:Common.js.

Example

{{Product tile|model=TD-BLE|category=fuel|photo=TD-BLE.png
|type=Wireless fuel level sensor|tag1=BLE|tag2=Advertising
|downloads=https://escortsensors.com/support/escort-sensors/}}

Catalog tile on the main page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Modelmodel

no description

Stringrequired
Manual pagepage

no description

Default
model
Page nameoptional
Categorycategory

no description

Suggested values
fuel angle level ble other meteo
Stringrequired
Photophoto

no description

Filerequired
Short descriptiontype

no description

Stringsuggested
Tag 1tag1

no description

Stringoptional
Tag 2tag2

no description

Stringoptional
Tag 3tag3

no description

Stringoptional
Second manualmanual2

no description

Page nameoptional
Second manual labelmanual2-text

no description

Default
PC setup
Stringoptional
Product pageproduct

no description

URLsuggested
Downloadsdownloads

no description

URLsuggested