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
submodule=settitles
(main | collection | settitles)
- มอดูลนี้ต้องการสิทธิในการอ่าน
- แหล่งที่มา: Collection
- สัญญาอนุญาต: GPL-2.0-or-later
API module for setting the collection's title, subtitle, and settings
Specific parameters:
Other general parameters are available.
- title
Title of the collection
- This parameter is required.
- subtitle
Subtitle of the collection
- ค่าเริ่มต้น: (ว่าง)
- settings
Settings for the collection
- ค่าเริ่มต้น: (ว่าง)
ตัวอย่าง:
- Set the collection's title and subtitle
- api.php?action=collection&submodule=settitles&title=foo&subtitle=bar [เปิดในกระบะทราย]
- Set the collection's title, subtitle, and settings
- api.php?action=collection&submodule=settitles&title=foo&subtitle=bar&settings={"papersize":"a4","toc":"auto","columns":"2"} [เปิดในกระบะทราย]