Jump to content

Template:APIQuery categorymembers/row/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Davidwr (talk | contribs)
doc standard stuff
 
(3 intermediate revisions by 3 users not shown)
Line 5: Line 5:


This template calls [[{{NAMESPACE}}:{{ROOTPAGENAME}}]].
This template calls [[{{NAMESPACE}}:{{ROOTPAGENAME}}]].

;Parameters (all optional):
* {{para|CATPAGE}} - overrides the <nowiki>{{PAGENAME}}</nowiki> [[WP:MAGIC|magic word]].
*:Bug: CATPAGE cannot have space. Use underscores ("_").
* {{para|format}} - Default is xml. Other formats supported by the '''query''' API are supported.
* {{para|cmnamespace}} - default is blank. To filter the results by namespace provide the number of the namespace, e.g. 0 (article), 1 (talk), etc. A full list is at [[Wikipedia:Namespace]].



<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[:Category:Wikipedia formatting and function templates]]
[[Category:Wikipedia formatting templates]]
}}</includeonly>
}}</includeonly>

Latest revision as of 18:20, 15 October 2024

This template is called by Template:APIQuery categorymembers/table.

This template calls Template:APIQuery categorymembers.

Parameters (all optional)
  • |CATPAGE= - overrides the {{PAGENAME}} magic word.
    Bug: CATPAGE cannot have space. Use underscores ("_").
  • |format= - Default is xml. Other formats supported by the query API are supported.
  • |cmnamespace= - default is blank. To filter the results by namespace provide the number of the namespace, e.g. 0 (article), 1 (talk), etc. A full list is at Wikipedia:Namespace.