MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=wbformatvalue

(main | wbformatvalue)
  • Questo modulo richiede i diritti di lettura.
  • Fonte: WikibaseRepository
  • Licenza: GPL-2.0-or-later

Formati DataValues.

Parametri specifici:
Sono disponibili altri parametri generali.
generate

The desired output format to generate.

Uno dei seguenti valori: text/html, text/html; disposition=verbose, text/html; disposition=verbose-preview, text/plain, text/x-wiki
Predefinito: text/x-wiki
datavalue

The data to format. This has to be the JSON serialization of a DataValue object.

Questo parametro è obbligatorio.
datatype

The value's data type. This is distinct from the value's type

Uno dei seguenti valori: commonsMedia, external-id, geo-shape, globe-coordinate, math, monolingualtext, quantity, string, tabular-data, time, url, wikibase-item, wikibase-property
property

ID proprietà a cui appartiene il valore dei dati, dovrebbe essere usato al posto del parametro datatype.

options

The options the formatter should use. Provided as a JSON object.