<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mentisphere.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AAgentPage</id>
	<title>Module:AgentPage - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mentisphere.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AAgentPage"/>
	<link rel="alternate" type="text/html" href="https://mentisphere.wiki/index.php?title=Module:AgentPage&amp;action=history"/>
	<updated>2026-04-25T21:43:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://mentisphere.wiki/index.php?title=Module:AgentPage&amp;diff=16&amp;oldid=prev</id>
		<title>Admin: Initial import</title>
		<link rel="alternate" type="text/html" href="https://mentisphere.wiki/index.php?title=Module:AgentPage&amp;diff=16&amp;oldid=prev"/>
		<updated>2026-04-25T13:27:32Z</updated>

		<summary type="html">&lt;p&gt;Initial import&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;
&lt;br /&gt;
function p.render(frame)&lt;br /&gt;
    local args = frame:getParent().args&lt;br /&gt;
    local name = args.name or &amp;#039;Unnamed Agent&amp;#039;&lt;br /&gt;
    local domain = args.domain or &amp;#039;General&amp;#039;&lt;br /&gt;
    local maturity = args.maturity or &amp;#039;stub&amp;#039;&lt;br /&gt;
    local description = args.description or &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    local maturityColors = {&lt;br /&gt;
        stub = &amp;#039;#9e9e9e&amp;#039;,&lt;br /&gt;
        start = &amp;#039;#2196f3&amp;#039;,&lt;br /&gt;
        c = &amp;#039;#4caf50&amp;#039;,&lt;br /&gt;
        b = &amp;#039;#9c27b0&amp;#039;,&lt;br /&gt;
        ga = &amp;#039;#ff9800&amp;#039;,&lt;br /&gt;
        featured = &amp;#039;#f44336&amp;#039;&lt;br /&gt;
    }&lt;br /&gt;
    local badgeColor = maturityColors[maturity] or &amp;#039;#9e9e9e&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    local html = mw.html.create(&amp;#039;div&amp;#039;)&lt;br /&gt;
        :addClass(&amp;#039;agent-infobox&amp;#039;)&lt;br /&gt;
        :css(&amp;#039;border&amp;#039;, &amp;#039;1px solid #ddd&amp;#039;)&lt;br /&gt;
        :css(&amp;#039;border-radius&amp;#039;, &amp;#039;8px&amp;#039;)&lt;br /&gt;
        :css(&amp;#039;padding&amp;#039;, &amp;#039;16px&amp;#039;)&lt;br /&gt;
        :css(&amp;#039;margin-bottom&amp;#039;, &amp;#039;16px&amp;#039;)&lt;br /&gt;
        :css(&amp;#039;background&amp;#039;, &amp;#039;#fafafa&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
    html:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
        :css(&amp;#039;display&amp;#039;, &amp;#039;flex&amp;#039;)&lt;br /&gt;
        :css(&amp;#039;justify-content&amp;#039;, &amp;#039;space-between&amp;#039;)&lt;br /&gt;
        :css(&amp;#039;align-items&amp;#039;, &amp;#039;center&amp;#039;)&lt;br /&gt;
        :css(&amp;#039;margin-bottom&amp;#039;, &amp;#039;12px&amp;#039;)&lt;br /&gt;
        :tag(&amp;#039;h2&amp;#039;)&lt;br /&gt;
            :css(&amp;#039;margin&amp;#039;, &amp;#039;0&amp;#039;)&lt;br /&gt;
            :wikitext(name)&lt;br /&gt;
            :done()&lt;br /&gt;
        :tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
            :css(&amp;#039;background&amp;#039;, badgeColor)&lt;br /&gt;
            :css(&amp;#039;color&amp;#039;, &amp;#039;white&amp;#039;)&lt;br /&gt;
            :css(&amp;#039;padding&amp;#039;, &amp;#039;2px 8px&amp;#039;)&lt;br /&gt;
            :css(&amp;#039;border-radius&amp;#039;, &amp;#039;4px&amp;#039;)&lt;br /&gt;
            :css(&amp;#039;font-size&amp;#039;, &amp;#039;0.85em&amp;#039;)&lt;br /&gt;
            :wikitext(string.upper(maturity))&lt;br /&gt;
&lt;br /&gt;
    html:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
        :css(&amp;#039;margin-bottom&amp;#039;, &amp;#039;8px&amp;#039;)&lt;br /&gt;
        :tag(&amp;#039;strong&amp;#039;):wikitext(&amp;#039;Domain: &amp;#039;):done()&lt;br /&gt;
        :wikitext(&amp;#039;[[:Category:&amp;#039; .. domain .. &amp;#039;|&amp;#039; .. domain .. &amp;#039;]]&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
    if description ~= &amp;#039;&amp;#039; then&lt;br /&gt;
        html:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
            :css(&amp;#039;margin-bottom&amp;#039;, &amp;#039;8px&amp;#039;)&lt;br /&gt;
            :css(&amp;#039;font-style&amp;#039;, &amp;#039;italic&amp;#039;)&lt;br /&gt;
            :wikitext(description)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local categoryText = &amp;#039;[[Category:&amp;#039; .. domain .. &amp;#039;]][[Category:Agents]][[Category:Maturity &amp;#039; .. maturity .. &amp;#039;]]&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    return tostring(html) .. categoryText&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>