<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://place-wiki.stefanocoding.me/wiki/Module:Documentation?action=history&amp;feed=atom</id>
	<title>Module:Documentation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://place-wiki.stefanocoding.me/wiki/Module:Documentation?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://place-wiki.stefanocoding.me/wiki/Module:Documentation?action=history"/>
	<updated>2026-05-09T19:54:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://place-wiki.stefanocoding.me/index.php?title=Module:Documentation&amp;diff=492&amp;oldid=prev</id>
		<title>Aeywoo: Created Module:Documentation from the Star Citizen Wiki.</title>
		<link rel="alternate" type="text/html" href="https://place-wiki.stefanocoding.me/index.php?title=Module:Documentation&amp;diff=492&amp;oldid=prev"/>
		<updated>2022-04-08T11:18:06Z</updated>

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