<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ATable_row_counter%2Fdoc</id>
	<title>Module:Table row counter/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ATable_row_counter%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Table_row_counter/doc&amp;action=history"/>
	<updated>2026-04-11T12:30:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Table_row_counter/doc&amp;diff=147140&amp;oldid=prev</id>
		<title>imported&gt;WOSlinker: change source to syntaxhighlight</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Table_row_counter/doc&amp;diff=147140&amp;oldid=prev"/>
		<updated>2020-07-07T13:28:57Z</updated>

		<summary type="html">&lt;p&gt;change source to syntaxhighlight&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This module implements the {{tl|table row counter}} template.&lt;br /&gt;
&lt;br /&gt;
== Usage from wikitext ==&lt;br /&gt;
&lt;br /&gt;
This module can be used from wikitext in the same way as the {{tl|table row counter}} template, by simply using &amp;lt;code&amp;gt;{{braces|#invoke:table row counter|main}}&amp;lt;/code&amp;gt; in place of &amp;lt;code&amp;gt;{{braces|table row counter}}&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Usage from Lua modules ==&lt;br /&gt;
&lt;br /&gt;
To use this module from other Lua modules, first load the module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local mTRC = require(&amp;#039;Module:Table row counter&amp;#039;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can then count table rows by using the _main function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mTRC._main(args)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;var&amp;gt;args&amp;lt;/var&amp;gt; is a table containing the module arguments. See the [[Template:Table row counter|template documentation]] for more information about the available arguments, and for general caveats about this module&amp;#039;s use.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;WOSlinker</name></author>
	</entry>
</feed>