MediaWiki API ヘルプ

このページは自動生成された MediaWiki API の説明文書ページです。

説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=wbformatvalue

(main | wbformatvalue)
  • このモジュールは読み取りの権限を必要とします。
  • ソース: WikibaseClient
  • ライセンス: GPL-2.0-or-later

Formats DataValues.

パラメーター:
その他一般パラメーターが利用可能です。
generate

The desired output format to generate.

値 (次の値のいずれか1つ): text/html、text/html; disposition=verbose、text/html; disposition=verbose-preview、text/plain、text/x-wiki
既定: text/x-wiki
datavalue

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

この変数は必須です。
datatype

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

値 (次の値のいずれか1つ): commonsMedia、entity-schema、external-id、geo-shape、globe-coordinate、math、monolingualtext、quantity、string、tabular-data、time、url、wikibase-item、wikibase-property
property

Property ID the data value belongs to, should be used instead of the datatype parameter.

options

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