<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.hftools.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATable_row_counter%2Fdoc</id>
	<title>Template:Table row counter/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.hftools.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATable_row_counter%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.hftools.org/index.php?title=Template:Table_row_counter/doc&amp;action=history"/>
	<updated>2026-05-10T14:53:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://wiki.hftools.org/index.php?title=Template:Table_row_counter/doc&amp;diff=219&amp;oldid=prev</id>
		<title>HFAdmin: Imported from wiki.hackforums.net public API</title>
		<link rel="alternate" type="text/html" href="http://wiki.hftools.org/index.php?title=Template:Table_row_counter/doc&amp;diff=219&amp;oldid=prev"/>
		<updated>2026-05-08T03:40:53Z</updated>

		<summary type="html">&lt;p&gt;Imported from wiki.hackforums.net public API&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Imported from https://wiki.hackforums.net/Template%3ATable_row_counter/doc source revision 2015-03-22T19:17:23Z --&amp;gt;&lt;br /&gt;
{{Documentation subpage}}&lt;br /&gt;
{{lua|Module:Table row counter}}&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------&lt;br /&gt;
     Place categories where indicated at the bottom of this page,&lt;br /&gt;
     please; interwikis to Wikidata (see [[Wikipedia:Wikidata]]).&lt;br /&gt;
 --------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template counts the number of rows in wikitext tables. It does not work with nested tables, HTML tables, or tables contained in templates. It will also ignore {{tag|nowiki}} tags and {{tag|pre}} tags.&lt;br /&gt;
&lt;br /&gt;
The template works by getting the wikitext source of a page and counting the number of tables in that source. This means that the template will not return the correct number of rows on preview, as it will still be using the old version of the page to count from. This also means that if there is more than one wikitext table on a page, you need to specify the number or the ID of the table manually.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Table ID&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;#123;{table row counter|id=&amp;#039;&amp;#039;id&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Table number&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;#123;{table row counter|tableno=&amp;#039;&amp;#039;number&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;All parameters&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;#123;{table row counter|id=&amp;#039;&amp;#039;id&amp;#039;&amp;#039;|tableno=&amp;#039;&amp;#039;number&amp;#039;&amp;#039;|ignore=&amp;#039;&amp;#039;number&amp;#039;&amp;#039;|page=&amp;#039;&amp;#039;pagename&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;id&amp;#039;&amp;#039;&amp;#039; - if specified, the template will decide which table to use by its ID. IDs can be assigned to wikitables by adding the text &amp;lt;code&amp;gt;id=&amp;quot;&amp;#039;&amp;#039;id&amp;#039;&amp;#039;&amp;quot;&amp;lt;/code&amp;gt; to the first line of the table (the same line as the &amp;lt;code&amp;gt;{|&amp;lt;/code&amp;gt; code). IDs can consist of uppercase letters, lowercase letters and numbers. Whitespace is not permitted.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;tableno&amp;#039;&amp;#039;&amp;#039; - the number of the table to use, if there is more than one table on the page. Defaults to 1.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ignore&amp;#039;&amp;#039;&amp;#039; - the number of rows to ignore. If specified, the template subtracts this number of rows from the count. This is useful if you do not need to count header rows, etc.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;page&amp;#039;&amp;#039;&amp;#039; - the page to work on. Defaults to the current page.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The table to be used&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{| class=&amp;quot;wikitable&amp;quot; id=&amp;quot;foo&amp;quot;&lt;br /&gt;
| Cell 1 || Cell 2&lt;br /&gt;
|-&lt;br /&gt;
| Cell 3 || Cell 4&lt;br /&gt;
|-&lt;br /&gt;
| Cell 5 || Cell 6&lt;br /&gt;
|}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; id=&amp;quot;foo&amp;quot;&lt;br /&gt;
| Cell 1 || Cell 2&lt;br /&gt;
|-&lt;br /&gt;
| Cell 3 || Cell 4&lt;br /&gt;
|-&lt;br /&gt;
| Cell 5 || Cell 6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Code and result&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{table row counter|id=foo|page=Template:Table row counter/doc}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;amp;rarr; {{table row counter|id=foo|page=Template:Table row counter/doc}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-------------------------------------------------------------------&lt;br /&gt;
       Categories below here, interwikis to Wikidata.&lt;br /&gt;
 --------------------------------------------------------------------&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>HFAdmin</name></author>
	</entry>
</feed>