<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AAPIQuery_categorymembers%2Fdoc</id>
	<title>Template:APIQuery categorymembers/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AAPIQuery_categorymembers%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:APIQuery_categorymembers/doc&amp;action=history"/>
	<updated>2026-11-19T13:42:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://battleint.net/index.php?title=Template:APIQuery_categorymembers/doc&amp;diff=201442&amp;oldid=prev</id>
		<title>Tungstenchan: Text replacement - &quot;BattleTechWiki&quot; to &quot;BattleIntelligence&quot;</title>
		<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:APIQuery_categorymembers/doc&amp;diff=201442&amp;oldid=prev"/>
		<updated>2025-05-01T05:18:13Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;BattleTechWiki&amp;quot; to &amp;quot;BattleIntelligence&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:18, 1 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{para|CATPAGE}} - overrides the &amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt; [[BTW:MAGIC|magic word]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{para|CATPAGE}} - overrides the &amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt; [[BTW:MAGIC|magic word]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{para|cmprop}} - default is {{para|cmprop|title}}.  To add timestamps, use {{para|cmprop|title&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;timestamp}}.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{para|cmprop}} - default is {{para|cmprop|title}}.  To add timestamps, use {{para|cmprop|title&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;timestamp}}.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{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 [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BattleTechWiki&lt;/del&gt;:Namespace]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{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 [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BattleIntelligence&lt;/ins&gt;:Namespace]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{para|format}} - Default is xml.  Other formats supported by the &amp;#039;&amp;#039;&amp;#039;query&amp;#039;&amp;#039;&amp;#039; API are supported.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{para|format}} - Default is xml.  Other formats supported by the &amp;#039;&amp;#039;&amp;#039;query&amp;#039;&amp;#039;&amp;#039; API are supported.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{para|cmsort}} - Default is no sorting. use {{para|cmsort|timestamp}} to sort by time.  See cmprop above.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{para|cmsort}} - Default is no sorting. use {{para|cmsort|timestamp}} to sort by time.  See cmprop above.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tungstenchan</name></author>
	</entry>
	<entry>
		<id>https://battleint.net/index.php?title=Template:APIQuery_categorymembers/doc&amp;diff=166774&amp;oldid=prev</id>
		<title>imported&gt;Deadfire: Updating</title>
		<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:APIQuery_categorymembers/doc&amp;diff=166774&amp;oldid=prev"/>
		<updated>2023-09-05T16:02:13Z</updated>

		<summary type="html">&lt;p&gt;Updating&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
;Intended use:&lt;br /&gt;
&lt;br /&gt;
* Place this on a category page to generate a link to call the Wikipedia API to generate a list of pages in the category, limited to 500 results.&lt;br /&gt;
&lt;br /&gt;
;Other uses:&lt;br /&gt;
&lt;br /&gt;
* Use this on any page to see the number of items in a category of the same name.  This is potentially useful on article talk pages which have a category with an identical name.&lt;br /&gt;
&lt;br /&gt;
* Use this with the {{para|CATPAGE}} parameter to generate a link for a specific category.&lt;br /&gt;
&lt;br /&gt;
* Use this at [[Special:ExpandTemplates]].  Put the category name in the &amp;lt;code&amp;gt;Context title, for {{FULLPAGENAME}}, etc.:&amp;lt;/code&amp;gt; line and &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; with the appropriate parameters in the &amp;lt;code&amp;gt;Input wikitext:&amp;lt;/code&amp;gt; line.&lt;br /&gt;
&lt;br /&gt;
* Use this multiple times with different parameters, to generate a list or table of links.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
Note:  Most of these are named after the parameters in the URL.  Not all URL parameters are supported.&lt;br /&gt;
* {{para|CATPAGE}} - overrides the &amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt; [[BTW:MAGIC|magic word]].&lt;br /&gt;
* {{para|cmprop}} - default is {{para|cmprop|title}}.  To add timestamps, use {{para|cmprop|title&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;timestamp}}.&lt;br /&gt;
* {{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 [[BattleTechWiki:Namespace]].&lt;br /&gt;
* {{para|format}} - Default is xml.  Other formats supported by the &amp;#039;&amp;#039;&amp;#039;query&amp;#039;&amp;#039;&amp;#039; API are supported.&lt;br /&gt;
* {{para|cmsort}} - Default is no sorting. use {{para|cmsort|timestamp}} to sort by time.  See cmprop above.&lt;br /&gt;
* {{para|cmdir}} - Sorting direction, default is whatever the underlying API default is. {{para|cmsort|desc}} or {{para|cmsort|asc}}.&lt;br /&gt;
;Example usage:&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|cmnamespace=1}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*:generates a URL that will list articles in a category&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|cmnamespace=4|cmsort=timestamp|cmdir=desc|cmprop=title{{!}}timestamp}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*:generates a URL that will list the user talk pages in a category, sorted by date, descending, with dates&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|format=json}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*:generates a URL that will generate JSON-formatted output&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{BASEPAGENAME}}|&amp;lt;nowiki&amp;gt;cmnamespace=0|CATPAGE=Pages where post-expand include size is exceeded}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*:generates an unsorted list of article pages in [[:Category:Pages where post-expand include size is exceeded]]:&lt;br /&gt;
*:&amp;lt;code&amp;gt;{{ {{BASEPAGENAME}}|cmnamespace=0|CATPAGE=Pages where post-expand include size is exceeded}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Technical details ==&lt;br /&gt;
This template generates a &amp;quot;plain link&amp;quot; URL whose text is the namespace if the {{para|csnamespace}} parameter is used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
//sarna.net/wiki/api.php?action=query&amp;amp;list=categorymembers&amp;amp;cmtitle=Category%3A{{{CATPAGE|{{PAGENAMEE}}}}}&amp;amp;cmprop={{{cmprop|title}}}&amp;amp;cmlimit=500&amp;amp;cmnamespace={{{cmnamespace|}}}&amp;amp;format={{{format|xml}}}{{#if: {{{cmsort|}}}|&amp;amp;cmsort={{{cmsort}}}}}{{#if: {{{cmdir|}}}|&amp;amp;cmdir={{{cmdir}}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Related templates ==&lt;br /&gt;
* [[{{NAMESPACE}}:{{ROOTPAGENAME}}/row]] - creates a single row.  Example:&lt;br /&gt;
*:{{{{NAMESPACE}}:{{ROOTPAGENAME}}/row|CATPAGE=Pages_where_post-expand_include_size_is_exceeded|cmnamespace=2}}&lt;br /&gt;
*:This example lists &amp;lt;code&amp;gt;User:&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;User talk:&amp;lt;/code&amp;gt; pages in [[:Category:Pages where post-expand include size is exceeded]]&lt;br /&gt;
* [[{{NAMESPACE}}:{{ROOTPAGENAME}}/table]] - Table of all namespaces, using [[{{NAMESPACE}}:{{ROOTPAGENAME}}/row]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Special:TrackingCategories]] - a list of maintenance categories.  This template may be useful in some of these categories.&lt;br /&gt;
* [[:mw:API:Categorymembers]] API details (on MediaWiki)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Formatting and function templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Deadfire</name></author>
	</entry>
</feed>