<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moonbounce.wiki/?action=history&amp;feed=atom&amp;title=Module%3AQuestListModule</id>
	<title>Module:QuestListModule - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moonbounce.wiki/?action=history&amp;feed=atom&amp;title=Module%3AQuestListModule"/>
	<link rel="alternate" type="text/html" href="https://moonbounce.wiki/?title=Module:QuestListModule&amp;action=history"/>
	<updated>2026-05-13T19:24:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://moonbounce.wiki/?title=Module:QuestListModule&amp;diff=3272&amp;oldid=prev</id>
		<title>Bane: Try and set up an easy list display thing...</title>
		<link rel="alternate" type="text/html" href="https://moonbounce.wiki/?title=Module:QuestListModule&amp;diff=3272&amp;oldid=prev"/>
		<updated>2024-10-20T00:35:03Z</updated>

		<summary type="html">&lt;p&gt;Try and set up an easy list display thing...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Module:QuestListModule&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.displayList(frame)&lt;br /&gt;
  -- Get the first argument passed to the module&lt;br /&gt;
  local itemList = frame.args[1]&lt;br /&gt;
  -- Split the string into a table based on the comma delimiter&lt;br /&gt;
  local items = mw.text.split(itemList, ',')&lt;br /&gt;
  -- Initialize the result string&lt;br /&gt;
  local result = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  -- If no items are found, add &amp;quot;Nothing&amp;quot; to the list&lt;br /&gt;
  if #items == 0 then&lt;br /&gt;
    items = {&amp;quot;Nothing&amp;quot;}&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
  -- if the item is wrapped in brackets, remove them&lt;br /&gt;
  for i, item in ipairs(items) do&lt;br /&gt;
    items[i] = item:gsub(&amp;quot;%[&amp;quot;, &amp;quot;&amp;quot;):gsub(&amp;quot;%]&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
  -- Iterate over the items and create a div element for each&lt;br /&gt;
  for i, item in ipairs(items) do&lt;br /&gt;
    item = mw.text.trim(item)&lt;br /&gt;
&lt;br /&gt;
    -- Open the div element &lt;br /&gt;
    result = result .. '&amp;lt;div class=&amp;quot;list_item&amp;quot; style=&amp;quot;display: flex; gap: 5px;&amp;quot;&amp;gt;'&lt;br /&gt;
    -- Add the image and item name to the div element&lt;br /&gt;
    result = result .. item&lt;br /&gt;
    -- Close the div element&lt;br /&gt;
    result = result .. '&amp;lt;/div&amp;gt;\n'&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
  return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Bane</name></author>
	</entry>
</feed>