<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://wikisp.org/wiki/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo%3AMainpage%2FDirectory</id>
	<title>Módulo:Mainpage/Directory - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://wikisp.org/wiki/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo%3AMainpage%2FDirectory"/>
	<link rel="alternate" type="text/html" href="https://wikisp.org/wiki/index.php?title=M%C3%B3dulo:Mainpage/Directory&amp;action=history"/>
	<updated>2026-09-14T06:05:02Z</updated>
	<subtitle>Historial de revisiones de esta página en la wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wikisp.org/wiki/index.php?title=M%C3%B3dulo:Mainpage/Directory&amp;diff=8118&amp;oldid=prev</id>
		<title>Luxbane: 1 revisión importada</title>
		<link rel="alternate" type="text/html" href="https://wikisp.org/wiki/index.php?title=M%C3%B3dulo:Mainpage/Directory&amp;diff=8118&amp;oldid=prev"/>
		<updated>2026-09-11T23:10:03Z</updated>

		<summary type="html">&lt;p&gt;1 revisión importada&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revisión del 23:10 11 sep 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;es&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Sin diferencias)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Luxbane</name></author>
	</entry>
	<entry>
		<id>https://wikisp.org/wiki/index.php?title=M%C3%B3dulo:Mainpage/Directory&amp;diff=8117&amp;oldid=prev</id>
		<title>scw&gt;Alistar Bot: Main page rendering moved into Module:Mainpage (via create-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://wikisp.org/wiki/index.php?title=M%C3%B3dulo:Mainpage/Directory&amp;diff=8117&amp;oldid=prev"/>
		<updated>2026-08-26T19:14:24Z</updated>

		<summary type="html">&lt;p&gt;Main page rendering moved into Module:Mainpage (via create-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require(&amp;#039;strict&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
--- @module Mainpage/Directory&lt;br /&gt;
--- The grouped text directory at the foot of the page.&lt;br /&gt;
---&lt;br /&gt;
--- Text links and not tiles: image pills at this size cost about two screens on&lt;br /&gt;
--- a phone before any content appears, so anything that reintroduces artwork&lt;br /&gt;
--- here undoes the decision that retired them.&lt;br /&gt;
---&lt;br /&gt;
--- The band carries no card of its own, so its columns land on the same grid&lt;br /&gt;
--- lines as the cards above it. How many columns there are is not decided here&lt;br /&gt;
--- or anywhere else in Lua: `.home-dir` is `repeat(auto-fit, minmax(125px, 1fr))`,&lt;br /&gt;
--- so the groups reflow on their own and the module just emits all of them.&lt;br /&gt;
&lt;br /&gt;
local nav = require(&amp;#039;Module:Mainpage/Nav&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
--- @return string&lt;br /&gt;
function p.render()&lt;br /&gt;
	local root = mw.html.create(&amp;#039;div&amp;#039;):addClass(&amp;#039;home-band&amp;#039;):addClass(&amp;#039;home-wiki&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
	local inner = root:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;home-band__inner&amp;#039;):addClass(&amp;#039;home-dir&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
	for _, group in ipairs(nav.directory()) do&lt;br /&gt;
		local links = group.links or {}&lt;br /&gt;
&lt;br /&gt;
		local box = inner:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;home-dir__group&amp;#039;)&lt;br /&gt;
		-- plainlinks only where it has something to suppress; see Nav.hasExternal.&lt;br /&gt;
		if nav.hasExternal(links) then&lt;br /&gt;
			box:addClass(&amp;#039;plainlinks&amp;#039;)&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		-- A div with role=&amp;quot;heading&amp;quot;, never an &amp;lt;h3&amp;gt;: a heading element here would&lt;br /&gt;
		-- join the article&amp;#039;s outline and put six entries in the table of&lt;br /&gt;
		-- contents for what is a navigation block.&lt;br /&gt;
		box:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
			:addClass(&amp;#039;home-dir__label&amp;#039;)&lt;br /&gt;
			:attr(&amp;#039;role&amp;#039;, &amp;#039;heading&amp;#039;)&lt;br /&gt;
			:attr(&amp;#039;aria-level&amp;#039;, &amp;#039;2&amp;#039;)&lt;br /&gt;
			:wikitext(group.label or &amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
		-- A real list, because that is what a directory is: it gives a screen&lt;br /&gt;
		-- reader the count before the links and lets it be skipped in one move.&lt;br /&gt;
		-- The marker and indent are removed in CSS, not by flattening the list.&lt;br /&gt;
		local list = box:tag(&amp;#039;ul&amp;#039;)&lt;br /&gt;
		for _, link in ipairs(links) do&lt;br /&gt;
			local wikitext = nav.renderLink(link)&lt;br /&gt;
			if wikitext then&lt;br /&gt;
				list:tag(&amp;#039;li&amp;#039;):wikitext(wikitext)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>scw&gt;Alistar Bot</name></author>
	</entry>
</feed>