<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Aalso%2Ftemplates</id>
	<title>Module:also/templates - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Aalso%2Ftemplates"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:also/templates&amp;action=history"/>
	<updated>2026-04-22T05:48:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Module:also/templates&amp;diff=494856&amp;oldid=prev</id>
		<title>Sware: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:also/templates&amp;diff=494856&amp;oldid=prev"/>
		<updated>2026-04-21T11:22:47Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:22, 21 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Sware</name></author>
	</entry>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Module:also/templates&amp;diff=494855&amp;oldid=prev</id>
		<title>wikt&gt;Surjection: Protected &quot;Module:also/templates&quot;: Highly visible template/module ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:also/templates&amp;diff=494855&amp;oldid=prev"/>
		<updated>2024-11-14T20:58:20Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Module:also/templates&quot; title=&quot;Module:also/templates&quot;&gt;Module:also/templates&lt;/a&gt;&amp;quot;: Highly visible template/module ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Prevent substitution.&lt;br /&gt;
if mw.isSubsting() then&lt;br /&gt;
	return require(&amp;quot;Module:unsubst&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local export = {}&lt;br /&gt;
&lt;br /&gt;
local get_script = require(&amp;quot;Module:scripts&amp;quot;).getByCode&lt;br /&gt;
local insert = table.insert&lt;br /&gt;
local process_params = require(&amp;quot;Module:parameters&amp;quot;).process&lt;br /&gt;
local yesno = require(&amp;quot;Module:yesno&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
function export.also_t(frame)&lt;br /&gt;
	local args = process_params(frame:getParent().args or frame.args, {&lt;br /&gt;
		[1] = {required = true, list = true},&lt;br /&gt;
		[&amp;quot;sc&amp;quot;] = {list = true, allow_holes = true, require_index = true},&lt;br /&gt;
		[&amp;quot;uni&amp;quot;] = {list = true, allow_holes = true, separate_no_index = true},&lt;br /&gt;
	})&lt;br /&gt;
	&lt;br /&gt;
	if args.sc.maxindex &amp;gt; 0 then&lt;br /&gt;
		require(&amp;quot;Module:debug/track&amp;quot;)(&amp;quot;also/sc param&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local terms, sc, uni = {}, args.sc, args.uni&lt;br /&gt;
	for i, term in ipairs(args[1]) do&lt;br /&gt;
		local sc_i = sc[i]&lt;br /&gt;
		if sc_i then&lt;br /&gt;
			term = {term = term, sc = get_script(sc_i)}&lt;br /&gt;
		end&lt;br /&gt;
		local uni_i = uni[i]&lt;br /&gt;
		if uni_i then&lt;br /&gt;
			if type(term) == &amp;quot;string&amp;quot; then&lt;br /&gt;
				term = {term = term}&lt;br /&gt;
			end&lt;br /&gt;
			-- If boolean false specified, set as `false`; otherwise, retain the input value.&lt;br /&gt;
			-- Exceptionally, &amp;quot;0&amp;quot; is treated as itself, not `false`.&lt;br /&gt;
			term.uni = uni_i == &amp;quot;0&amp;quot; and uni_i or yesno(uni_i, uni_i) and uni_i or false&lt;br /&gt;
		end&lt;br /&gt;
		insert(terms, term)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local uni_default = args.uni.default&lt;br /&gt;
	terms.uni_default = yesno(uni_default == &amp;quot;auto&amp;quot; or uni_default) and &amp;quot;auto&amp;quot; or nil&lt;br /&gt;
	&lt;br /&gt;
	return require(&amp;quot;Module:also&amp;quot;).main(terms)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return export&lt;/div&gt;</summary>
		<author><name>wikt&gt;Surjection</name></author>
	</entry>
</feed>