| title | "Plain (unformatted)" |
|---|
| description | "Display raw value without formatting or linking" |
|---|
| type | "object" |
|---|
| properties | |
|---|
| required | |
|---|
|
| title | "Number with unit" |
|---|
| description | "Format number properties with unit conversion" |
|---|
| type | "object" |
|---|
| properties | | type | |
|---|
| unit | | type | "string" |
|---|
| description | "Unit to display (e.g., 'km²', '°C', 'kg')" |
|---|
|
|---|
| showUnit | | type | "boolean" |
|---|
| description | "Show unit symbol" |
|---|
| default | true |
|---|
|
|---|
| decimalPlaces | | type | "integer" |
|---|
| description | "Number of decimal places (available since SMW 2.4.0)" |
|---|
| minimum | 0 |
|---|
| maximum | 10 |
|---|
|
|---|
| displayOnly | | type | "string" |
|---|
| enum | |
|---|
| default | "both" |
|---|
| description | "What to display: -n (value only), -u (unit only), or both" |
|---|
|
|---|
|
|---|
| required | |
|---|
|
| title | "Date/Time" |
|---|
| description | "Format date properties" |
|---|
| type | "object" |
|---|
| properties | | type | |
|---|
| format | | type | "string" |
|---|
| enum | |
|---|
| description | "Date format: ISO 8601, MediaWiki i18n, or localized" |
|---|
|
|---|
| customFormat | | type | "string" |
|---|
| description | "Custom date format (e.g., 'Y-m-d', 'd/m/Y'). Requires -F prefix" |
|---|
| pattern | "^[YmdHis: ]+$" |
|---|
|
|---|
| language | | type | "string" |
|---|
| description | "Language code for localization (e.g., 'de', 'fr')" |
|---|
| examples | |
|---|
|
|---|
|
|---|
|
| title | "Boolean" |
|---|
| description | "Format boolean properties" |
|---|
| type | "object" |
|---|
| properties | | type | |
|---|
| useLocalized | | type | "boolean" |
|---|
| description | "Use localized language strings" |
|---|
| default | true |
|---|
|
|---|
| language | | type | "string" |
|---|
| description | "Language code for localization (e.g., 'de', 'fr')" |
|---|
|
|---|
|
|---|
| required | |
|---|
|
| title | "URL" |
|---|
| description | "Format URL properties" |
|---|
| type | "object" |
|---|
| properties | | type | |
|---|
| plainText | | type | "boolean" |
|---|
| description | "Display URL as plain text (no link)" |
|---|
| default | false |
|---|
|
|---|
| linkText | | type | "string" |
|---|
| description | "Custom link text (if not plain text)" |
|---|
|
|---|
|
|---|
| required | |
|---|
|
| title | "Category membership" |
|---|
| description | "Format category membership with custom text" |
|---|
| type | "object" |
|---|
| properties | | type | |
|---|
| category | | type | "string" |
|---|
| description | "Category name to check membership" |
|---|
|
|---|
| trueText | | type | "string" |
|---|
| description | "Text to display if page is in the category" |
|---|
|
|---|
| falseText | | type | "string" |
|---|
| description | "Text to display if page is NOT in the category" |
|---|
|
|---|
|
|---|
| required | | "type" |
| "category" |
| "trueText" |
| "falseText" |
|
|---|
|
| title | "Record field" |
|---|
| description | "Extract specific field from Record property" |
|---|
| type | "object" |
|---|
| properties | | type | |
|---|
| index | | type | "integer" |
|---|
| description | "Field index to extract (1-based)" |
|---|
| minimum | 1 |
|---|
|
|---|
|
|---|
| required | |
|---|
|
| title | "Quantity/Unit conversion" |
|---|
| description | "Convert quantity values between units" |
|---|
| type | "object" |
|---|
| properties | | type | |
|---|
| unit | | type | "string" |
|---|
| description | "Target unit for conversion" |
|---|
|
|---|
| precision | | type | "integer" |
|---|
| description | "Number of decimal places" |
|---|
| minimum | 0 |
|---|
| maximum | 10 |
|---|
|
|---|
| displayValue | | type | "string" |
|---|
| enum | |
|---|
| default | "both" |
|---|
|
|---|
|
|---|
| required | |
|---|
|