Jump to content

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

From Wikipedia, the free encyclopedia
Content deleted Content added
Davidwr (talk | contribs)
minimal documentation
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->

This template is called by [[{{NAMESPACE}}:{{ROOTPAGENAME}}/table]].
This template is called by [[{{NAMESPACE}}:{{ROOTPAGENAME}}/table]].


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||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Wikipedia formatting templates]]
}}</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.