<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-BR">
	<id>https://wiki.gla.com.br/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo%3AChestGuide</id>
	<title>Módulo:ChestGuide - Histórico de revisão</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gla.com.br/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo%3AChestGuide"/>
	<link rel="alternate" type="text/html" href="https://wiki.gla.com.br/index.php?title=M%C3%B3dulo:ChestGuide&amp;action=history"/>
	<updated>2026-05-11T00:08:28Z</updated>
	<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.gla.com.br/index.php?title=M%C3%B3dulo:ChestGuide&amp;diff=44710&amp;oldid=prev</id>
		<title>Gurren1 em 00h17min de 13 de março de 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.gla.com.br/index.php?title=M%C3%B3dulo:ChestGuide&amp;diff=44710&amp;oldid=prev"/>
		<updated>2026-03-13T00:17:48Z</updated>

		<summary type="html">&lt;p&gt;&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;pt-BR&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Edição das 00h17min de 13 de março de 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-l39&quot;&gt;Linha 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 39:&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;br/&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;br/&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;         local href      = tostring(mw.uri.localUrl(link))&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;         local href      = tostring(mw.uri.localUrl(link))&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;         local comumHtml = frame:preprocess('[[File:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CommonCHest&lt;/del&gt;.png|link=]]')&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;         local comumHtml = frame:preprocess('[[File:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CommonChest&lt;/ins&gt;.png|link=]]')&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;         local ouroHtml  = frame:preprocess('[[File:GoldChest.png|link=]]')&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;         local ouroHtml  = frame:preprocess('[[File:GoldChest.png|link=]]')&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;br/&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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gurren1</name></author>
	</entry>
	<entry>
		<id>https://wiki.gla.com.br/index.php?title=M%C3%B3dulo:ChestGuide&amp;diff=44708&amp;oldid=prev</id>
		<title>Gurren1 em 00h17min de 13 de março de 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.gla.com.br/index.php?title=M%C3%B3dulo:ChestGuide&amp;diff=44708&amp;oldid=prev"/>
		<updated>2026-03-13T00:17:33Z</updated>

		<summary type="html">&lt;p&gt;&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;pt-BR&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Edição das 00h17min de 13 de março de 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-l39&quot;&gt;Linha 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 39:&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;br/&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;br/&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;         local href      = tostring(mw.uri.localUrl(link))&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;         local href      = tostring(mw.uri.localUrl(link))&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;         local comumHtml = frame:preprocess('[[File:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Chest_normal&lt;/del&gt;.png|link=]]')&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;         local comumHtml = frame:preprocess('[[File:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CommonCHest&lt;/ins&gt;.png|link=]]')&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;         local ouroHtml  = frame:preprocess('[[File:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Chest_gold&lt;/del&gt;.png|link=]]')&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;         local ouroHtml  = frame:preprocess('[[File:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;GoldChest&lt;/ins&gt;.png|link=]]')&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;br/&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;br/&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;         -- Banner 380x80: fundo = img da ilha, baus canto superior esquerdo, título canto inferior esquerdo&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;         -- Banner 380x80: fundo = img da ilha, baus canto superior esquerdo, título canto inferior esquerdo&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gurren1</name></author>
	</entry>
	<entry>
		<id>https://wiki.gla.com.br/index.php?title=M%C3%B3dulo:ChestGuide&amp;diff=44698&amp;oldid=prev</id>
		<title>Gurren1: Criou página com 'local p = {}  -- Parseia bau no formato &quot;2 comum, 8 ouro&quot; ou &quot;8 ouro, 2 comum&quot;. Retorna comum, ouro (números) ou nil,nil se for só tipo (comum/ouro). local function parseBau...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.gla.com.br/index.php?title=M%C3%B3dulo:ChestGuide&amp;diff=44698&amp;oldid=prev"/>
		<updated>2026-03-12T23:56:51Z</updated>

		<summary type="html">&lt;p&gt;Criou página com &amp;#039;local p = {}  -- Parseia bau no formato &amp;quot;2 comum, 8 ouro&amp;quot; ou &amp;quot;8 ouro, 2 comum&amp;quot;. Retorna comum, ouro (números) ou nil,nil se for só tipo (comum/ouro). local function parseBau...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Parseia bau no formato &amp;quot;2 comum, 8 ouro&amp;quot; ou &amp;quot;8 ouro, 2 comum&amp;quot;. Retorna comum, ouro (números) ou nil,nil se for só tipo (comum/ouro).&lt;br /&gt;
local function parseBau(s)&lt;br /&gt;
    if not s or s == '' then return nil, nil end&lt;br /&gt;
    s           = mw.text.trim(s)&lt;br /&gt;
    local comum = tonumber(s:match('(%d+)%s*[Cc]omum')) or 0&lt;br /&gt;
    local ouro  = tonumber(s:match('(%d+)%s*[Oo]uro')) or 0&lt;br /&gt;
    if comum &amp;gt; 0 or ouro &amp;gt; 0 then&lt;br /&gt;
        return comum, ouro&lt;br /&gt;
    end&lt;br /&gt;
    return nil, nil&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
    local args = frame:getParent().args&lt;br /&gt;
    local cards = {}&lt;br /&gt;
&lt;br /&gt;
    local i = 1&lt;br /&gt;
    while true do&lt;br /&gt;
        local nome = args['nome' .. i]&lt;br /&gt;
        if not nome or mw.text.trim(nome) == '' then break end&lt;br /&gt;
&lt;br /&gt;
        local link        = mw.text.trim(args['link' .. i] or '')&lt;br /&gt;
        local img         = mw.text.trim(args['img' .. i] or '')&lt;br /&gt;
        local qtd         = mw.text.trim(args['qtd' .. i] or '0')&lt;br /&gt;
        local bauParam    = mw.text.trim(args['bau' .. i] or 'comum')&lt;br /&gt;
&lt;br /&gt;
        local comum, ouro = parseBau(bauParam)&lt;br /&gt;
        if comum == nil and ouro == nil then&lt;br /&gt;
            -- Modo antigo: bau = comum ou ouro, qtd = quantidade&lt;br /&gt;
            local n = tonumber(qtd) or 0&lt;br /&gt;
            if bauParam:lower() == 'ouro' then&lt;br /&gt;
                comum, ouro = 0, n&lt;br /&gt;
            else&lt;br /&gt;
                comum, ouro = n, 0&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
&lt;br /&gt;
        local href      = tostring(mw.uri.localUrl(link))&lt;br /&gt;
        local comumHtml = frame:preprocess('[[File:Chest_normal.png|link=]]')&lt;br /&gt;
        local ouroHtml  = frame:preprocess('[[File:Chest_gold.png|link=]]')&lt;br /&gt;
&lt;br /&gt;
        -- Banner 380x80: fundo = img da ilha, baus canto superior esquerdo, título canto inferior esquerdo&lt;br /&gt;
        local banner    = mw.html.create('span')&lt;br /&gt;
        banner:attr('class', 'island-banner')&lt;br /&gt;
            :attr('data-href', href)&lt;br /&gt;
            :attr('data-bgimg', img)&lt;br /&gt;
            :attr('role', 'link')&lt;br /&gt;
            :attr('tabindex', '0')&lt;br /&gt;
&lt;br /&gt;
        local chests = banner:tag('span'):attr('class', 'island-chests')&lt;br /&gt;
        if comum &amp;gt; 0 then&lt;br /&gt;
            chests:tag('span'):attr('class', 'island-chest-group')&lt;br /&gt;
                :node(mw.html.create(''):wikitext(comumHtml))&lt;br /&gt;
                :tag('span'):attr('class', 'island-chest-count'):wikitext(tostring(comum))&lt;br /&gt;
        end&lt;br /&gt;
        if ouro &amp;gt; 0 then&lt;br /&gt;
            chests:tag('span'):attr('class', 'island-chest-group')&lt;br /&gt;
                :node(mw.html.create(''):wikitext(ouroHtml))&lt;br /&gt;
                :tag('span'):attr('class', 'island-chest-count'):wikitext(tostring(ouro))&lt;br /&gt;
        end&lt;br /&gt;
&lt;br /&gt;
        banner:tag('span'):attr('class', 'island-title'):wikitext(nome)&lt;br /&gt;
&lt;br /&gt;
        cards[#cards + 1] = banner&lt;br /&gt;
        i = i + 1&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local grid = mw.html.create('div')&lt;br /&gt;
    grid:attr('class', 'island-grid')&lt;br /&gt;
    for _, card in ipairs(cards) do&lt;br /&gt;
        grid:node(card)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    return tostring(grid)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Gurren1</name></author>
	</entry>
</feed>