<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://the-metatron.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ADocumentation</id>
	<title>Module:Documentation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://the-metatron.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ADocumentation"/>
	<link rel="alternate" type="text/html" href="http://the-metatron.com/index.php?title=Module:Documentation&amp;action=history"/>
	<updated>2026-10-24T14:13:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>http://the-metatron.com/index.php?title=Module:Documentation&amp;diff=484&amp;oldid=prev</id>
		<title>ZexisStryfe: Created page with &quot;-- &lt;nowiki&gt; local dependencyList = require( 'Module:DependencyList' ) local yn = require( 'Module:Yesno' ) local p = {}  function p.doc( frame )     local title = mw.title.get...&quot;</title>
		<link rel="alternate" type="text/html" href="http://the-metatron.com/index.php?title=Module:Documentation&amp;diff=484&amp;oldid=prev"/>
		<updated>2020-10-16T16:19:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- &amp;lt;nowiki&amp;gt; local dependencyList = require( &amp;#039;Module:DependencyList&amp;#039; ) local yn = require( &amp;#039;Module:Yesno&amp;#039; ) local p = {}  function p.doc( frame )     local title = mw.title.get...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- &amp;lt;nowiki&amp;gt;&lt;br /&gt;
local dependencyList = require( 'Module:DependencyList' )&lt;br /&gt;
local yn = require( 'Module:Yesno' )&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.doc( frame )&lt;br /&gt;
    local title = mw.title.getCurrentTitle()&lt;br /&gt;
    local args = frame:getParent().args&lt;br /&gt;
    local page = args[1] or mw.ustring.gsub( title.fullText, '/doc$', '' )&lt;br /&gt;
    local addDependencyList = yn( args.DependencyList or true )&lt;br /&gt;
    local ret, cats, ret1, ret2, ret3&lt;br /&gt;
    local onModule = title.namespace == 828&lt;br /&gt;
    &lt;br /&gt;
    -- subpage header&lt;br /&gt;
    if title.subpageText == 'doc' then&lt;br /&gt;
        ret = mw.html.create( nil )&lt;br /&gt;
            :tag( 'div' )&lt;br /&gt;
                :addClass( 'mbox mbox-low mbox-documentationsub' )&lt;br /&gt;
                :attr( 'role', 'presentation')&lt;br /&gt;
                :tag( 'span' )&lt;br /&gt;
                    :addClass( 'mbox-title' )&lt;br /&gt;
                    :tag( 'span' )&lt;br /&gt;
                        :addClass( 'mbox-icon metadata' )&lt;br /&gt;
                        :wikitext( '[[File:WikimediaUI-Notice.svg|14px|link=]]' )&lt;br /&gt;
                        :done()&lt;br /&gt;
                    :wikitext( 'This is a documentation subpage for ' .. page .. '.' )&lt;br /&gt;
                    :done()&lt;br /&gt;
                :tag( 'span' )&lt;br /&gt;
                    :addClass( 'mbox-text' )&lt;br /&gt;
                    :wikitext(&lt;br /&gt;
                        string.format(&lt;br /&gt;
                            'It contains usage information, categories, and other content that is not part of the [[' .. page .. '|original %s page]].',&lt;br /&gt;
                            onModule and 'module' or 'template'&lt;br /&gt;
                        )&lt;br /&gt;
                    )&lt;br /&gt;
                    :done()&lt;br /&gt;
                :done()&lt;br /&gt;
            :wikitext(frame:extensionTag{ name = 'templatestyles', args = { src = 'Mbox/styles.css'} })&lt;br /&gt;
            :wikitext(frame:extensionTag{ name = 'templatestyles', args = { src = 'Hatnote/styles.css'} })&lt;br /&gt;
            :done()&lt;br /&gt;
&lt;br /&gt;
        if title.namespace == 10 then -- Template namespace&lt;br /&gt;
            cats = '[[Category:Template documentation|' .. title.baseText .. ']]'&lt;br /&gt;
            ret2 = addDependencyList and dependencyList._main() or ''&lt;br /&gt;
        elseif title.namespace == 828 then -- Module namespace&lt;br /&gt;
            cats = '[[Category:Module documentation|' .. title.baseText .. ']]'&lt;br /&gt;
            ret2 = addDependencyList and dependencyList._main() or ''&lt;br /&gt;
        else&lt;br /&gt;
            cats = ''&lt;br /&gt;
            ret2 = ''&lt;br /&gt;
        end&lt;br /&gt;
&lt;br /&gt;
        return tostring( ret ) .. ret2 .. cats&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    -- template header&lt;br /&gt;
    -- don't use mw.html as we aren't closing the main div tag&lt;br /&gt;
    ret1 = '&amp;lt;div class=&amp;quot;documentation&amp;quot;&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
    ret2 = mw.html.create( nil )&lt;br /&gt;
        :tag( 'div' )&lt;br /&gt;
            :addClass( 'documentation-header' )&lt;br /&gt;
            :tag( 'span' )&lt;br /&gt;
                :addClass( 'documentation-title' )&lt;br /&gt;
                :wikitext( string.format('%s documentation', onModule and 'Module' or 'Template') )&lt;br /&gt;
                :done()&lt;br /&gt;
            :tag( 'span' )&lt;br /&gt;
                :addClass( 'documentation-links plainlinks' )&lt;br /&gt;
                :wikitext(&lt;br /&gt;
                    '[[' .. tostring( mw.uri.fullUrl( page .. '/doc', {action='view'} ) ) .. ' view]]' ..&lt;br /&gt;
                    '[[' .. tostring( mw.uri.fullUrl( page .. '/doc', {action='edit'} ) ) .. ' edit]]' ..&lt;br /&gt;
                    '[[' .. tostring( mw.uri.fullUrl( page .. '/doc', {action='history'} ) ) .. ' history]]' ..&lt;br /&gt;
                    '[&amp;lt;span class=&amp;quot;jsPurgeLink&amp;quot;&amp;gt;[' .. tostring( mw.uri.fullUrl( title.fullText, {action='purge'} ) ) .. ' purge]&amp;lt;/span&amp;gt;]'&lt;br /&gt;
                )&lt;br /&gt;
                :done()&lt;br /&gt;
            :done()&lt;br /&gt;
        :tag( 'div' )&lt;br /&gt;
            :addClass( 'documentation-subheader' )&lt;br /&gt;
            :tag( 'span' )&lt;br /&gt;
                :addClass( 'documentation-documentation' )&lt;br /&gt;
                :wikitext( 'This documentation is transcluded from [[' .. page .. '/doc]]. Changes can be proposed in the talk page.' )&lt;br /&gt;
                :done()&lt;br /&gt;
            :wikitext(frame:extensionTag{ name = 'templatestyles', args = { src = 'Mbox/styles.css'} })&lt;br /&gt;
            :wikitext(frame:extensionTag{ name = 'templatestyles', args = { src = 'Hatnote/styles.css'} })&lt;br /&gt;
            :wikitext(frame:extensionTag{ name = 'templatestyles', args = { src = 'Documentation/styles.css'} })&lt;br /&gt;
            :done()&lt;br /&gt;
    &lt;br /&gt;
    ret3 = addDependencyList and dependencyList._main() or ''&lt;br /&gt;
        &lt;br /&gt;
    return ret1 .. tostring( ret2 ) .. '&amp;lt;div class=&amp;quot;documentation-content&amp;quot;&amp;gt;' .. ret3&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;br /&gt;
&lt;br /&gt;
-- &amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>ZexisStryfe</name></author>
	</entry>
</feed>