API:Properties/zh

这是一个可以获取选定页面的属性列表的GET请求.

API文档
属性在这里指关于页面的一些数据，例如分类；或者页面的内容，例如图片或者链接. 为了请求一个属性，你需要在你的询问的 参数处放一个有效的属性子模块，与你要的信息对应.

您请求的页面通过询问的,  , 或者   参数指明, 或者通过一个.

询问应该写的像这样：

属性查询一般都会有一个返回个数的上限. 为了查询更多的项目，您需要在查询后面追加结果的元素里面的值.

请参考属性API各自的页面以阅读更加详细的实例.



附加提醒

 * Most property submodules can be used as, unless otherwise noted.
 * Property query limits:
 * Results for property queries always have a limit; the default limit is 10. The results limit can be set as high as 500 for regular users, or 5000 for users with the  right (typically bots and sysops). Some modules impose stricter limits under certain conditions.
 * If you are not sure which limit applies to you and just want as many results as possible, set the limit to . In that case, a   element will be returned, specifying the limits used.
 * The limit parameter for a given module consists of the module prefix followed by the word . For example,   is the maximum number of   returned.

参见

 * 有关查询模块的文档 - contains a brief description of all property submodules, their corresponding parameters, and values.
 * - contains a table describing how query properties are associated with the fields in a.
 * - a similar API, for accessing lists of information, such as, or  . Unlike property queries, which append data to the   element, lists return a separate branch in the   element.