MediaWiki API hulp
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wbformatentities
(main | wbformatentities)
- Voor deze module zijn leesrechten nodig.
- Bron: WikibaseClient
- Licentie: GPL-2.0-or-later
Formats entity IDs to HTML.
The language can be specified with the global uselang parameter.
Parameter:
- ids
The entity IDs to format.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
Voorbeelden:
- Format a single item ID.
- api.php?action=wbformatentities&ids=Q2 [open in de zandbak]
- Format an item ID and a property ID.
- api.php?action=wbformatentities&ids=Q2|P2 [open in de zandbak]
- Format three item IDs in French.
- api.php?action=wbformatentities&ids=Q2|Q3|Q4&uselang=fr [open in de zandbak]