<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mbwiki.stairwaygames.work/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ALink_label</id>
	<title>Module:Link label - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mbwiki.stairwaygames.work/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ALink_label"/>
	<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=Module:Link_label&amp;action=history"/>
	<updated>2026-04-09T16:42:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://mbwiki.stairwaygames.work/w/index.php?title=Module:Link_label&amp;diff=5384&amp;oldid=prev</id>
		<title>Admin coral island: Created page with &quot;local p = {}  local TERMS = { 	&#039; %(flower%)&#039;, 	&#039; %(group%)&#039;, 	&#039; %(character%)&#039;, 	&#039; %(game%)&#039;, 	&#039; %(item%)&#039;, 	&#039; %(artisan product%)&#039;, 	&#039; %(cooked dish%)&#039;, }  function p.main(frame) 	local args = require(&#039;Module:Arguments&#039;).getArgs(frame, { 		parentFirst = true, 		wrapper = { &#039;Template:Link label&#039; } 	}) 	return p._main(args) end  function p.getTerms() 	local result = mw.html.create() 	for _, term in ipairs(TERMS) do 		local replacedTerm, _ = term:gsub(&#039;%%&#039;, &#039;&#039;) 		result:ne...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mbwiki.stairwaygames.work/w/index.php?title=Module:Link_label&amp;diff=5384&amp;oldid=prev"/>
		<updated>2023-08-02T10:03:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  local TERMS = { 	&amp;#039; %(flower%)&amp;#039;, 	&amp;#039; %(group%)&amp;#039;, 	&amp;#039; %(character%)&amp;#039;, 	&amp;#039; %(game%)&amp;#039;, 	&amp;#039; %(item%)&amp;#039;, 	&amp;#039; %(artisan product%)&amp;#039;, 	&amp;#039; %(cooked dish%)&amp;#039;, }  function p.main(frame) 	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame, { 		parentFirst = true, 		wrapper = { &amp;#039;Template:Link label&amp;#039; } 	}) 	return p._main(args) end  function p.getTerms() 	local result = mw.html.create() 	for _, term in ipairs(TERMS) do 		local replacedTerm, _ = term:gsub(&amp;#039;%%&amp;#039;, &amp;#039;&amp;#039;) 		result:ne...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local TERMS = {&lt;br /&gt;
	&amp;#039; %(flower%)&amp;#039;,&lt;br /&gt;
	&amp;#039; %(group%)&amp;#039;,&lt;br /&gt;
	&amp;#039; %(character%)&amp;#039;,&lt;br /&gt;
	&amp;#039; %(game%)&amp;#039;,&lt;br /&gt;
	&amp;#039; %(item%)&amp;#039;,&lt;br /&gt;
	&amp;#039; %(artisan product%)&amp;#039;,&lt;br /&gt;
	&amp;#039; %(cooked dish%)&amp;#039;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame, {&lt;br /&gt;
		parentFirst = true,&lt;br /&gt;
		wrapper = { &amp;#039;Template:Link label&amp;#039; }&lt;br /&gt;
	})&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getTerms()&lt;br /&gt;
	local result = mw.html.create()&lt;br /&gt;
	for _, term in ipairs(TERMS) do&lt;br /&gt;
		local replacedTerm, _ = term:gsub(&amp;#039;%%&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
		result:newline():wikitext(&amp;#039;* &amp;#039;):tag(&amp;#039;code&amp;#039;):wikitext(replacedTerm):done()&lt;br /&gt;
	end&lt;br /&gt;
	return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	local link = type(args) == &amp;#039;table&amp;#039; and args[1] or args&lt;br /&gt;
	if (link == nil or type(link) == &amp;#039;table&amp;#039;) then return &amp;#039;&amp;#039; end&lt;br /&gt;
	&lt;br /&gt;
	link = tostring(link)&lt;br /&gt;
	if (link:find(&amp;#039;%|&amp;#039;)) then return link end&lt;br /&gt;
	-- if link contains multiple links&lt;br /&gt;
	local _, count = link:gsub(&amp;#039;%[%[&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	if (count &amp;gt; 1) then return link end&lt;br /&gt;
	&lt;br /&gt;
	if (link:find(&amp;#039;%[%[&amp;#039;) and link:find(&amp;#039;%]%]&amp;#039;)) then&lt;br /&gt;
		link = link:gsub(&amp;#039;%[%[&amp;#039;, &amp;#039;&amp;#039;):gsub(&amp;#039;%]%]&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local label = link&lt;br /&gt;
	for _, term in ipairs(TERMS) do&lt;br /&gt;
		if (link:find(term)) then label = link:gsub(term, &amp;#039;&amp;#039;) end&lt;br /&gt;
	end&lt;br /&gt;
		&lt;br /&gt;
	return &amp;#039;[[&amp;#039; .. link .. &amp;#039;|&amp;#039; .. label .. &amp;#039;]]&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Admin coral island</name></author>
	</entry>
</feed>