<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?action=history&amp;feed=atom&amp;title=Module%3AIcons</id>
	<title>Module:Icons - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?action=history&amp;feed=atom&amp;title=Module%3AIcons"/>
	<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Icons&amp;action=history"/>
	<updated>2026-10-04T15:31:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Icons&amp;diff=7331&amp;oldid=prev</id>
		<title>76561197984340591: Use wikitable for the generated icon documentation table</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Icons&amp;diff=7331&amp;oldid=prev"/>
		<updated>2026-08-08T17:50:17Z</updated>

		<summary type="html">&lt;p&gt;Use wikitable for the generated icon documentation table&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 17:50, 8 August 2026&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-l193&quot;&gt;Line 193:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 193:&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;   &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;   &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;     table.sort(keys)&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;     table.sort(keys)&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;     result = &#039;{| class=&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;va-table va-table-full&lt;/del&gt;&quot;\n|-\n !prefix!!Icon!!prefix!!Icon!!prefix!!Icon\n|-\n&#039;&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;     result = &#039;{| class=&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wikitable&lt;/ins&gt;&quot;\n|-\n !prefix!!Icon!!prefix!!Icon!!prefix!!Icon\n|-\n&#039;&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;     set = 1&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;     set = 1&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;     for k,v in ipairs(keys) do&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;     for k,v in ipairs(keys) do&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key WRSR_:diff:1.41:old-1952:rev-7331:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>76561197984340591</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Icons&amp;diff=1952&amp;oldid=prev</id>
		<title>76561198012490491: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Icons&amp;diff=1952&amp;oldid=prev"/>
		<updated>2024-06-14T17:43:42Z</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;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 17:43, 14 June 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&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;!-- diff cache key WRSR_:diff:1.41:old-1951:rev-1952 --&gt;
&lt;/table&gt;</summary>
		<author><name>76561198012490491</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Icons&amp;diff=1951&amp;oldid=prev</id>
		<title>workers-resources-fandom&gt;Abominação: Created page with &quot;local p = {} local util = require( &#039;Module:Util&#039; ) -- 	Icon data is now stored on the sub page /data to seperate functional code 	for the dataset users will often need to update. This reduces the risk of 	breaking the code by entering data in the wrong place and makes it easier to 	manage the code itself by not having to pass through the large dataset at  	the top. 	 	This module was taken from Nukapedia. All credits go to said wiki.   require( &#039;Module:Icons/data&#039; )...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Workers_Resources_Soviet_Republic/index.php?title=Module:Icons&amp;diff=1951&amp;oldid=prev"/>
		<updated>2022-06-15T23:38:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {} local util = require( &amp;#039;Module:Util&amp;#039; ) --[[ 	Icon data is now stored on the sub page /data to seperate functional code 	for the dataset users will often need to update. This reduces the risk of 	breaking the code by entering data in the wrong place and makes it easier to 	manage the code itself by not having to pass through the large dataset at  	the top. 	 	This module was taken from Nukapedia. All credits go to said wiki. ]]  require( &amp;#039;Module:Icons/data&amp;#039; )...&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;
local util = require( &amp;#039;Module:Util&amp;#039; )&lt;br /&gt;
--[[&lt;br /&gt;
	Icon data is now stored on the sub page /data to seperate functional code&lt;br /&gt;
	for the dataset users will often need to update. This reduces the risk of&lt;br /&gt;
	breaking the code by entering data in the wrong place and makes it easier to&lt;br /&gt;
	manage the code itself by not having to pass through the large dataset at &lt;br /&gt;
	the top.&lt;br /&gt;
	&lt;br /&gt;
	This module was taken from Nukapedia. All credits go to said wiki.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
require( &amp;#039;Module:Icons/data&amp;#039; ) &lt;br /&gt;
&lt;br /&gt;
local iconSize = {&lt;br /&gt;
    --[[&lt;br /&gt;
        All sizes are controlled on the height to ensure a string of icons maintain &lt;br /&gt;
        a consistent line height&lt;br /&gt;
    ]]&lt;br /&gt;
    [&amp;quot;small&amp;quot;]           = &amp;quot;x10px&amp;quot;,&lt;br /&gt;
    [&amp;quot;medium&amp;quot;]          = &amp;quot;x14px&amp;quot;,&lt;br /&gt;
    [&amp;quot;normal&amp;quot;]          = &amp;quot;x14px&amp;quot;,&lt;br /&gt;
    [&amp;quot;big&amp;quot;]             = &amp;quot;x20px&amp;quot;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
--[[ 28/Oct/2021 Added class control table to array as to handle light/dark &lt;br /&gt;
	themes. This was originally put into the frontend template, when class&lt;br /&gt;
	handling should be back end. Adding the [&amp;#039;class&amp;#039;] = &amp;#039;light&amp;#039; or &lt;br /&gt;
	[&amp;#039;class&amp;#039;] = &amp;#039;dark&amp;#039; parameter to a icon&amp;#039;s dataset on /data will enable it to&lt;br /&gt;
	access a class if needed.&lt;br /&gt;
	]]&lt;br /&gt;
&lt;br /&gt;
--[[ 08/Nov/2021 Remove the class definition as to be able to just pass straight through&lt;br /&gt;
local class = {&lt;br /&gt;
	[&amp;#039;light&amp;#039;] = &amp;#039;lighticon&amp;#039;,&lt;br /&gt;
	[&amp;#039;dark&amp;#039;] = &amp;#039;darkicon&amp;#039;,&lt;br /&gt;
	[&amp;#039;general&amp;#039;] = &amp;#039;generalicon&amp;#039;&lt;br /&gt;
}&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function _generate(iconList, iconSetting, iconLinks, tipOverride, iconClass, iconSize)&lt;br /&gt;
    if util.exists(iconSetting)  then &lt;br /&gt;
    	iconSetting = util.trim(iconSetting)&lt;br /&gt;
        if util.exists(iconSize[iconSetting]) then&lt;br /&gt;
            iconSetting = iconSize[iconSetting]&lt;br /&gt;
        end&lt;br /&gt;
    else&lt;br /&gt;
        iconSetting = iconSize[&amp;quot;medium&amp;quot;]&lt;br /&gt;
    end&lt;br /&gt;
    -- This is for calls from other Lua modules as the above will result in nil&lt;br /&gt;
    if util.exists(iconSetting) == false then&lt;br /&gt;
    	if util.exists(iconSize) then&lt;br /&gt;
			iconSetting = iconSize&lt;br /&gt;
		else&lt;br /&gt;
			iconSetting = &amp;#039;x14px&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    if util.exists(iconLinks) then&lt;br /&gt;
        iconLinks = mw.text.split(iconLinks, &amp;quot;,&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
        &lt;br /&gt;
    if util.exists(tipOverride) then&lt;br /&gt;
        tipOverride = mw.text.split(tipOverride, &amp;quot;,&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    if util.exists(iconClass)then&lt;br /&gt;
    	iconClass = &amp;quot;|class=&amp;quot; .. tostring(iconClass);&lt;br /&gt;
    else&lt;br /&gt;
    	iconClass = &amp;quot;&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local result = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    for k, v in ipairs(iconList) do&lt;br /&gt;
        newIcon = iconData[util.trim(v)]&lt;br /&gt;
        if util.exists(newIcon) then&lt;br /&gt;
            currentIcon = newIcon.icon&lt;br /&gt;
            if util.exists(tipOverride, k) then&lt;br /&gt;
                currentTip = tipOverride[k]&lt;br /&gt;
            else&lt;br /&gt;
                if util.exists(iconLinks, k) then&lt;br /&gt;
                    currentTip = iconLinks[k]&lt;br /&gt;
                else&lt;br /&gt;
                    currentTip = newIcon.tip&lt;br /&gt;
                end&lt;br /&gt;
            end&lt;br /&gt;
        else&lt;br /&gt;
            currentIcon = &amp;quot;Icon question.png&amp;quot;&lt;br /&gt;
            currentTip = &amp;quot;Unrecognized icon name&amp;quot;&lt;br /&gt;
            result = result .. &amp;quot;[[Category:Modules with invalid parameters]]&amp;quot;&lt;br /&gt;
        end&lt;br /&gt;
        &lt;br /&gt;
        --Create wikitext icon&lt;br /&gt;
		dataLine = &amp;#039;[[File:&amp;#039; .. currentIcon .. &amp;#039;|&amp;#039; .. iconSetting&lt;br /&gt;
        if util.exists(iconLinks, k) then&lt;br /&gt;
            dataLine = dataLine .. &amp;#039;|link=&amp;#039; .. iconLinks[k]&lt;br /&gt;
        else&lt;br /&gt;
            dataLine = dataLine .. &amp;#039;|link=&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
        if currentTip ~= nil then&lt;br /&gt;
            dataLine = dataLine .. &amp;#039;|&amp;#039; .. currentTip&lt;br /&gt;
        end&lt;br /&gt;
&lt;br /&gt;
        dataLine = dataLine .. iconClass .. &amp;#039;]]&amp;#039;&lt;br /&gt;
&lt;br /&gt;
		createTip = mw.html.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
        	createTip:addClass( &amp;#039;va-icon&amp;#039; )&lt;br /&gt;
        	:attr(&amp;#039;title&amp;#039;, currentTip)&lt;br /&gt;
        	:wikitext(dataLine)&lt;br /&gt;
        result = result .. tostring(createTip)&lt;br /&gt;
        &lt;br /&gt;
        if k &amp;lt; table.getn(iconList) then&lt;br /&gt;
        	result = result .. &amp;quot; &amp;quot;&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Calls from other modules&lt;br /&gt;
function p.innerIcon(iconList, iconSetting, iconLinks, tipOverride, iconClass, iconSize)&lt;br /&gt;
	iconList = mw.text.split(iconList, &amp;#039;,&amp;#039;)&lt;br /&gt;
	return _generate(iconList, iconSetting, iconLinks, tipOverride, iconClass, iconSize)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.Icons(frame) &lt;br /&gt;
	--[[All icons are now lower case to reduce script errors from &lt;br /&gt;
	incorrectly entering the icon code in a different case to the list]]&lt;br /&gt;
    local iconList = mw.text.split(string.lower(frame.args[1]), &amp;quot;,&amp;quot;)&lt;br /&gt;
    local iconSetting = frame.args[2]&lt;br /&gt;
    local iconLinks = frame.args[3]&lt;br /&gt;
    local tipOverride = frame.args[4]&lt;br /&gt;
    local iconClass = frame.args[5]	&lt;br /&gt;
	local iconSize = {&lt;br /&gt;
    	--[[&lt;br /&gt;
    	    All sizes are controlled on the height to ensure a string of icons maintain &lt;br /&gt;
	        a consistent line height&lt;br /&gt;
    	]]&lt;br /&gt;
    	[&amp;quot;small&amp;quot;]           = &amp;quot;x10px&amp;quot;,&lt;br /&gt;
    	[&amp;quot;medium&amp;quot;]          = &amp;quot;x14px&amp;quot;,&lt;br /&gt;
    	[&amp;quot;normal&amp;quot;]          = &amp;quot;x14px&amp;quot;,&lt;br /&gt;
    	[&amp;quot;big&amp;quot;]             = &amp;quot;x20px&amp;quot;&lt;br /&gt;
	}&lt;br /&gt;
    return _generate(iconList, iconSetting, iconLinks, tipOverride, iconClass, iconSize)    &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.platforms(frame)&lt;br /&gt;
	--[[All icons are now lower case to reduce script errors from &lt;br /&gt;
	incorrectly entering the icon code in a different case to the list]]&lt;br /&gt;
    local icons = mw.text.split(string.lower(frame.args[1]), &amp;quot;,&amp;quot;)&lt;br /&gt;
    local result = &amp;quot;&amp;quot;&lt;br /&gt;
    &lt;br /&gt;
    for k, v in ipairs(icons) do&lt;br /&gt;
        currentIcon = iconData[util.trim(v)]&lt;br /&gt;
        &lt;br /&gt;
        if util.exists(currentIcon, &amp;#039;platform&amp;#039;) == true then&lt;br /&gt;
        	&lt;br /&gt;
            createSM = mw.html.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
            	createSM:css(&amp;#039;display&amp;#039;, &amp;#039;none&amp;#039;)&lt;br /&gt;
            	:wikitext(&amp;#039;[[Has platform::&amp;#039; .. currentIcon.tip .. &amp;#039;]]&amp;#039;)&lt;br /&gt;
            	:allDone()&lt;br /&gt;
            createPlatform = mw.html.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
            	createPlatform:addClass(&amp;#039;va-icon&amp;#039;)&lt;br /&gt;
            		:attr(&amp;#039;title&amp;#039;, currentIcon.tip)&lt;br /&gt;
            		:wikitext(&amp;#039;[[File:&amp;#039; &lt;br /&gt;
            			.. currentIcon.icon &lt;br /&gt;
            			.. &amp;#039;|alt=&amp;#039;&lt;br /&gt;
            			.. currentIcon.tip&lt;br /&gt;
            			.. &amp;#039;|x14px|link=]]&amp;#039;)&lt;br /&gt;
            		:allDone()&lt;br /&gt;
            	--[[ Uncommenting tostring(createSM) below will enable &lt;br /&gt;
            	Semantic Mediawiki data tracking]]&lt;br /&gt;
            	result = result .. tostring(createSM) &lt;br /&gt;
            			.. tostring(createPlatform)&lt;br /&gt;
            if k &amp;lt; table.getn(icons) then&lt;br /&gt;
                result = result .. &amp;quot; &amp;quot;&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    if result == &amp;#039;&amp;#039; then&lt;br /&gt;
        result = &amp;#039;&amp;lt;sup&amp;gt;[Platforms needed]&amp;lt;/sup&amp;gt;[[Category:Platforms needed]]&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    return result&lt;br /&gt;
end    &lt;br /&gt;
&lt;br /&gt;
function p.documentation()&lt;br /&gt;
    keys = {}&lt;br /&gt;
    for k in pairs(iconData) do&lt;br /&gt;
        table.insert(keys, k)&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    table.sort(keys)&lt;br /&gt;
    result = &amp;#039;{| class=&amp;quot;va-table va-table-full&amp;quot;\n|-\n !prefix!!Icon!!prefix!!Icon!!prefix!!Icon\n|-\n&amp;#039;&lt;br /&gt;
    set = 1&lt;br /&gt;
    for k,v in ipairs(keys) do&lt;br /&gt;
		i = iconData[v]&lt;br /&gt;
        result = result .. &amp;quot;||&amp;#039;&amp;#039;&amp;#039;&amp;quot; .. v .. &amp;quot;&amp;#039;&amp;#039;&amp;#039;&amp;quot;&lt;br /&gt;
        if util.exists(i) == true and i.class ~= nil then&lt;br /&gt;
        	newFile = mw.html.create(span)&lt;br /&gt;
        		--:addClass(class[i.class])&lt;br /&gt;
        		:wikitext(&amp;#039;[[File:&amp;#039; .. iconData[v].icon .. &amp;#039;|25px]]&amp;#039;)&lt;br /&gt;
        else&lt;br /&gt;
        	newFile = mw.html.create(span)&lt;br /&gt;
        		:wikitext(&amp;#039;[[File:&amp;#039; .. iconData[v].icon .. &amp;#039;|25px]]&amp;#039;)&lt;br /&gt;
        end&lt;br /&gt;
        result = result .. &amp;#039;||&amp;#039; .. tostring(newFile)&lt;br /&gt;
 &lt;br /&gt;
        if set == 3 then&lt;br /&gt;
            result = result .. &amp;#039;\n|-\n&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
 &lt;br /&gt;
        if set &amp;lt; 3 then&lt;br /&gt;
            set = set + 1&lt;br /&gt;
        else&lt;br /&gt;
            set = 1&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    result = result .. &amp;#039;\n|}&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
    return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.Test(frame) &lt;br /&gt;
	--Please empty when done debugging so other users know it is free to use&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>workers-resources-fandom&gt;Abominação</name></author>
	</entry>
</feed>