<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deadlock.wiki/Module:NavigationGrid?action=history&amp;feed=atom</id>
	<title>Module:NavigationGrid - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deadlock.wiki/Module:NavigationGrid?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://deadlock.wiki/Module:NavigationGrid?action=history"/>
	<updated>2026-09-15T08:01:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://deadlock.wiki/Module:NavigationGrid?diff=86553&amp;oldid=prev</id>
		<title>Cronos: Created page with &quot;local p = {} local lang = require(&#039;Module:Lang&#039;) local dict = require(&#039;Module:Dictionary&#039;)  function p.renderMainGrid(frame)     -- Process the language subpage suffix once to save performance     local langSuffix = frame:preprocess(&#039;{{If_lang}}&#039;) or &#039;&#039;      -- All 9 original navigation items mapped out     local items = {         { img = &#039;Hero_Nav.png&#039;,      type = &#039;lang&#039;, key = &#039;HeroesPageTitle&#039;,                link = &#039;Heroes&#039; },         { img = &#039;Item_Nav.png&#039;,      ty...&quot;</title>
		<link rel="alternate" type="text/html" href="https://deadlock.wiki/Module:NavigationGrid?diff=86553&amp;oldid=prev"/>
		<updated>2026-06-27T22:40:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {} local lang = require(&amp;#039;Module:Lang&amp;#039;) local dict = require(&amp;#039;Module:Dictionary&amp;#039;)  function p.renderMainGrid(frame)     -- Process the language subpage suffix once to save performance     local langSuffix = frame:preprocess(&amp;#039;{{If_lang}}&amp;#039;) or &amp;#039;&amp;#039;      -- All 9 original navigation items mapped out     local items = {         { img = &amp;#039;Hero_Nav.png&amp;#039;,      type = &amp;#039;lang&amp;#039;, key = &amp;#039;HeroesPageTitle&amp;#039;,                link = &amp;#039;Heroes&amp;#039; },         { img = &amp;#039;Item_Nav.png&amp;#039;,      ty...&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 lang = require(&amp;#039;Module:Lang&amp;#039;)&lt;br /&gt;
local dict = require(&amp;#039;Module:Dictionary&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
function p.renderMainGrid(frame)&lt;br /&gt;
    -- Process the language subpage suffix once to save performance&lt;br /&gt;
    local langSuffix = frame:preprocess(&amp;#039;{{If_lang}}&amp;#039;) or &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    -- All 9 original navigation items mapped out&lt;br /&gt;
    local items = {&lt;br /&gt;
        { img = &amp;#039;Hero_Nav.png&amp;#039;,      type = &amp;#039;lang&amp;#039;, key = &amp;#039;HeroesPageTitle&amp;#039;,                link = &amp;#039;Heroes&amp;#039; },&lt;br /&gt;
        { img = &amp;#039;Item_Nav.png&amp;#039;,      type = &amp;#039;lang&amp;#039;, key = &amp;#039;Citadel_Scoreboard_Items&amp;#039;,       link = &amp;#039;Items&amp;#039; },&lt;br /&gt;
        { img = &amp;#039;Mechanics_Nav.png&amp;#039;, type = &amp;#039;dict&amp;#039;, key = &amp;#039;Mechanics&amp;#039;,                       link = &amp;#039;Mechanics&amp;#039; },&lt;br /&gt;
        { img = &amp;#039;Updates_Nav.png&amp;#039;,   type = &amp;#039;dict&amp;#039;, key = &amp;#039;Updates&amp;#039;,                         link = &amp;#039;Updates&amp;#039; },&lt;br /&gt;
        { img = &amp;#039;Strategy_Nav.png&amp;#039;,  type = &amp;#039;dict&amp;#039;, key = &amp;#039;Strategy&amp;#039;,                        link = &amp;#039;Strategy&amp;#039; },&lt;br /&gt;
        { img = &amp;#039;Map_Nav.png&amp;#039;,       type = &amp;#039;dict&amp;#039;, key = &amp;#039;Map&amp;#039;,                             link = &amp;#039;Map&amp;#039; },&lt;br /&gt;
        { img = &amp;#039;Movement_Nav.png&amp;#039;,  type = &amp;#039;lang&amp;#039;, key = &amp;#039;Citadel_ShopFilter_Movement&amp;#039;,     link = &amp;#039;Portal:Movement&amp;#039; },&lt;br /&gt;
        { img = &amp;#039;Lore_Nav.png&amp;#039;,      type = &amp;#039;dict&amp;#039;, key = &amp;#039;Lore&amp;#039;,                            link = &amp;#039;Lore&amp;#039; },&lt;br /&gt;
        { img = &amp;#039;Brawl_Nav.png&amp;#039;,     type = &amp;#039;lang&amp;#039;, key = &amp;#039;Citadel_Play_StreetBrawl_Title&amp;#039;,  link = &amp;#039;Street Brawl&amp;#039; }&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    local html = &amp;#039;&amp;lt;div class=&amp;quot;deadlock-nav-grid&amp;quot;&amp;gt;&amp;#039;&lt;br /&gt;
    &lt;br /&gt;
    for _, item in ipairs(items) do&lt;br /&gt;
        local label = &amp;quot;&amp;quot;&lt;br /&gt;
        -- Create a mock frame context to pass to the translation modules safely&lt;br /&gt;
        local mockFrame = { args = { item.key } }&lt;br /&gt;
        &lt;br /&gt;
        if item.type == &amp;#039;lang&amp;#039; then&lt;br /&gt;
            label = lang.get_string(mockFrame)&lt;br /&gt;
        else&lt;br /&gt;
            label = dict.translate(mockFrame)&lt;br /&gt;
        end&lt;br /&gt;
        &lt;br /&gt;
        -- Append the language suffix safely to the internal wiki link&lt;br /&gt;
        local destination = item.link .. langSuffix&lt;br /&gt;
        &lt;br /&gt;
        -- Construct the individual HTML tile structure&lt;br /&gt;
        html = html .. string.format(&lt;br /&gt;
            &amp;#039;&amp;lt;div class=&amp;quot;nav-tile&amp;quot;&amp;gt;[[File:%s|link=%s]]&amp;lt;span&amp;gt;%s&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;#039;, &lt;br /&gt;
            item.img, destination, label&lt;br /&gt;
        )&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    html = html .. &amp;#039;&amp;lt;/div&amp;gt;&amp;#039;&lt;br /&gt;
    return html&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Cronos</name></author>
	</entry>
</feed>