MediaWiki:ContentDroplets.json: Difference between revisions

Meryam Sahin (talk | contribs)
Use the Metadata report icon
Meryam Sahin (talk | contribs)
Droplets: default parameters and template dialog
Line 4: Line 4:
"type": "template",
"type": "template",
"template": "NeoWiki show",
"template": "NeoWiki show",
"params": [],
"params": {
"page": "",
"property": "",
"dateformat": ""
},
"description": "Show a single metadata value from a page",
"description": "Show a single metadata value from a page",
"icon": "droplet-query",
"icon": "droplet-query",
Line 11: Line 15:
"data"
"data"
],
],
"content": "{{NeoWiki show|page=|property=|dateformat=}}"
"content": "{{NeoWiki show|page=|property=|dateformat=}}",
"veCommand": "transclusion"
},
},
"metadata-query": {
"metadata-query": {
Line 17: Line 22:
"type": "template",
"type": "template",
"template": "NeoWiki query",
"template": "NeoWiki query",
"params": [],
"params": {
"schema": "",
"property": "",
"operator": "=",
"value": "",
"format": "count"
},
"description": "Count or list pages based on page metadata",
"description": "Count or list pages based on page metadata",
"icon": "droplet-query",
"icon": "droplet-query",
Line 24: Line 35:
"data"
"data"
],
],
"content": "{{NeoWiki query|schema=|property=|operator==|value=|format=count}}"
"content": "{{NeoWiki query|schema=|property=|operator==|value=|format=count}}",
"veCommand": "transclusion"
}
}
}
}

Revision as of 13:00, 4 November 2026

metadata-value
name"Metadata value"
type"template"
template"NeoWiki show"
params
page""
property""
dateformat""
description"Show a single metadata value from a page"
icon"droplet-query"
rlModules
Empty array
categories
"data"
content"{{NeoWiki show|page=|property=|dateformat=}}"
veCommand"transclusion"
metadata-query
name"Metadata query"
type"template"
template"NeoWiki query"
params
schema""
property""
operator"="
value""
format"count"
description"Count or list pages based on page metadata"
icon"droplet-query"
rlModules
Empty array
categories
"data"
content"{{NeoWiki query|schema=|property=|operator==|value=|format=count}}"
veCommand"transclusion"