<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://countrygame.net/index.php?action=history&amp;feed=atom&amp;title=Module%3ATemplate_display</id>
	<title>Module:Template display - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://countrygame.net/index.php?action=history&amp;feed=atom&amp;title=Module%3ATemplate_display"/>
	<link rel="alternate" type="text/html" href="https://countrygame.net/index.php?title=Module:Template_display&amp;action=history"/>
	<updated>2026-04-20T05:29:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://countrygame.net/index.php?title=Module:Template_display&amp;diff=134&amp;oldid=prev</id>
		<title>Administrator: Created page with &quot;-- Module:Template display -- A simplified module to display template documentation boxes. -- Based on a common pattern used on Wikipedia.  local p = {}  function p.main(frame)     local args = frame.args     local template_name = args.template or &#039;Template&#039;     local description = args.description or &#039;&#039;     local parameters = args.parameters or &#039;&#039;     local style = args.style or &#039;&#039;     local content = args.content or &#039;&#039;      local output = &#039;&lt;div class=&quot;template-display-...&quot;</title>
		<link rel="alternate" type="text/html" href="https://countrygame.net/index.php?title=Module:Template_display&amp;diff=134&amp;oldid=prev"/>
		<updated>2025-07-08T12:33:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- Module:Template display -- A simplified module to display template documentation boxes. -- Based on a common pattern used on Wikipedia.  local p = {}  function p.main(frame)     local args = frame.args     local template_name = args.template or &amp;#039;Template&amp;#039;     local description = args.description or &amp;#039;&amp;#039;     local parameters = args.parameters or &amp;#039;&amp;#039;     local style = args.style or &amp;#039;&amp;#039;     local content = args.content or &amp;#039;&amp;#039;      local output = &amp;#039;&amp;lt;div class=&amp;quot;template-display-...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Module:Template display&lt;br /&gt;
-- A simplified module to display template documentation boxes.&lt;br /&gt;
-- Based on a common pattern used on Wikipedia.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
    local args = frame.args&lt;br /&gt;
    local template_name = args.template or &amp;#039;Template&amp;#039;&lt;br /&gt;
    local description = args.description or &amp;#039;&amp;#039;&lt;br /&gt;
    local parameters = args.parameters or &amp;#039;&amp;#039;&lt;br /&gt;
    local style = args.style or &amp;#039;&amp;#039;&lt;br /&gt;
    local content = args.content or &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    local output = &amp;#039;&amp;lt;div class=&amp;quot;template-display-box&amp;quot; style=&amp;quot;&amp;#039; .. style .. &amp;#039;&amp;quot;&amp;gt;&amp;#039;&lt;br /&gt;
    output = output .. &amp;#039;This template uses:&amp;#039;&lt;br /&gt;
    output = output .. &amp;#039;&amp;lt;ul&amp;gt;&amp;#039;&lt;br /&gt;
    &lt;br /&gt;
    -- Add content from the &amp;#039;content&amp;#039; parameter&lt;br /&gt;
    if content and content ~= &amp;#039;&amp;#039; then&lt;br /&gt;
        -- Preprocess content to allow Wikitext like * lists and links&lt;br /&gt;
        output = output .. frame:preprocess(content)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    output = output .. &amp;#039;&amp;lt;/ul&amp;gt;&amp;#039;&lt;br /&gt;
    output = output .. &amp;#039;&amp;lt;/div&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    -- Add the main description below the box, if provided&lt;br /&gt;
    if description and description ~= &amp;#039;&amp;#039; then&lt;br /&gt;
        output = output .. &amp;#039;&amp;lt;p&amp;gt;&amp;#039; .. description .. &amp;#039;&amp;lt;/p&amp;gt;&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    return output&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>