<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.tekkitlite.xyz/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rezizdigus</id>
	<title>Tekkit Lite Server - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tekkitlite.xyz/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rezizdigus"/>
	<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php/Special:Contributions/Rezizdigus"/>
	<updated>2026-06-13T16:22:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Telekom/Scripts&amp;diff=314</id>
		<title>Tekkit Telekom/Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Telekom/Scripts&amp;diff=314"/>
		<updated>2026-05-23T14:43:57Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: /* drawCenterText */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains various Lua scripts or functions used by the Tekkit Telekom&lt;br /&gt;
&lt;br /&gt;
== Utility ==&lt;br /&gt;
&lt;br /&gt;
====== getCenterXPos ======&lt;br /&gt;
{{Code|function getCenterXPos(lenX, maxX)&lt;br /&gt;
    return math.ceil(maxX/2 - lenX/2)&lt;br /&gt;
end|lang=lua|code=function getCenterXPos(lenX, maxX)&lt;br /&gt;
    return math.ceil(maxX/2 - lenX/2)&lt;br /&gt;
end}}&lt;br /&gt;
&lt;br /&gt;
====== getCenterYPos ======&lt;br /&gt;
{{Code|function getCenterYPos(lenY, maxY)&lt;br /&gt;
    return math.ceil(maxY/2 - lenY/2)&lt;br /&gt;
end|lang=lua}}&lt;br /&gt;
&lt;br /&gt;
====== drawCenterText ======&lt;br /&gt;
{{Code|1=function drawCenterText(text, posY, offX, maxX)&lt;br /&gt;
    local x, y = term.getSize()&lt;br /&gt;
    local length = string.len(text)&lt;br /&gt;
&lt;br /&gt;
    term.setCursorPos(getCenterXPos(length, maxX) + offX, posY)&lt;br /&gt;
    term.write(text)&lt;br /&gt;
    term.setCursorPos(1, y)&lt;br /&gt;
end|lang=lua}}&lt;br /&gt;
&lt;br /&gt;
====== drawCenterTextScreen ======&lt;br /&gt;
{{Code|1=function drawCenterTextScreen(text, posY)&lt;br /&gt;
    local x, y = term.getSize()&lt;br /&gt;
    return drawCenterText(text, posY, 0, x)&lt;br /&gt;
end|lang=lua}}&lt;br /&gt;
&lt;br /&gt;
====== splitStringToLines ======&lt;br /&gt;
{{Code|1=--&lt;br /&gt;
-- THIS RETURNS AN ARRAY OF STRING&lt;br /&gt;
-- does not truncate to &amp;quot;...&amp;quot; if maxY is 1&lt;br /&gt;
-- (sorry im too dumb to make it work without 1000 if statements)&lt;br /&gt;
--&lt;br /&gt;
function splitStringToLines(string, maxX, maxY)&lt;br /&gt;
    local function tstring(str, maxLen)&lt;br /&gt;
        if string.len(str) &amp;lt;= maxLen then return str end&lt;br /&gt;
&lt;br /&gt;
        local tStr = string.sub(str, 1, maxLen - 3) .. &amp;quot;...&amp;quot;&lt;br /&gt;
        return tStr&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local function tstrings(stringsArr, lenX, lenY)&lt;br /&gt;
        local opStr = stringsArr[#stringsArr]&lt;br /&gt;
        if string.len(opStr) &amp;gt; lenX then&lt;br /&gt;
            local firstString = string.sub(opStr, 1, lenX)&lt;br /&gt;
            local secondString = string.sub(opStr, lenX + 1, string.len(opStr))&lt;br /&gt;
&lt;br /&gt;
            stringsArr[#stringsArr] = tstring(firstString, lenX)&lt;br /&gt;
            table.insert(stringsArr, secondString)&lt;br /&gt;
&lt;br /&gt;
            if string.len(secondString) &amp;gt; lenX then&lt;br /&gt;
                if table.getn(stringsArr) + 1 &amp;gt; lenY then&lt;br /&gt;
                    stringsArr[#stringsArr] = tstring(secondString, lenX)&lt;br /&gt;
                    return stringsArr&lt;br /&gt;
                end&lt;br /&gt;
                return tstrings(stringsArr, lenX, lenY)&lt;br /&gt;
            else&lt;br /&gt;
                return stringsArr&lt;br /&gt;
            end&lt;br /&gt;
&lt;br /&gt;
        else&lt;br /&gt;
            return stringsArr&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local strings = {}&lt;br /&gt;
    strings[1] = string&lt;br /&gt;
&lt;br /&gt;
    return tstrings(strings, maxX, maxY)&lt;br /&gt;
end|lang=lua}}&lt;br /&gt;
&lt;br /&gt;
====== drawBox ======&lt;br /&gt;
{{Code|1=function drawBox(content, startY)&lt;br /&gt;
    local maxX, maxY = term.getSize()&lt;br /&gt;
    local length = string.len(content)&lt;br /&gt;
    local strings = splitStringToLines(content, maxX - 5, maxY - startY - 5)&lt;br /&gt;
&lt;br /&gt;
    local function renderBox(y, lenX, lenY)&lt;br /&gt;
        term.setBackgroundColor(colors.gray)&lt;br /&gt;
&lt;br /&gt;
        for i = y + 1, lenY + y + 1, 1 do&lt;br /&gt;
            for j = (maxX/2 - lenX/2) + 1, lenX + (maxX/2 - lenX/2) + 1, 1 do&lt;br /&gt;
                term.setCursorPos(j, i)&lt;br /&gt;
                term.write(&amp;quot; &amp;quot;)&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
&lt;br /&gt;
        term.setBackgroundColor(colors.lightGray)&lt;br /&gt;
        for i = y, lenY + y, 1 do&lt;br /&gt;
            for j = (maxX/2 - lenX/2), lenX + (maxX/2 - lenX/2), 1 do&lt;br /&gt;
                term.setCursorPos(j, i)&lt;br /&gt;
                term.write(&amp;quot; &amp;quot;)&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local function renderContent(startPosY)&lt;br /&gt;
        local currPos = startPosY&lt;br /&gt;
        for _, str in pairs(strings) do&lt;br /&gt;
            drawCenterTextScreen(str, currPos)&lt;br /&gt;
            currPos = currPos + 1&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local maxLenX = string.len(strings[1])&lt;br /&gt;
    local maxLenY = table.getn(strings)&lt;br /&gt;
&lt;br /&gt;
    if startY &amp;lt; 0 then&lt;br /&gt;
        local centerY = getCenterYPos(maxLenY, maxY)&lt;br /&gt;
&lt;br /&gt;
        renderBox(centerY, maxLenX + 1, maxLenY + 1)&lt;br /&gt;
        renderContent(centerY + 1)&lt;br /&gt;
    else&lt;br /&gt;
        renderBox(startY, maxLenX + 1, maxLenY + 1)&lt;br /&gt;
        renderContent(startY + 1)&lt;br /&gt;
    end&lt;br /&gt;
end|lang=lua}}&lt;br /&gt;
&lt;br /&gt;
====== drawBoxWithTitle ======&lt;br /&gt;
{{Code|1=function drawBoxWithTitle(title, content, startY)&lt;br /&gt;
    local maxX, maxY = term.getSize()&lt;br /&gt;
    local length = string.len(content)&lt;br /&gt;
    local strings = splitStringToLines(content, maxX - 5, maxY - startY - 5)&lt;br /&gt;
&lt;br /&gt;
    local function renderBox(y, lenX, lenY)&lt;br /&gt;
        term.setBackgroundColor(colors.gray)&lt;br /&gt;
&lt;br /&gt;
        for i = y + 1, lenY + y + 1, 1 do&lt;br /&gt;
            for j = (maxX/2 - lenX/2) + 1, lenX + (maxX/2 - lenX/2) + 1, 1 do&lt;br /&gt;
                term.setCursorPos(j, i)&lt;br /&gt;
                term.write(&amp;quot; &amp;quot;)&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
&lt;br /&gt;
        term.setBackgroundColor(colors.lightGray)&lt;br /&gt;
        for i = y, lenY + y, 1 do&lt;br /&gt;
            for j = (maxX/2 - lenX/2), lenX + (maxX/2 - lenX/2), 1 do&lt;br /&gt;
                term.setCursorPos(j, i)&lt;br /&gt;
                term.write(&amp;quot; &amp;quot;)&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local function renderContent(startPosY)&lt;br /&gt;
        local currPos = startPosY&lt;br /&gt;
        for _, str in pairs(strings) do&lt;br /&gt;
            drawCenterTextScreen(str, currPos)&lt;br /&gt;
            currPos = currPos + 1&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local maxLenX = math.max(string.len(strings[1]), string.len(title))&lt;br /&gt;
    local maxLenY = table.getn(strings) + 1&lt;br /&gt;
&lt;br /&gt;
    if startY &amp;lt; 0 then&lt;br /&gt;
        local centerY = getCenterYPos(maxLenY, maxY)&lt;br /&gt;
&lt;br /&gt;
        renderBox(centerY, maxLenX + 1, maxLenY + 1)&lt;br /&gt;
        drawCenterTextScreen(title, centerY)&lt;br /&gt;
        renderContent(centerY + 1)&lt;br /&gt;
    else&lt;br /&gt;
        renderBox(startY, maxLenX + 1, maxLenY + 1)&lt;br /&gt;
        drawCenterTextScreen(title, startY)&lt;br /&gt;
        renderContent(startY + 1)&lt;br /&gt;
    end&lt;br /&gt;
end|lang=lua}}&lt;br /&gt;
&lt;br /&gt;
====== drawBaseInterface ======&lt;br /&gt;
{{Code|function drawBaseInterface()&lt;br /&gt;
    term.setBackgroundColor(colors.blue)&lt;br /&gt;
    term.clear()&lt;br /&gt;
&lt;br /&gt;
    drawCenterTextScreen(&amp;quot;&amp;lt;interface title&amp;gt;&amp;quot;, 1)&lt;br /&gt;
end|lang=lua}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Telekom/Scripts&amp;diff=313</id>
		<title>Tekkit Telekom/Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Telekom/Scripts&amp;diff=313"/>
		<updated>2026-05-23T14:41:27Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: /* Utility */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains various Lua scripts or functions used by the Tekkit Telekom&lt;br /&gt;
&lt;br /&gt;
== Utility ==&lt;br /&gt;
&lt;br /&gt;
====== getCenterXPos ======&lt;br /&gt;
{{Code|function getCenterXPos(lenX, maxX)&lt;br /&gt;
    return math.ceil(maxX/2 - lenX/2)&lt;br /&gt;
end|lang=lua|code=function getCenterXPos(lenX, maxX)&lt;br /&gt;
    return math.ceil(maxX/2 - lenX/2)&lt;br /&gt;
end}}&lt;br /&gt;
&lt;br /&gt;
====== getCenterYPos ======&lt;br /&gt;
{{Code|function getCenterYPos(lenY, maxY)&lt;br /&gt;
    return math.ceil(maxY/2 - lenY/2)&lt;br /&gt;
end|lang=lua}}&lt;br /&gt;
&lt;br /&gt;
====== drawCenterText ======&lt;br /&gt;
&lt;br /&gt;
====== drawCenterTextScreen ======&lt;br /&gt;
&lt;br /&gt;
====== splitStringToLines ======&lt;br /&gt;
&lt;br /&gt;
====== drawBox ======&lt;br /&gt;
&lt;br /&gt;
====== drawBoxWithTitle ======&lt;br /&gt;
&lt;br /&gt;
====== drawBaseInterface ======&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Telekom/Scripts&amp;diff=312</id>
		<title>Tekkit Telekom/Scripts</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Telekom/Scripts&amp;diff=312"/>
		<updated>2026-05-23T14:23:29Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;This page contains various Lua scripts or functions used by the Tekkit Telekom  == Utility ==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains various Lua scripts or functions used by the Tekkit Telekom&lt;br /&gt;
&lt;br /&gt;
== Utility ==&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=TLS_4&amp;diff=311</id>
		<title>TLS 4</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=TLS_4&amp;diff=311"/>
		<updated>2026-05-21T20:49:12Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}{{TLSInfoBox|title=TLS #4|date-start=n/a|members=* [[Kuba0040]]&lt;br /&gt;
* [[Gery0002]]&lt;br /&gt;
* [[rezizdigus]]&lt;br /&gt;
* [[Hyxer]]&lt;br /&gt;
* [[Markovdan]] &lt;br /&gt;
* [[BodenPflanze]] (inactive)&lt;br /&gt;
* [[Idle_dev]] (inactive)&lt;br /&gt;
* [[PropR]] (inactive)&lt;br /&gt;
* [[Olwik]] (inactive)&lt;br /&gt;
* [[dutchball|Atomic]] (inactive)&lt;br /&gt;
* [[Terryiscool160]] (left)}}TLS 4 is the fourth and current iteration of the [[Tekkit Lite Server]].&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=TLS_4&amp;diff=310</id>
		<title>TLS 4</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=TLS_4&amp;diff=310"/>
		<updated>2026-05-21T20:48:46Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}{{TLSInfoBox|title=TLS #4|date-start=n/a|date-end=N/A (ongoing)|members=* [[Kuba0040]]&lt;br /&gt;
* [[Gery0002]]&lt;br /&gt;
* [[rezizdigus]]&lt;br /&gt;
* [[Hyxer]]&lt;br /&gt;
* [[Markovdan]] &lt;br /&gt;
* [[BodenPflanze]] (inactive)&lt;br /&gt;
* [[Idle_dev]] (inactive)&lt;br /&gt;
* [[PropR]] (inactive)&lt;br /&gt;
* [[Olwik]] (inactive)&lt;br /&gt;
* [[dutchball|Atomic]] (inactive)&lt;br /&gt;
* [[Terryiscool160]] (left)}}TLS 4 is the fourth and current iteration of the [[Tekkit Lite Server]].&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Gery_Co.&amp;diff=309</id>
		<title>Gery Co.</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Gery_Co.&amp;diff=309"/>
		<updated>2026-05-21T20:45:30Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;{{MissingInformation}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Railways&amp;diff=308</id>
		<title>Tekkit Railways</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Railways&amp;diff=308"/>
		<updated>2026-05-21T20:45:05Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;{{MissingInformation}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Telekom&amp;diff=307</id>
		<title>Tekkit Telekom</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Telekom&amp;diff=307"/>
		<updated>2026-05-21T20:44:28Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Tekkit Telekom&#039;&#039;&#039; is an upcoming system used to bridge the gap between ComputerCraft computers and web services utilized to introduce functionality not easily available before (eg. automatically drawing metro maps on CC Monitors).&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Telekom&amp;diff=306</id>
		<title>Tekkit Telekom</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Telekom&amp;diff=306"/>
		<updated>2026-05-21T20:41:38Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Tekkit Telekom&amp;#039;&amp;#039;&amp;#039; is an upcoming system used to bridge the gap between ComputerCraft computers and web services utilized to introduce functionality not available easily before (eg. drawing metro maps on CC Monitors).&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Tekkit Telekom&#039;&#039;&#039; is an upcoming system used to bridge the gap between ComputerCraft computers and web services utilized to introduce functionality not available easily before (eg. drawing metro maps on CC Monitors).&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Draw_(Program)&amp;diff=305</id>
		<title>Draw (Program)</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Draw_(Program)&amp;diff=305"/>
		<updated>2026-05-17T16:44:36Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TLS AD Monkey Business.png|thumb|Image Drawn using the Draw Program]]&lt;br /&gt;
&#039;&#039;&#039;Draw&#039;&#039;&#039; is a custom ComputerCraft program used to display table image information (for example from the Paint program) on an Advanced Monitor.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Once you have drawn your image, simply copy the program (or rewrite it from this page) onto the computer and then follow this syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;draw &amp;lt;monitorSide&amp;gt; &amp;lt;pathToImage&amp;gt; &amp;lt;scale&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Argument&lt;br /&gt;
!Description&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|monitorSide&lt;br /&gt;
|The side where the monitor is relative to the computer&lt;br /&gt;
&#039;&#039;(left, right, top, bottom, back, front)&#039;&#039;&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|pathToImage&lt;br /&gt;
|The path to an image on the computer&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|scale&lt;br /&gt;
|The scale of the image. Must be an increment of 0.5&lt;br /&gt;
&#039;&#039;(min: 0.5, max: 5)&#039;&#039;&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
After drawing your image make sure to create a &amp;lt;code&amp;gt;startup&amp;lt;/code&amp;gt; script inside the main director of the computer with the following code:&lt;br /&gt;
{{Code|shell.run(&amp;quot;draw&amp;quot;, &amp;quot;&amp;lt;monitorSide&amp;gt;&amp;quot;, &amp;quot;&amp;lt;pathToImage&amp;gt;&amp;quot;, &amp;quot;&amp;lt;scale&amp;gt;&amp;quot;)|lang=lua}}&lt;br /&gt;
This will ensure the computer will always redraw the image when it&#039;s rebooted. Make sure to replace the values with yours.&lt;br /&gt;
&lt;br /&gt;
== Lua Code ==&lt;br /&gt;
{{Code|1=local defaultTerm = term.native&lt;br /&gt;
&lt;br /&gt;
local function printUsage()&lt;br /&gt;
    print(&amp;quot;draw &amp;lt;monitorSide&amp;gt; &amp;lt;pathToImage&amp;gt; &amp;lt;scale&amp;gt;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local tArgs = { ... }&lt;br /&gt;
if #tArgs &amp;lt; 3 then&lt;br /&gt;
    printUsage()&lt;br /&gt;
    return&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local monitor = peripheral.wrap(tArgs[1])&lt;br /&gt;
local image = paintutils.loadImage(tArgs[2])&lt;br /&gt;
&lt;br /&gt;
local function draw()&lt;br /&gt;
    term.redirect(monitor)&lt;br /&gt;
    if image then&lt;br /&gt;
        term.setBackgroundColor(colors.white)&lt;br /&gt;
        monitor.setTextScale(tonumber(tArgs[3]))&lt;br /&gt;
        term.clear()&lt;br /&gt;
        paintutils.drawImage(image, 1, 1)&lt;br /&gt;
    else&lt;br /&gt;
        print(&amp;quot;Image not found&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    term.redirect(defaultTerm)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
draw()|lang=lua}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Module:Template_translation&amp;diff=304</id>
		<title>Module:Template translation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Module:Template_translation&amp;diff=304"/>
		<updated>2026-05-17T12:01:24Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;local this = {}  function this.checkLanguage(subpage, default)     --[[Check first if there&amp;#039;s an any invalid character that would cause the         mw.language.isKnownLanguageTag function() to throw an exception:         - all ASCII controls in [\000-\031\127],         - double quote (&amp;quot;), sharp sign (#), ampersand (&amp;amp;), apostrophe (&amp;#039;),         - slash (/), colon (:), semicolon (;), lower than (&amp;lt;), greater than (&amp;gt;),         - brackets and braces ([, ], {, }), pipe (|), bac...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local this = {}&lt;br /&gt;
&lt;br /&gt;
function this.checkLanguage(subpage, default)&lt;br /&gt;
    --[[Check first if there&#039;s an any invalid character that would cause the&lt;br /&gt;
        mw.language.isKnownLanguageTag function() to throw an exception:&lt;br /&gt;
        - all ASCII controls in [\000-\031\127],&lt;br /&gt;
        - double quote (&amp;quot;), sharp sign (#), ampersand (&amp;amp;), apostrophe (&#039;),&lt;br /&gt;
        - slash (/), colon (:), semicolon (;), lower than (&amp;lt;), greater than (&amp;gt;),&lt;br /&gt;
        - brackets and braces ([, ], {, }), pipe (|), backslash (\\)&lt;br /&gt;
        All other characters are accepted, including space and all non-ASCII&lt;br /&gt;
        characters (including \192, which is invalid in UTF-8).&lt;br /&gt;
    --]]&lt;br /&gt;
    if mw.language.isValidCode(subpage) and mw.language.isKnownLanguageTag(subpage)&lt;br /&gt;
    --[[However &amp;quot;SupportedLanguages&amp;quot; are too restrictive, as they discard many&lt;br /&gt;
        valid BCP47 script variants (only because MediaWiki still does not&lt;br /&gt;
        define automatic transliterators for them, e.g. &amp;quot;en-dsrt&amp;quot; or&lt;br /&gt;
        &amp;quot;fr-brai&amp;quot; for French transliteration in Braille), and country variants,&lt;br /&gt;
        (useful in localized data, even if they are no longer used for&lt;br /&gt;
        translations, such as zh-cn, also useful for legacy codes).&lt;br /&gt;
        We want to avoid matching subpagenames containing any uppercase letter,&lt;br /&gt;
        (even if they are considered valid in BCP 47, in which they are&lt;br /&gt;
        case-insensitive; they are not &amp;quot;SupportedLanguages&amp;quot; for MediaWiki, so&lt;br /&gt;
        they are not &amp;quot;KnownLanguageTags&amp;quot; for MediaWiki).&lt;br /&gt;
        To be more restrictive, we exclude tags&lt;br /&gt;
        * for specific uses in template subpages and unusable as language tags;&lt;br /&gt;
        * that is not ASCII and not a lowercase letter, minus-hyphen, or digit,&lt;br /&gt;
          or does not start by a letter or does not finish by a letter or digit;&lt;br /&gt;
        * or that has subtags with more than 8 characters between hyphens;&lt;br /&gt;
        * or that has two hyphens.&lt;br /&gt;
    --]]&lt;br /&gt;
    or  subpage ~= &amp;quot;doc&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;layout&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;button&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;buttons&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;sandbox&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;testcase&amp;quot;&lt;br /&gt;
    and subpage ~= &amp;quot;testcases&amp;quot;&lt;br /&gt;
    and string.find(subpage, &amp;quot;^[%l][%-%d%l]*[%d%l]$&amp;quot;) ~= nil&lt;br /&gt;
    and string.find(subpage, &amp;quot;[%d%l][%d%l][%d%l][%d%l][%d%l][%d%l][%d%l][%d%l][%d%l]&amp;quot;) == nil&lt;br /&gt;
    and string.find(subpage, &amp;quot;%-%-&amp;quot;) == nil then&lt;br /&gt;
        return subpage&lt;br /&gt;
    end&lt;br /&gt;
    -- Otherwise there&#039;s currently no known language subpage&lt;br /&gt;
    return default&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the last subpage of an arbitrary page if it is a translation.&lt;br /&gt;
    To be used from templates.&lt;br /&gt;
    ]]&lt;br /&gt;
function this.getLanguageSubpage(frame)&lt;br /&gt;
	local title = frame and frame.args[1]&lt;br /&gt;
	if not title or title == &#039;&#039; then&lt;br /&gt;
		title = mw.title.getCurrentTitle()&lt;br /&gt;
	end&lt;br /&gt;
	return this._getLanguageSubpage(title)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the last subpage of an arbitrary page if it is a translation.&lt;br /&gt;
    To be used from Lua.&lt;br /&gt;
    ]]&lt;br /&gt;
function this._getLanguageSubpage(title)&lt;br /&gt;
	if type(title) == &#039;string&#039; then&lt;br /&gt;
		title = mw.title.new(title)&lt;br /&gt;
	end&lt;br /&gt;
	if not title then&lt;br /&gt;
		-- invalid title&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	--[[This code does not work in all namespaces where the Translate tool works.&lt;br /&gt;
	--  It works in the main namespace on Meta because it allows subpages there&lt;br /&gt;
	--  It would not work in the main namespace of English Wikipedia (but the&lt;br /&gt;
	--  articles are monolignual on that wiki).&lt;br /&gt;
	--  On Meta-Wiki the main space uses subpages and its pages are translated.&lt;br /&gt;
	--  The Translate tool allows translatng pages in all namespaces, even if&lt;br /&gt;
	--  the namespace officially does not have subpages.&lt;br /&gt;
	--  On Meta-Wiki the Category namespace still does not have subpages enabled,&lt;br /&gt;
	--  even if they would be very useful for categorizing templates, that DO have&lt;br /&gt;
	--  subpages (for documentatio and tstboxes pages). This is a misconfiguration&lt;br /&gt;
	--  bug of Meta-Wiki. The work-around is to split the full title and then&lt;br /&gt;
	--  get the last titlepart.&lt;br /&gt;
	local subpage = title.subpageText&lt;br /&gt;
	--]]&lt;br /&gt;
	local titleparts = mw.text.split(title.fullText, &#039;/&#039;)&lt;br /&gt;
	local subpage = titleparts[#titleparts]&lt;br /&gt;
	return this.checkLanguage(subpage, &#039;&#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the last subpage of the current page if it is a translation.&lt;br /&gt;
    ]]&lt;br /&gt;
function this.getCurrentLanguageSubpage()&lt;br /&gt;
	return this._getLanguageSubpage(mw.title.getCurrentTitle())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the first part of the language code of the subpage, before the &#039;-&#039;.&lt;br /&gt;
--]]&lt;br /&gt;
function this.getMainLanguageSubpage()&lt;br /&gt;
	parts = mw.text.split(this.getCurrentLanguageSubpage(), &#039;-&#039;)&lt;br /&gt;
	return parts[1]&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the last subpage of the current frame if it is a translation.&lt;br /&gt;
    Not used locally.&lt;br /&gt;
--]]&lt;br /&gt;
function this.getFrameLanguageSubpage(frame)&lt;br /&gt;
	return this._getLanguageSubpage(frame:getParent():getTitle())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the language of the current page. Not used locally.&lt;br /&gt;
--]]&lt;br /&gt;
function this.getLanguage()&lt;br /&gt;
    local subpage = mw.title.getCurrentTitle().subpageText&lt;br /&gt;
    return this.checkLanguage(subpage, mw.language.getContentLanguage():getCode())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[Get the language of the current frame. Not used locally.&lt;br /&gt;
--]]&lt;br /&gt;
function this.getFrameLanguage(frame)&lt;br /&gt;
    local titleparts = mw.text.split(frame:getParent():getTitle(), &#039;/&#039;)&lt;br /&gt;
    local subpage = titleparts[#titleparts]&lt;br /&gt;
    return this.checkLanguage(subpage, mw.language.getContentLanguage():getCode())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function this.title(namespace, basepagename, subpage)&lt;br /&gt;
    local message, title&lt;br /&gt;
    local pagename = basepagename&lt;br /&gt;
    if (subpage or &#039;&#039;) ~= &#039;&#039; then&lt;br /&gt;
        pagename = pagename .. &#039;/&#039; .. subpage&lt;br /&gt;
    end&lt;br /&gt;
    local valid, title = xpcall(function()&lt;br /&gt;
            return mw.title.new(pagename, namespace) -- costly&lt;br /&gt;
        end, function(msg) -- catch undocumented exception (!?)&lt;br /&gt;
            -- thrown when namespace does not exist. The doc still&lt;br /&gt;
            -- says it should return a title, even in that case...&lt;br /&gt;
            message = msg&lt;br /&gt;
        end)&lt;br /&gt;
    if valid and title ~= nil and (title.id or 0) ~= 0 then&lt;br /&gt;
        return title&lt;br /&gt;
    end&lt;br /&gt;
    return { -- &amp;quot;pseudo&amp;quot; mw.title object with id = nil in case of error&lt;br /&gt;
        prefixedText = pagename, -- the only property we need below&lt;br /&gt;
        message = message -- only for debugging&lt;br /&gt;
    }&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[If on a translation subpage (like Foobar/de), this function returns&lt;br /&gt;
    a given template in the same language, if the translation is available.&lt;br /&gt;
    Otherwise, the template is returned in its default language, without&lt;br /&gt;
    modification.&lt;br /&gt;
    This is aimed at replacing the current implementation of Template:TNTN.&lt;br /&gt;
&lt;br /&gt;
    This version does not expand the returned template name: this solves the&lt;br /&gt;
    problem of self-recursion in TNT when translatable templates need themselves&lt;br /&gt;
    to transclude other translable templates (such as Tnavbar).&lt;br /&gt;
--]]&lt;br /&gt;
function this.getTranslatedTemplate(frame, withStatus)&lt;br /&gt;
    local args = frame.args&lt;br /&gt;
    local pagename = args[&#039;template&#039;]&lt;br /&gt;
    --[[Check whether the pagename is actually in the Template namespace, or&lt;br /&gt;
        if we&#039;re transcluding a main-namespace page.&lt;br /&gt;
        (added for backward compatibility of Template:TNT)&lt;br /&gt;
        ]]&lt;br /&gt;
    local namespace, title = args[&#039;tntns&#039;] or &#039;&#039;&lt;br /&gt;
    if namespace ~= &#039;&#039; then -- Checks for tntns parameter for custom ns.&lt;br /&gt;
        title = this.title(namespace, pagename) -- Costly&lt;br /&gt;
    else -- Supposes that set page is in ns10.&lt;br /&gt;
    	namespace = &#039;Template&#039;&lt;br /&gt;
        title = this.title(namespace, pagename) -- Costly&lt;br /&gt;
        if title.id == nil then -- not found in the Template namespace, assume the main namespace (for backward compatibility)&lt;br /&gt;
    	    namespace = &#039;&#039;&lt;br /&gt;
            title = this.title(namespace, pagename) -- Costly&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    -- Get the last subpage and check if it matches a known language code.&lt;br /&gt;
    local subpage = args[&#039;uselang&#039;] or &#039;&#039;&lt;br /&gt;
    if subpage == &#039;&#039; then&lt;br /&gt;
        subpage = this.getCurrentLanguageSubpage()&lt;br /&gt;
    end&lt;br /&gt;
    if subpage == &#039;&#039; then&lt;br /&gt;
        -- Check if a translation of the pagename exists in English&lt;br /&gt;
        local newtitle = this.title(namespace, pagename, &#039;en&#039;) -- Costly&lt;br /&gt;
        -- Use the translation when it exists&lt;br /&gt;
        if newtitle.id ~= nil then&lt;br /&gt;
            title = newtitle&lt;br /&gt;
        end&lt;br /&gt;
    else&lt;br /&gt;
        -- Check if a translation of the pagename exists in that language&lt;br /&gt;
        local newtitle = this.title(namespace, pagename, subpage) -- Costly&lt;br /&gt;
        if newtitle.id == nil then&lt;br /&gt;
            -- Check if a translation of the pagename exists in English&lt;br /&gt;
            newtitle = this.title(namespace, pagename, &#039;en&#039;) -- Costly&lt;br /&gt;
        end&lt;br /&gt;
        -- Use the translation when it exists&lt;br /&gt;
        if newtitle.id ~= nil then&lt;br /&gt;
            title = newtitle&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    -- At this point the title should exist&lt;br /&gt;
    if withStatus then&lt;br /&gt;
    	-- status returned to Lua function below&lt;br /&gt;
        return title.prefixedText, title.id ~= nil&lt;br /&gt;
    else&lt;br /&gt;
    	-- returned directly to MediaWiki&lt;br /&gt;
        return title.prefixedText&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[If on a translation subpage (like Foobar/de), this function renders&lt;br /&gt;
    a given template in the same language, if the translation is available.&lt;br /&gt;
    Otherwise, the template is rendered in its default language, without&lt;br /&gt;
    modification.&lt;br /&gt;
    This is aimed at replacing the current implementation of Template:TNT.&lt;br /&gt;
    &lt;br /&gt;
    Note that translatable templates cannot transclude themselves other&lt;br /&gt;
    translatable templates, as it will recurse on TNT. Use TNTN instead&lt;br /&gt;
    to return only the effective template name to expand externally, with&lt;br /&gt;
    template parameters also provided externally.&lt;br /&gt;
--]]&lt;br /&gt;
function this.renderTranslatedTemplate(frame)&lt;br /&gt;
	local title, found = this.getTranslatedTemplate(frame, true)&lt;br /&gt;
    -- At this point the title should exist prior to performing the expansion&lt;br /&gt;
    -- of the template, otherwise render a red link to the missing page&lt;br /&gt;
    -- (resolved in its assumed namespace). If we don&#039;t tet this here, a&lt;br /&gt;
    -- script error would be thrown. Returning a red link is consistant with&lt;br /&gt;
    -- MediaWiki behavior when attempting to transclude inexistant templates.&lt;br /&gt;
	if not found then&lt;br /&gt;
		return &#039;[[&#039; .. title .. &#039;]]&#039;&lt;br /&gt;
	end&lt;br /&gt;
    -- Copy args pseudo-table to a proper table so we can feed it to expandTemplate.&lt;br /&gt;
    -- Then render the pagename.&lt;br /&gt;
    local args = frame.args&lt;br /&gt;
    local pargs = (frame:getParent() or {}).args&lt;br /&gt;
    local arguments = {}&lt;br /&gt;
    if (args[&#039;noshift&#039;] or &#039;&#039;) == &#039;&#039; then&lt;br /&gt;
        for k, v in pairs(pargs) do&lt;br /&gt;
            local n = tonumber(k) or 0&lt;br /&gt;
            if n &amp;lt;= 0 then -- unnumbered args&lt;br /&gt;
                arguments[k] = v&lt;br /&gt;
            elseif n &amp;gt;= 2 then -- numbered args &amp;gt;= 2 need to be shifted&lt;br /&gt;
                arguments[n - 1] = v&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    else -- special case where TNT is used as autotranslate&lt;br /&gt;
    	-- (don&#039;t shift again what is shifted in the invokation)&lt;br /&gt;
        for k, v in pairs(pargs) do&lt;br /&gt;
            arguments[k] = v&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    arguments[&#039;template&#039;] = title -- override the existing parameter of the base template name supplied with the full name of the actual template expanded&lt;br /&gt;
    arguments[&#039;tntns&#039;] = nil -- discard the specified namespace override&lt;br /&gt;
    arguments[&#039;uselang&#039;] = args[&#039;uselang&#039;] -- argument forwarded into parent frame&lt;br /&gt;
    arguments[&#039;noshift&#039;] = args[&#039;noshift&#039;] -- argument forwarded into parent frame&lt;br /&gt;
    return frame:expandTemplate{title = &#039;:&#039; .. title, args = arguments}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[A helper for mocking TNT in Special:TemplateSandbox. TNT breaks&lt;br /&gt;
    TemplateSandbox; mocking it with this method means templates won&#039;t be&lt;br /&gt;
    localized but at least TemplateSandbox substitutions will work properly.&lt;br /&gt;
    Won&#039;t work with complex uses.&lt;br /&gt;
--]]&lt;br /&gt;
function this.mockTNT(frame)&lt;br /&gt;
    local pargs = (frame:getParent() or {}).args&lt;br /&gt;
    local arguments = {}&lt;br /&gt;
    for k, v in pairs(pargs) do&lt;br /&gt;
        local n = tonumber(k) or 0&lt;br /&gt;
        if n &amp;lt;= 0 then -- unnumbered args&lt;br /&gt;
            arguments[k] = v&lt;br /&gt;
        elseif n &amp;gt;= 2 then -- numbered args &amp;gt;= 2 need to be shifted&lt;br /&gt;
            arguments[n - 1] = v&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    if not pargs[1] then&lt;br /&gt;
    	return &#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
    return frame:expandTemplate{title = &#039;Template:&#039; .. pargs[1], args = arguments}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return this&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Module:TNT&amp;diff=303</id>
		<title>Module:TNT</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Module:TNT&amp;diff=303"/>
		<updated>2026-05-17T12:00:48Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;-- -- INTRO:   (!!! DO NOT RENAME THIS PAGE !!!) --    This module allows any template or module to be copy/pasted between --    wikis without any translation changes. All translation text is stored --    in the global  Data:*.tab  pages on Commons, and used everywhere. -- -- SEE:   https://www.mediawiki.org/wiki/Multilingual_Templates_and_Modules -- -- ATTENTION: --    Please do NOT rename this module - it has to be identical on all wikis. --    This code is maintained...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--&lt;br /&gt;
-- INTRO:   (!!! DO NOT RENAME THIS PAGE !!!)&lt;br /&gt;
--    This module allows any template or module to be copy/pasted between&lt;br /&gt;
--    wikis without any translation changes. All translation text is stored&lt;br /&gt;
--    in the global  Data:*.tab  pages on Commons, and used everywhere.&lt;br /&gt;
--&lt;br /&gt;
-- SEE:   https://www.mediawiki.org/wiki/Multilingual_Templates_and_Modules&lt;br /&gt;
--&lt;br /&gt;
-- ATTENTION:&lt;br /&gt;
--    Please do NOT rename this module - it has to be identical on all wikis.&lt;br /&gt;
--    This code is maintained at https://www.mediawiki.org/wiki/Module:TNT&lt;br /&gt;
--    Please do not modify it anywhere else, as it may get copied and override your changes.&lt;br /&gt;
--    Suggestions can be made at https://www.mediawiki.org/wiki/Module_talk:TNT&lt;br /&gt;
--&lt;br /&gt;
-- DESCRIPTION:&lt;br /&gt;
--    The &amp;quot;msg&amp;quot; function uses a Commons dataset to translate a message&lt;br /&gt;
--    with a given key (e.g. source-table), plus optional arguments&lt;br /&gt;
--    to the wiki markup in the current content language.&lt;br /&gt;
--    Use lang=xx to set language.  Example:&lt;br /&gt;
--&lt;br /&gt;
--    {{#invoke:TNT | msg&lt;br /&gt;
--     | I18n/Template:Graphs.tab  &amp;lt;!-- https://commons.wikimedia.org/wiki/Data:I18n/Template:Graphs.tab --&amp;gt;&lt;br /&gt;
--     | source-table              &amp;lt;!-- uses a translation message with id = &amp;quot;source-table&amp;quot; --&amp;gt;&lt;br /&gt;
--     | param1 }}                 &amp;lt;!-- optional parameter --&amp;gt;&lt;br /&gt;
--&lt;br /&gt;
--&lt;br /&gt;
--    The &amp;quot;doc&amp;quot; function will generate the &amp;lt;templatedata&amp;gt; parameter documentation for templates.&lt;br /&gt;
--    This way all template parameters can be stored and localized in a single Commons dataset.&lt;br /&gt;
--    NOTE: &amp;quot;doc&amp;quot; assumes that all documentation is located in Data:Templatedata/* on Commons.&lt;br /&gt;
--&lt;br /&gt;
--    {{#invoke:TNT | doc | Graph:Lines }}&lt;br /&gt;
--        uses https://commons.wikimedia.org/wiki/Data:Templatedata/Graph:Lines.tab&lt;br /&gt;
--        if the current page is Template:Graph:Lines/doc&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
local config = (function()&lt;br /&gt;
	local ok, res = pcall(mw.loadData, &amp;quot;Module:TNT/config&amp;quot;);&lt;br /&gt;
	return ok and res or {};&lt;br /&gt;
end)();&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
local i18nDataset = &#039;I18n/Module:TNT.tab&#039;&lt;br /&gt;
&lt;br /&gt;
-- Forward declaration of the local functions&lt;br /&gt;
local sanitizeDataset, loadData, link, formatMessage&lt;br /&gt;
&lt;br /&gt;
function p.msg(frame)&lt;br /&gt;
	local dataset, id&lt;br /&gt;
	local params = {}&lt;br /&gt;
	local lang = nil&lt;br /&gt;
	for k, v in pairs(frame.args) do&lt;br /&gt;
		if k == 1 then&lt;br /&gt;
			dataset = mw.text.trim(v)&lt;br /&gt;
		elseif k == 2 then&lt;br /&gt;
			id = mw.text.trim(v)&lt;br /&gt;
		elseif type(k) == &#039;number&#039; then&lt;br /&gt;
			params[k - 2] = mw.text.trim(v)&lt;br /&gt;
		elseif k == &#039;lang&#039; and v ~= &#039;_&#039; then&lt;br /&gt;
			lang = mw.text.trim(v)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return formatMessage(dataset, id, params, lang)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Identical to p.msg() above, but used from other lua modules&lt;br /&gt;
-- Parameters:  name of dataset, message key, optional arguments&lt;br /&gt;
-- Example with 2 params:  format(&#039;I18n/Module:TNT&#039;, &#039;error_bad_msgkey&#039;, &#039;my-key&#039;, &#039;my-dataset&#039;)&lt;br /&gt;
function p.format(dataset, key, ...)&lt;br /&gt;
	local checkType = require(&#039;libraryUtil&#039;).checkType&lt;br /&gt;
	checkType(&#039;format&#039;, 1, dataset, &#039;string&#039;)&lt;br /&gt;
	checkType(&#039;format&#039;, 2, key, &#039;string&#039;)&lt;br /&gt;
	return formatMessage(dataset, key, {...})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Identical to p.msg() above, but used from other lua modules with the language param&lt;br /&gt;
-- Parameters:  language code, name of dataset, message key, optional arguments&lt;br /&gt;
-- Example with 2 params:  formatInLanguage(&#039;es&#039;, I18n/Module:TNT&#039;, &#039;error_bad_msgkey&#039;, &#039;my-key&#039;, &#039;my-dataset&#039;)&lt;br /&gt;
function p.formatInLanguage(lang, dataset, key, ...)&lt;br /&gt;
	local checkType = require(&#039;libraryUtil&#039;).checkType&lt;br /&gt;
	checkType(&#039;formatInLanguage&#039;, 1, lang, &#039;string&#039;)&lt;br /&gt;
	checkType(&#039;formatInLanguage&#039;, 2, dataset, &#039;string&#039;)&lt;br /&gt;
	checkType(&#039;formatInLanguage&#039;, 3, key, &#039;string&#039;)&lt;br /&gt;
	return formatMessage(dataset, key, {...}, lang)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Obsolete function that adds a &#039;c:&#039; prefix to the first param.&lt;br /&gt;
-- &amp;quot;Sandbox/Sample.tab&amp;quot; -&amp;gt; &#039;c:Data:Sandbox/Sample.tab&#039;&lt;br /&gt;
function p.link(frame)&lt;br /&gt;
	return link(frame.args[1])&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local implGetTemplateData;&lt;br /&gt;
function p.doc(frame)&lt;br /&gt;
	local dataset = sanitizeDataset(frame.args[1])&lt;br /&gt;
	local json, dataPage, categories = implGetTemplateData(nil, dataset, frame.args)&lt;br /&gt;
	return frame:extensionTag(&#039;templatedata&#039;, json) ..&lt;br /&gt;
		formatMessage(i18nDataset, &#039;edit_doc&#039;, {link(dataPage)}) ..&lt;br /&gt;
		(categories or &amp;quot;&amp;quot;);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getTemplateData(dataset)&lt;br /&gt;
	local data = implGetTemplateData(true, dataset);&lt;br /&gt;
	return data;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getTemplateDataNew(...)&lt;br /&gt;
	return implGetTemplateData(nil, ...);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function implGetTemplateData(legacy, dataset, args)&lt;br /&gt;
	-- TODO: add &#039;_&#039; parameter once lua starts reindexing properly for &amp;quot;all&amp;quot; languages&lt;br /&gt;
	local data, dataPage, categories = loadData(&lt;br /&gt;
		dataset, nil, not legacy and &#039;TemplateData&#039; or nil);&lt;br /&gt;
	local names = {}&lt;br /&gt;
	for _, field in ipairs(data.schema.fields) do&lt;br /&gt;
		table.insert(names, field.name)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local numOnly = true&lt;br /&gt;
	local params = {}&lt;br /&gt;
	local paramOrder = {}&lt;br /&gt;
	for _, row in ipairs(data.data) do&lt;br /&gt;
		local newVal = {}&lt;br /&gt;
		local name = nil&lt;br /&gt;
		for pos, columnName in ipairs(names) do&lt;br /&gt;
			if columnName == &#039;name&#039; then&lt;br /&gt;
				name = row[pos]&lt;br /&gt;
			else&lt;br /&gt;
				newVal[columnName] = row[pos]&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		if name then&lt;br /&gt;
			if (&lt;br /&gt;
				(type(name) ~= &amp;quot;number&amp;quot;)&lt;br /&gt;
				and (&lt;br /&gt;
					(type(name) ~= &amp;quot;string&amp;quot;)&lt;br /&gt;
					or not string.match(name, &amp;quot;^%d+$&amp;quot;)&lt;br /&gt;
				)&lt;br /&gt;
			) then&lt;br /&gt;
				numOnly = false&lt;br /&gt;
			end&lt;br /&gt;
			params[name] = newVal&lt;br /&gt;
			table.insert(paramOrder, name)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Work around json encoding treating {&amp;quot;1&amp;quot;:{...}} as an [{...}]&lt;br /&gt;
	if numOnly then&lt;br /&gt;
		params[&#039;zzz123&#039;]=&#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local json = mw.text.jsonEncode({&lt;br /&gt;
		params=params,&lt;br /&gt;
		paramOrder=paramOrder,&lt;br /&gt;
		description=data.description,&lt;br /&gt;
		-- TODO: Store this in a dataset:&lt;br /&gt;
		format = (args and args.format or nil),&lt;br /&gt;
	})&lt;br /&gt;
&lt;br /&gt;
	if numOnly then&lt;br /&gt;
		json = string.gsub(json,&#039;&amp;quot;zzz123&amp;quot;:&amp;quot;&amp;quot;,?&#039;, &amp;quot;&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return json, dataPage, categories;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Local functions&lt;br /&gt;
&lt;br /&gt;
sanitizeDataset = function(dataset)&lt;br /&gt;
	if not dataset then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	dataset = mw.text.trim(dataset)&lt;br /&gt;
	if dataset == &#039;&#039; then&lt;br /&gt;
		return nil&lt;br /&gt;
	elseif string.sub(dataset,-4) ~= &#039;.tab&#039; then&lt;br /&gt;
		return dataset .. &#039;.tab&#039;&lt;br /&gt;
	else&lt;br /&gt;
		return dataset&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
loadData = function(dataset, lang, dataType)&lt;br /&gt;
	dataset = sanitizeDataset(dataset)&lt;br /&gt;
	if not dataset then&lt;br /&gt;
		error(formatMessage(i18nDataset, &#039;error_no_dataset&#039;, {}))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Give helpful error to thirdparties who try and copy this module.&lt;br /&gt;
	if not mw.ext or not mw.ext.data or not mw.ext.data.get then&lt;br /&gt;
		error(string.format([[&#039;&#039;&#039;Missing JsonConfig extension, or not properly configured;&lt;br /&gt;
Cannot load https://commons.wikimedia.org/wiki/Data:%s.&lt;br /&gt;
See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates&#039;&#039;&#039;]], dataset))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local dataPage = dataset;&lt;br /&gt;
	local data, categories;&lt;br /&gt;
	if dataType == &#039;TemplateData&#039; then&lt;br /&gt;
		dataPage = &#039;TemplateData/&#039; .. dataset;&lt;br /&gt;
		data = mw.ext.data.get(dataPage, lang);&lt;br /&gt;
		if data == false then&lt;br /&gt;
			data = mw.ext.data.get(&#039;Templatedata/&#039; .. dataset, lang);&lt;br /&gt;
			if data ~= false then&lt;br /&gt;
				local legacyTemplateDataCategoryName = config.legacyTemplateDataCategoryName;&lt;br /&gt;
				if legacyTemplateDataCategoryName ~= false then&lt;br /&gt;
					categories = string.format(&lt;br /&gt;
						&#039;[[Category:%s%s]]&#039;,&lt;br /&gt;
						legacyTemplateDataCategoryName or &amp;quot;Templates using legacy global TemplateData table name&amp;quot;,&lt;br /&gt;
						config.translatableCategoryLink and mw.getCurrentFrame():callParserFunction(&amp;quot;#translation:&amp;quot;) or &amp;quot;&amp;quot;&lt;br /&gt;
					);&lt;br /&gt;
				end&lt;br /&gt;
				dataPage = &#039;Templatedata/&#039; .. dataset;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		data = mw.ext.data.get(dataset, lang)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if data == false then&lt;br /&gt;
		if dataset == i18nDataset then&lt;br /&gt;
			-- Prevent cyclical calls&lt;br /&gt;
			error(&#039;Missing Commons dataset &#039; .. i18nDataset)&lt;br /&gt;
		else&lt;br /&gt;
			error(formatMessage(i18nDataset, &#039;error_bad_dataset&#039;, {link(dataPage)}))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return data, dataPage, categories;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Given a dataset name, convert it to a title with the &#039;commons:data:&#039; prefix&lt;br /&gt;
link = function(dataset)&lt;br /&gt;
	return &#039;c:Data:&#039; .. mw.text.trim(dataset or &#039;&#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
formatMessage = function(dataset, key, params, lang)&lt;br /&gt;
	for _, row in pairs(loadData(dataset, lang).data) do&lt;br /&gt;
		local id, msg = unpack(row)&lt;br /&gt;
		if id == key then&lt;br /&gt;
			local result = mw.message.newRawMessage(msg, unpack(params or {}))&lt;br /&gt;
			return result:plain()&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if dataset == i18nDataset then&lt;br /&gt;
		-- Prevent cyclical calls&lt;br /&gt;
		error(&#039;Invalid message key &amp;quot;&#039; .. key .. &#039;&amp;quot;&#039;)&lt;br /&gt;
	else&lt;br /&gt;
		error(formatMessage(i18nDataset, &#039;error_bad_msgkey&#039;, {key, link(dataset)}))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Module:Yesno&amp;diff=302</id>
		<title>Module:Yesno</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Module:Yesno&amp;diff=302"/>
		<updated>2026-05-17T11:59:41Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}.  return function (val, default) 	-- If your wiki uses non-ascii characters for any of &amp;quot;yes&amp;quot;, &amp;quot;no&amp;quot;, etc., you 	-- should replace &amp;quot;val:lower()&amp;quot; with &amp;quot;mw.ustring.lower(val)&amp;quot; in the 	-- following line. 	val = type(val) == &amp;#039;string&amp;#039; and val:lower() or val 	if val == nil then 		return nil 	elseif val == true  		or val == &amp;#039;yes&amp;#039; 		or val == &amp;#039;y&amp;#039; 		or val =...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- Function allowing for consistent treatment of boolean-like wikitext input.&lt;br /&gt;
-- It works similarly to the template {{yesno}}.&lt;br /&gt;
&lt;br /&gt;
return function (val, default)&lt;br /&gt;
	-- If your wiki uses non-ascii characters for any of &amp;quot;yes&amp;quot;, &amp;quot;no&amp;quot;, etc., you&lt;br /&gt;
	-- should replace &amp;quot;val:lower()&amp;quot; with &amp;quot;mw.ustring.lower(val)&amp;quot; in the&lt;br /&gt;
	-- following line.&lt;br /&gt;
	val = type(val) == &#039;string&#039; and val:lower() or val&lt;br /&gt;
	if val == nil then&lt;br /&gt;
		return nil&lt;br /&gt;
	elseif val == true &lt;br /&gt;
		or val == &#039;yes&#039;&lt;br /&gt;
		or val == &#039;y&#039;&lt;br /&gt;
		or val == &#039;true&#039;&lt;br /&gt;
		or val == &#039;t&#039;&lt;br /&gt;
		or val == &#039;on&#039;&lt;br /&gt;
		or tonumber(val) == 1&lt;br /&gt;
	then&lt;br /&gt;
		return true&lt;br /&gt;
	elseif val == false&lt;br /&gt;
		or val == &#039;no&#039;&lt;br /&gt;
		or val == &#039;n&#039;&lt;br /&gt;
		or val == &#039;false&#039;&lt;br /&gt;
		or val == &#039;f&#039;&lt;br /&gt;
		or val == &#039;off&#039;&lt;br /&gt;
		or tonumber(val) == 0&lt;br /&gt;
	then&lt;br /&gt;
		return false&lt;br /&gt;
	else&lt;br /&gt;
		return default&lt;br /&gt;
	end&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Module:Message_box/doc&amp;diff=301</id>
		<title>Module:Message box/doc</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Module:Message_box/doc&amp;diff=301"/>
		<updated>2026-05-17T11:58:44Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;&amp;lt;noinclude&amp;gt;&amp;lt;!-- --&amp;gt;{{#ifeq:{{SUBPAGENAME}}|doc||{{Documentation subpage}}}}&amp;lt;!-- --&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;!-- --&amp;gt;&amp;lt;/noinclude&amp;gt;{{#switch:&amp;lt;translate&amp;gt;&amp;lt;/translate&amp;gt; | = &amp;lt;includeonly&amp;gt;{{Languages|Module:Message box/doc}}&amp;lt;/includeonly&amp;gt; &amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt; &amp;lt;!-- {{Shared Template Warning|Module:Message box}} --&amp;gt; {{Used in system}} {{module rating|r}} {{module rating|p}} {{Lua|Module:Message box/configuration|Module:Ar...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#ifeq:{{SUBPAGENAME}}|doc||{{Documentation subpage}}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;{{#switch:&amp;lt;translate&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
| =&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Languages|Module:Message box/doc}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&amp;lt;!-- {{Shared Template Warning|Module:Message box}} --&amp;gt;&lt;br /&gt;
{{Used in system}}&lt;br /&gt;
{{module rating|r}}&lt;br /&gt;
{{module rating|p}}&lt;br /&gt;
{{Lua|Module:Message box/configuration|Module:Arguments|Module:Category handler|Module:Yesno}}&lt;br /&gt;
{{Uses TemplateStyles&lt;br /&gt;
| Module:Message box/ambox.css&lt;br /&gt;
| Module:Message box/cmbox.css&lt;br /&gt;
| Module:Message box/fmbox.css&lt;br /&gt;
| Module:Message box/imbox.css&lt;br /&gt;
| Module:Message box/ombox.css&lt;br /&gt;
| Module:Message box/tmbox.css&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:1--&amp;gt; This is a meta-module that implements the message box templates &amp;lt;tvar name=1&amp;gt;{{separated entries|{{tlx|mbox}}|{{tlx|ambox}}|{{tlx|cmbox}}|{{tlx|fmbox}}|{{tlx|imbox}}|{{tlx|ombox}}|{{tlx|tmbox}}|separator=&amp;lt;nowiki/&amp;gt;{{int|lang={{TRANSLATIONLANGUAGE}}|comma-separator}}&amp;lt;nowiki/&amp;gt;|conjunction=&amp;lt;nowiki/&amp;gt;{{int|lang={{TRANSLATIONLANGUAGE}}|and}}{{int|lang={{TRANSLATIONLANGUAGE}}|word-separator}}&amp;lt;nowiki/&amp;gt;}}&amp;lt;/tvar&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:2--&amp;gt; It is intended to be used from Lua modules, and should not be used directly from wiki pages.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:3--&amp;gt; If you want to use this module&#039;s functionality from a wiki page, please use the individual message box templates instead.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== Usage == &amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
To use this module from another Lua module, first you need to load it.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local messageBox = require(&#039;Module:Message box&#039;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:6--&amp;gt; To create a message box, use the &amp;lt;tvar name=1&amp;gt;&amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt;&amp;lt;/tvar&amp;gt; function.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:7--&amp;gt; It takes two parameters:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Unordered list&lt;br /&gt;
|1=&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:8--&amp;gt; the first is the box type (as a string).&amp;lt;/translate&amp;gt;&lt;br /&gt;
|2=&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:9--&amp;gt; the second is a table containing the message box parameters.&amp;lt;/translate&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local box = messageBox.main( boxType, {&lt;br /&gt;
	param1 = param1,&lt;br /&gt;
	param2 = param2,&lt;br /&gt;
	-- &amp;lt;translate nowrap&amp;gt;&amp;lt;!--T:10--&amp;gt; More parameters...&amp;lt;/translate&amp;gt;&lt;br /&gt;
})&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
There are seven available box types:&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{(!}} class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! &amp;lt;translate&amp;gt;&amp;lt;!--T:12--&amp;gt; Box type&amp;lt;/translate&amp;gt;&lt;br /&gt;
! &amp;lt;translate&amp;gt;&amp;lt;!--T:13--&amp;gt; Template&amp;lt;/translate&amp;gt;&lt;br /&gt;
! &amp;lt;translate&amp;gt;&amp;lt;!--T:14--&amp;gt; Purpose&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} &amp;lt;code&amp;gt;mbox&amp;lt;/code&amp;gt;&lt;br /&gt;
{{!}} {{tlx|mbox}}&lt;br /&gt;
{{!}} &amp;lt;translate&amp;gt;&amp;lt;!--T:15--&amp;gt; For message boxes to be used in multiple namespaces&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} &amp;lt;code&amp;gt;ambox&amp;lt;/code&amp;gt;&lt;br /&gt;
{{!}} {{tlx|ambox}}&lt;br /&gt;
{{!}} &amp;lt;translate&amp;gt;&amp;lt;!--T:16--&amp;gt; For article message boxes&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} &amp;lt;code&amp;gt;cmbox&amp;lt;/code&amp;gt;&lt;br /&gt;
{{!}} {{tlx|cmbox}}&lt;br /&gt;
{{!}} &amp;lt;translate&amp;gt;&amp;lt;!--T:17--&amp;gt; For category message boxes&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} &amp;lt;code&amp;gt;fmbox&amp;lt;/code&amp;gt;&lt;br /&gt;
{{!}} {{tlx|fmbox}}&lt;br /&gt;
{{!}} &amp;lt;translate&amp;gt;&amp;lt;!--T:18--&amp;gt; For interface message boxes&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} &amp;lt;code&amp;gt;imbox&amp;lt;/code&amp;gt;&lt;br /&gt;
{{!}} {{tlx|imbox}}&lt;br /&gt;
{{!}} &amp;lt;translate&amp;gt;&amp;lt;!--T:19--&amp;gt; For file namespace message boxes&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} &amp;lt;code&amp;gt;tmbox&amp;lt;/code&amp;gt;&lt;br /&gt;
{{!}} {{tlx|tmbox}}&lt;br /&gt;
{{!}} &amp;lt;translate&amp;gt;&amp;lt;!--T:20--&amp;gt; For talk page message boxes&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} &amp;lt;code&amp;gt;ombox&amp;lt;/code&amp;gt;&lt;br /&gt;
{{!}} {{tlx|ombox}}&lt;br /&gt;
{{!}} &amp;lt;translate&amp;gt;&amp;lt;!--T:21--&amp;gt; For message boxes in other namespaces&amp;lt;/translate&amp;gt;&lt;br /&gt;
{{!)}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
See the template page of each box type for the available parameters.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate nowrap&amp;gt;&lt;br /&gt;
== Usage from &amp;lt;tvar name=1&amp;gt;&amp;lt;code&amp;gt;#invoke&amp;lt;/code&amp;gt;&amp;lt;/tvar&amp;gt; == &amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:24--&amp;gt; As well as the &amp;lt;tvar name=1&amp;gt;&amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt;&amp;lt;/tvar&amp;gt; function, this module has separate functions for each box type.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:25--&amp;gt; They are accessed using the code &amp;lt;tvar name=1&amp;gt;{{magic word|ext=Scribunto|nowrap=1|code=1|#invoke|[[Module:Message box|Message box]]&amp;lt;nowiki&amp;gt;|mbox|...&amp;lt;/nowiki&amp;gt;}}&amp;lt;/tvar&amp;gt;, &amp;lt;tvar name=2&amp;gt;{{tlc|#invoke:Message box|ambox|...}}&amp;lt;/tvar&amp;gt;, etc.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:26--&amp;gt; These will work when called from other modules, but they access code used to process arguments passed from &amp;lt;tvar name=1&amp;gt;{{tlc|#invoke:...}}&amp;lt;/tvar&amp;gt;, and so calling them will be less efficient than calling &amp;lt;tvar name=2&amp;gt;&amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt;&amp;lt;/tvar&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== Technical details == &amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
The module uses the same basic code for each of the templates listed above; the differences between each of them are configured using the data at &amp;lt;tvar name=1&amp;gt;[[Module:Message box/configuration]]&amp;lt;/tvar&amp;gt;.&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Modules{{#translation:}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Module documentation pages{{#translation:}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
| #default=&lt;br /&gt;
  {{#invoke:Template translation|renderTranslatedTemplate|template=Module:Message box/doc|noshift=1|uselang={{int:lang}}}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Module:Message_box&amp;diff=300</id>
		<title>Module:Message box</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Module:Message_box&amp;diff=300"/>
		<updated>2026-05-17T11:57:34Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}.  -- Load necessary modules. require(&amp;#039;strict&amp;#039;) local getArgs local yesno = require(&amp;#039;Module:Yesno&amp;#039;)  -- Get a language object for formatDate and ucfirst. local lang = mw.language.getContentLanguage()  -- Define constants local CONFIG_MODULE = &amp;#039;Module:Message box/configuration&amp;#039; local DEMOSPACES = {talk = &amp;#039;tmbox&amp;#039;, image = &amp;#039;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- This is a meta-module for producing message box templates, including&lt;br /&gt;
-- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}.&lt;br /&gt;
&lt;br /&gt;
-- Load necessary modules.&lt;br /&gt;
require(&#039;strict&#039;)&lt;br /&gt;
local getArgs&lt;br /&gt;
local yesno = require(&#039;Module:Yesno&#039;)&lt;br /&gt;
&lt;br /&gt;
-- Get a language object for formatDate and ucfirst.&lt;br /&gt;
local lang = mw.language.getContentLanguage()&lt;br /&gt;
&lt;br /&gt;
-- Define constants&lt;br /&gt;
local CONFIG_MODULE = &#039;Module:Message box/configuration&#039;&lt;br /&gt;
local DEMOSPACES = {talk = &#039;tmbox&#039;, image = &#039;imbox&#039;, file = &#039;imbox&#039;, category = &#039;cmbox&#039;, article = &#039;ambox&#039;, main = &#039;ambox&#039;}&lt;br /&gt;
local TEMPLATE_STYLES = &#039;Module:Message box/%s.css&#039;&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Helper functions&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local function getTitleObject(...)&lt;br /&gt;
	-- Get the title object, passing the function through pcall&lt;br /&gt;
	-- in case we are over the expensive function count limit.&lt;br /&gt;
	local success, title = pcall(mw.title.new, ...)&lt;br /&gt;
	if success then&lt;br /&gt;
		return title&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function union(t1, t2)&lt;br /&gt;
	-- Returns the union of two arrays.&lt;br /&gt;
	local vals = {}&lt;br /&gt;
	for i, v in ipairs(t1) do&lt;br /&gt;
		vals[v] = true&lt;br /&gt;
	end&lt;br /&gt;
	for i, v in ipairs(t2) do&lt;br /&gt;
		vals[v] = true&lt;br /&gt;
	end&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	for k in pairs(vals) do&lt;br /&gt;
		table.insert(ret, k)&lt;br /&gt;
	end&lt;br /&gt;
	table.sort(ret)&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function getArgNums(args, prefix)&lt;br /&gt;
	local nums = {}&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		local num = mw.ustring.match(tostring(k), &#039;^&#039; .. prefix .. &#039;([1-9]%d*)$&#039;)&lt;br /&gt;
		if num then&lt;br /&gt;
			table.insert(nums, tonumber(num))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	table.sort(nums)&lt;br /&gt;
	return nums&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Box class definition&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local MessageBox = {}&lt;br /&gt;
MessageBox.__index = MessageBox&lt;br /&gt;
&lt;br /&gt;
function MessageBox.new(boxType, args, cfg)&lt;br /&gt;
	args = args or {}&lt;br /&gt;
	local obj = {}&lt;br /&gt;
&lt;br /&gt;
	obj.boxType = boxType&lt;br /&gt;
&lt;br /&gt;
	-- Set the title object and the namespace.&lt;br /&gt;
	obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle()&lt;br /&gt;
&lt;br /&gt;
	-- Set the config for our box type.&lt;br /&gt;
	obj.cfg = cfg[boxType]&lt;br /&gt;
	if not obj.cfg then&lt;br /&gt;
		local ns = obj.title.namespace&lt;br /&gt;
		-- boxType is &amp;quot;mbox&amp;quot; or invalid input&lt;br /&gt;
		if args.demospace and args.demospace ~= &#039;&#039; then&lt;br /&gt;
			-- implement demospace parameter of mbox&lt;br /&gt;
			local demospace = string.lower(args.demospace)&lt;br /&gt;
			if DEMOSPACES[demospace] then&lt;br /&gt;
				-- use template from DEMOSPACES&lt;br /&gt;
				obj.cfg = cfg[DEMOSPACES[demospace]]&lt;br /&gt;
				obj.boxType = DEMOSPACES[demospace]&lt;br /&gt;
			elseif string.find( demospace, &#039;talk&#039; ) then&lt;br /&gt;
				-- demo as a talk page&lt;br /&gt;
				obj.cfg = cfg.tmbox&lt;br /&gt;
				obj.boxType = &#039;tmbox&#039;&lt;br /&gt;
			else&lt;br /&gt;
				-- default to ombox&lt;br /&gt;
				obj.cfg = cfg.ombox&lt;br /&gt;
				obj.boxType = &#039;ombox&#039;&lt;br /&gt;
			end&lt;br /&gt;
		elseif ns == 0 then&lt;br /&gt;
			obj.cfg = cfg.ambox -- main namespace&lt;br /&gt;
			obj.boxType = &#039;ambox&#039;&lt;br /&gt;
		elseif ns == 6 then&lt;br /&gt;
			obj.cfg = cfg.imbox -- file namespace&lt;br /&gt;
			obj.boxType = &#039;imbox&#039;&lt;br /&gt;
		elseif ns == 14 then&lt;br /&gt;
			obj.cfg = cfg.cmbox -- category namespace&lt;br /&gt;
			obj.boxType = &#039;cmbox&#039;&lt;br /&gt;
		else&lt;br /&gt;
			local nsTable = mw.site.namespaces[ns]&lt;br /&gt;
			if nsTable and nsTable.isTalk then&lt;br /&gt;
				obj.cfg = cfg.tmbox -- any talk namespace&lt;br /&gt;
				obj.boxType = &#039;tmbox&#039;&lt;br /&gt;
			else&lt;br /&gt;
				obj.cfg = cfg.ombox -- other namespaces or invalid input&lt;br /&gt;
				obj.boxType = &#039;ombox&#039;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Set the arguments, and remove all blank arguments except for the ones&lt;br /&gt;
	-- listed in cfg.allowBlankParams.&lt;br /&gt;
	do&lt;br /&gt;
		local newArgs = {}&lt;br /&gt;
		for k, v in pairs(args) do&lt;br /&gt;
			if v ~= &#039;&#039; then&lt;br /&gt;
				newArgs[k] = v&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		for i, param in ipairs(obj.cfg.allowBlankParams or {}) do&lt;br /&gt;
			newArgs[param] = args[param]&lt;br /&gt;
		end&lt;br /&gt;
		obj.args = newArgs&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Define internal data structure.&lt;br /&gt;
	obj.categories = {}&lt;br /&gt;
	obj.classes = {}&lt;br /&gt;
	-- For lazy loading of [[Module:Category handler]].&lt;br /&gt;
	obj.hasCategories = false&lt;br /&gt;
&lt;br /&gt;
	return setmetatable(obj, MessageBox)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:addCat(ns, cat, sort)&lt;br /&gt;
	if not cat then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	if sort then&lt;br /&gt;
		cat = string.format(&#039;[[Category:%s|%s]]&#039;, cat, sort)&lt;br /&gt;
	else&lt;br /&gt;
		cat = string.format(&#039;[[Category:%s]]&#039;, cat)&lt;br /&gt;
	end&lt;br /&gt;
	self.hasCategories = true&lt;br /&gt;
	self.categories[ns] = self.categories[ns] or {}&lt;br /&gt;
	table.insert(self.categories[ns], cat)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:addClass(class)&lt;br /&gt;
	if not class then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	self.classes[class] = 1&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:removeClass(class)&lt;br /&gt;
	if not class then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	self.classes[class] = nil&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:setParameters()&lt;br /&gt;
	local args = self.args&lt;br /&gt;
	local cfg = self.cfg&lt;br /&gt;
&lt;br /&gt;
	-- Get type data.&lt;br /&gt;
	self.type = args.type&lt;br /&gt;
	local typeData = cfg.types[self.type]&lt;br /&gt;
	self.invalidTypeError = cfg.showInvalidTypeError&lt;br /&gt;
		and self.type&lt;br /&gt;
		and not typeData&lt;br /&gt;
	typeData = typeData or cfg.types[cfg.default]&lt;br /&gt;
	self.typeClass = typeData.class&lt;br /&gt;
	self.typeImage = typeData.image&lt;br /&gt;
&lt;br /&gt;
	-- Find if the box has been wrongly substituted.&lt;br /&gt;
	self.isSubstituted = cfg.substCheck and args.subst == &#039;SUBST&#039;&lt;br /&gt;
&lt;br /&gt;
	-- Find whether we are using a small message box.&lt;br /&gt;
	self.isSmall = cfg.allowSmall and (&lt;br /&gt;
		cfg.smallParam and args.small == cfg.smallParam&lt;br /&gt;
		or not cfg.smallParam and yesno(args.small)&lt;br /&gt;
	)&lt;br /&gt;
&lt;br /&gt;
	-- Add attributes, classes and styles.&lt;br /&gt;
	self.id = args.id&lt;br /&gt;
	self.name = args.name&lt;br /&gt;
	for _, class in ipairs(cfg.classes or {}) do&lt;br /&gt;
		self:addClass(class)&lt;br /&gt;
	end&lt;br /&gt;
	if self.name then&lt;br /&gt;
		self:addClass(&#039;box-&#039; .. string.gsub(self.name,&#039; &#039;,&#039;_&#039;))&lt;br /&gt;
	end&lt;br /&gt;
	local plainlinks = yesno(args.plainlinks)&lt;br /&gt;
	if plainlinks == true then&lt;br /&gt;
		self:addClass(&#039;plainlinks&#039;)&lt;br /&gt;
	elseif plainlinks == false then&lt;br /&gt;
		self:removeClass(&#039;plainlinks&#039;)&lt;br /&gt;
	end&lt;br /&gt;
	if self.isSmall then&lt;br /&gt;
		self:addClass(cfg.smallClass or &#039;mbox-small&#039;)&lt;br /&gt;
	end&lt;br /&gt;
	self:addClass(self.typeClass)&lt;br /&gt;
	self:addClass(args.class)&lt;br /&gt;
	self.style = args.style&lt;br /&gt;
	self.attrs = args.attrs&lt;br /&gt;
&lt;br /&gt;
	-- Set text style.&lt;br /&gt;
	self.textstyle = args.textstyle&lt;br /&gt;
&lt;br /&gt;
	-- Find if we are on the template page or not. This functionality is only&lt;br /&gt;
	-- used if useCollapsibleTextFields is set, or if both cfg.templateCategory&lt;br /&gt;
	-- and cfg.templateCategoryRequireName are set.&lt;br /&gt;
	self.useCollapsibleTextFields = cfg.useCollapsibleTextFields&lt;br /&gt;
	if self.useCollapsibleTextFields&lt;br /&gt;
		or cfg.templateCategory&lt;br /&gt;
		and cfg.templateCategoryRequireName&lt;br /&gt;
	then&lt;br /&gt;
		if self.name then&lt;br /&gt;
			local templateName = mw.ustring.match(&lt;br /&gt;
				self.name,&lt;br /&gt;
				&#039;^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$&#039;&lt;br /&gt;
			) or self.name&lt;br /&gt;
			templateName = &#039;Template:&#039; .. templateName&lt;br /&gt;
			self.templateTitle = getTitleObject(templateName)&lt;br /&gt;
		end&lt;br /&gt;
		self.isTemplatePage = self.templateTitle&lt;br /&gt;
			and mw.title.equals(self.title, self.templateTitle)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Process data for collapsible text fields. At the moment these are only&lt;br /&gt;
	-- used in {{ambox}}.&lt;br /&gt;
	if self.useCollapsibleTextFields then&lt;br /&gt;
		-- Get the self.issue value.&lt;br /&gt;
		if self.isSmall and args.smalltext then&lt;br /&gt;
			self.issue = args.smalltext&lt;br /&gt;
		else&lt;br /&gt;
			local sect&lt;br /&gt;
			if args.sect == &#039;&#039; then&lt;br /&gt;
				sect = &#039;This &#039; .. (cfg.sectionDefault or &#039;page&#039;)&lt;br /&gt;
			elseif type(args.sect) == &#039;string&#039; then&lt;br /&gt;
				sect = &#039;This &#039; .. args.sect&lt;br /&gt;
			end&lt;br /&gt;
			local issue = args.issue&lt;br /&gt;
			issue = type(issue) == &#039;string&#039; and issue ~= &#039;&#039; and issue or nil&lt;br /&gt;
			local text = args.text&lt;br /&gt;
			text = type(text) == &#039;string&#039; and text or nil&lt;br /&gt;
			local issues = {}&lt;br /&gt;
			table.insert(issues, sect)&lt;br /&gt;
			table.insert(issues, issue)&lt;br /&gt;
			table.insert(issues, text)&lt;br /&gt;
			self.issue = table.concat(issues, &#039; &#039;)&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		-- Get the self.talk value.&lt;br /&gt;
		local talk = args.talk&lt;br /&gt;
		-- Show talk links on the template page or template subpages if the talk&lt;br /&gt;
		-- parameter is blank.&lt;br /&gt;
		if talk == &#039;&#039;&lt;br /&gt;
			and self.templateTitle&lt;br /&gt;
			and (&lt;br /&gt;
				mw.title.equals(self.templateTitle, self.title)&lt;br /&gt;
				or self.title:isSubpageOf(self.templateTitle)&lt;br /&gt;
			)&lt;br /&gt;
		then&lt;br /&gt;
			talk = &#039;#&#039;&lt;br /&gt;
		elseif talk == &#039;&#039; then&lt;br /&gt;
			talk = nil&lt;br /&gt;
		end&lt;br /&gt;
		if talk then&lt;br /&gt;
			-- If the talk value is a talk page, make a link to that page. Else&lt;br /&gt;
			-- assume that it&#039;s a section heading, and make a link to the talk&lt;br /&gt;
			-- page of the current page with that section heading.&lt;br /&gt;
			local talkTitle = getTitleObject(talk)&lt;br /&gt;
			local talkArgIsTalkPage = true&lt;br /&gt;
			if not talkTitle or not talkTitle.isTalkPage then&lt;br /&gt;
				talkArgIsTalkPage = false&lt;br /&gt;
				talkTitle = getTitleObject(&lt;br /&gt;
					self.title.text,&lt;br /&gt;
					mw.site.namespaces[self.title.namespace].talk.id&lt;br /&gt;
				)&lt;br /&gt;
			end&lt;br /&gt;
			if talkTitle and talkTitle.exists then&lt;br /&gt;
				local talkText = &#039;Relevant discussion may be found on&#039;&lt;br /&gt;
				if talkArgIsTalkPage then&lt;br /&gt;
					talkText = string.format(&lt;br /&gt;
						&#039;%s [[%s|%s]].&#039;,&lt;br /&gt;
						talkText,&lt;br /&gt;
						talk,&lt;br /&gt;
						talkTitle.prefixedText&lt;br /&gt;
					)&lt;br /&gt;
				else&lt;br /&gt;
					talkText = string.format(&lt;br /&gt;
						&#039;%s the [[%s#%s|talk page]].&#039;,&lt;br /&gt;
						talkText,&lt;br /&gt;
						talkTitle.prefixedText,&lt;br /&gt;
						talk&lt;br /&gt;
					)&lt;br /&gt;
				end&lt;br /&gt;
				self.talk = talkText&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		-- Get other values.&lt;br /&gt;
		self.fix = args.fix ~= &#039;&#039; and args.fix or nil&lt;br /&gt;
		local date&lt;br /&gt;
		if args.date and args.date ~= &#039;&#039; then&lt;br /&gt;
			date = args.date&lt;br /&gt;
		elseif args.date == &#039;&#039; and self.isTemplatePage then&lt;br /&gt;
			date = lang:formatDate(&#039;F Y&#039;)&lt;br /&gt;
		end&lt;br /&gt;
		if date then&lt;br /&gt;
			self.date = string.format(&amp;quot; &amp;lt;small class=&#039;date-container&#039;&amp;gt;&#039;&#039;(&amp;lt;span class=&#039;date&#039;&amp;gt;%s&amp;lt;/span&amp;gt;)&#039;&#039;&amp;lt;/small&amp;gt;&amp;quot;, date)&lt;br /&gt;
		end&lt;br /&gt;
		self.info = args.info&lt;br /&gt;
		if yesno(args.removalnotice) then&lt;br /&gt;
			self.removalNotice = cfg.removalNotice&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Set the non-collapsible text field. At the moment this is used by all box&lt;br /&gt;
	-- types other than ambox, and also by ambox when small=yes.&lt;br /&gt;
	if self.isSmall then&lt;br /&gt;
		self.text = args.smalltext or args.text&lt;br /&gt;
	else&lt;br /&gt;
		self.text = args.text&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Set the below row.&lt;br /&gt;
	self.below = cfg.below and args.below&lt;br /&gt;
&lt;br /&gt;
	-- General image settings.&lt;br /&gt;
	self.imageCellDiv = not self.isSmall and cfg.imageCellDiv&lt;br /&gt;
	self.imageEmptyCell = cfg.imageEmptyCell&lt;br /&gt;
	if cfg.imageEmptyCellStyle then&lt;br /&gt;
		self.imageEmptyCellStyle = &#039;border:none;padding:0px;width:1px&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Left image settings.&lt;br /&gt;
	local imageLeft = self.isSmall and args.smallimage or args.image&lt;br /&gt;
	if cfg.imageCheckBlank and imageLeft ~= &#039;blank&#039; and imageLeft ~= &#039;none&#039;&lt;br /&gt;
		or not cfg.imageCheckBlank and imageLeft ~= &#039;none&#039;&lt;br /&gt;
	then&lt;br /&gt;
		self.imageLeft = imageLeft&lt;br /&gt;
		if not imageLeft then&lt;br /&gt;
			local imageSize = self.isSmall&lt;br /&gt;
				and (cfg.imageSmallSize or &#039;30x30px&#039;)&lt;br /&gt;
				or &#039;40x40px&#039;&lt;br /&gt;
			self.imageLeft = string.format(&#039;[[File:%s|%s|link=|alt=]]&#039;, self.typeImage&lt;br /&gt;
				or &#039;Information icon4.svg&#039;, imageSize)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Right image settings.&lt;br /&gt;
	local imageRight = self.isSmall and args.smallimageright or args.imageright&lt;br /&gt;
	if not (cfg.imageRightNone and imageRight == &#039;none&#039;) then&lt;br /&gt;
		self.imageRight = imageRight&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:setMainspaceCategories()&lt;br /&gt;
	local args = self.args&lt;br /&gt;
	local cfg = self.cfg&lt;br /&gt;
&lt;br /&gt;
	if not cfg.allowMainspaceCategories then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local nums = {}&lt;br /&gt;
	for _, prefix in ipairs{&#039;cat&#039;, &#039;category&#039;, &#039;all&#039;} do&lt;br /&gt;
		args[prefix .. &#039;1&#039;] = args[prefix]&lt;br /&gt;
		nums = union(nums, getArgNums(args, prefix))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- The following is roughly equivalent to the old {{Ambox/category}}.&lt;br /&gt;
	local date = args.date&lt;br /&gt;
	date = type(date) == &#039;string&#039; and date&lt;br /&gt;
	local preposition = &#039;from&#039;&lt;br /&gt;
	for _, num in ipairs(nums) do&lt;br /&gt;
		local mainCat = args[&#039;cat&#039; .. tostring(num)]&lt;br /&gt;
			or args[&#039;category&#039; .. tostring(num)]&lt;br /&gt;
		local allCat = args[&#039;all&#039; .. tostring(num)]&lt;br /&gt;
		mainCat = type(mainCat) == &#039;string&#039; and mainCat&lt;br /&gt;
		allCat = type(allCat) == &#039;string&#039; and allCat&lt;br /&gt;
		if mainCat and date and date ~= &#039;&#039; then&lt;br /&gt;
			local catTitle = string.format(&#039;%s %s %s&#039;, mainCat, preposition, date)&lt;br /&gt;
			self:addCat(0, catTitle)&lt;br /&gt;
			catTitle = getTitleObject(&#039;Category:&#039; .. catTitle)&lt;br /&gt;
			if not catTitle or not catTitle.exists then&lt;br /&gt;
				self:addCat(0, &#039;Articles with invalid date parameter in template&#039;)&lt;br /&gt;
			end&lt;br /&gt;
		elseif mainCat and (not date or date == &#039;&#039;) then&lt;br /&gt;
			self:addCat(0, mainCat)&lt;br /&gt;
		end&lt;br /&gt;
		if allCat then&lt;br /&gt;
			self:addCat(0, allCat)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:setTemplateCategories()&lt;br /&gt;
	local args = self.args&lt;br /&gt;
	local cfg = self.cfg&lt;br /&gt;
&lt;br /&gt;
	-- Add template categories.&lt;br /&gt;
	if cfg.templateCategory then&lt;br /&gt;
		if cfg.templateCategoryRequireName then&lt;br /&gt;
			if self.isTemplatePage then&lt;br /&gt;
				self:addCat(10, cfg.templateCategory)&lt;br /&gt;
			end&lt;br /&gt;
		elseif not self.title.isSubpage then&lt;br /&gt;
			self:addCat(10, cfg.templateCategory)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add template error categories.&lt;br /&gt;
	if cfg.templateErrorCategory then&lt;br /&gt;
		local templateErrorCategory = cfg.templateErrorCategory&lt;br /&gt;
		local templateCat, templateSort&lt;br /&gt;
		if not self.name and not self.title.isSubpage then&lt;br /&gt;
			templateCat = templateErrorCategory&lt;br /&gt;
		elseif self.isTemplatePage then&lt;br /&gt;
			local paramsToCheck = cfg.templateErrorParamsToCheck or {}&lt;br /&gt;
			local count = 0&lt;br /&gt;
			for i, param in ipairs(paramsToCheck) do&lt;br /&gt;
				if not args[param] then&lt;br /&gt;
					count = count + 1&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			if count &amp;gt; 0 then&lt;br /&gt;
				templateCat = templateErrorCategory&lt;br /&gt;
				templateSort = tostring(count)&lt;br /&gt;
			end&lt;br /&gt;
			if self.categoryNums and #self.categoryNums &amp;gt; 0 then&lt;br /&gt;
				templateCat = templateErrorCategory&lt;br /&gt;
				templateSort = &#039;C&#039;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		self:addCat(10, templateCat, templateSort)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:setAllNamespaceCategories()&lt;br /&gt;
	-- Set categories for all namespaces.&lt;br /&gt;
	if self.isSubstituted then&lt;br /&gt;
		self:addCat(&#039;all&#039;, &#039;Pages with incorrectly substituted templates&#039;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:setCategories()&lt;br /&gt;
	if self.title.namespace == 0 then&lt;br /&gt;
		self:setMainspaceCategories()&lt;br /&gt;
	elseif self.title.namespace == 10 then&lt;br /&gt;
		self:setTemplateCategories()&lt;br /&gt;
	end&lt;br /&gt;
	self:setAllNamespaceCategories()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:renderCategories()&lt;br /&gt;
	if not self.hasCategories then&lt;br /&gt;
		-- No categories added, no need to pass them to Category handler so,&lt;br /&gt;
		-- if it was invoked, it would return the empty string.&lt;br /&gt;
		-- So we shortcut and return the empty string.&lt;br /&gt;
		return &amp;quot;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	-- Convert category tables to strings and pass them through&lt;br /&gt;
	-- [[Module:Category handler]].&lt;br /&gt;
	return require(&#039;Module:Category handler&#039;)._main{&lt;br /&gt;
		main = table.concat(self.categories[0] or {}),&lt;br /&gt;
		template = table.concat(self.categories[10] or {}),&lt;br /&gt;
		all = table.concat(self.categories.all or {}),&lt;br /&gt;
		nocat = self.args.nocat,&lt;br /&gt;
		page = self.args.page&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function MessageBox:export()&lt;br /&gt;
	local root = mw.html.create()&lt;br /&gt;
&lt;br /&gt;
	-- Add the subst check error.&lt;br /&gt;
	if self.isSubstituted and self.name then&lt;br /&gt;
		root:tag(&#039;b&#039;)&lt;br /&gt;
			:addClass(&#039;error&#039;)&lt;br /&gt;
			:wikitext(string.format(&lt;br /&gt;
				&#039;Template &amp;lt;code&amp;gt;%s[[Template:%s|%s]]%s&amp;lt;/code&amp;gt; has been incorrectly substituted.&#039;,&lt;br /&gt;
				mw.text.nowiki(&#039;{{&#039;), self.name, self.name, mw.text.nowiki(&#039;}}&#039;)&lt;br /&gt;
			))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add TemplateStyles&lt;br /&gt;
	root:wikitext(mw.getCurrentFrame():extensionTag{&lt;br /&gt;
		name = &#039;templatestyles&#039;,&lt;br /&gt;
		args = { src = TEMPLATE_STYLES:format(self.boxType) },&lt;br /&gt;
	})&lt;br /&gt;
&lt;br /&gt;
	-- Create the box table.&lt;br /&gt;
	local boxTable&lt;br /&gt;
	-- Check for fmbox because not all interface messages have mw-parser-output&lt;br /&gt;
	-- which is necessary for TemplateStyles. Add the wrapper class if it is and&lt;br /&gt;
	-- then start the actual mbox, else start the mbox.&lt;br /&gt;
	if self.boxType == &#039;fmbox&#039; then&lt;br /&gt;
		boxTable = root:tag(&#039;div&#039;)&lt;br /&gt;
			:addClass(&#039;mw-parser-output&#039;)&lt;br /&gt;
			:tag(&#039;table&#039;)&lt;br /&gt;
	else&lt;br /&gt;
		boxTable = root:tag(&#039;table&#039;)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	boxTable:attr(&#039;id&#039;, self.id or nil)&lt;br /&gt;
	for class, _ in pairs(self.classes or {}) do&lt;br /&gt;
		boxTable:addClass(class or nil)&lt;br /&gt;
	end&lt;br /&gt;
	boxTable&lt;br /&gt;
		:cssText(self.style or nil)&lt;br /&gt;
		:attr(&#039;role&#039;, &#039;presentation&#039;)&lt;br /&gt;
&lt;br /&gt;
	if self.attrs then&lt;br /&gt;
		boxTable:attr(self.attrs)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add the left-hand image.&lt;br /&gt;
	local row = boxTable:tag(&#039;tr&#039;)&lt;br /&gt;
	if self.imageLeft then&lt;br /&gt;
		local imageLeftCell = row:tag(&#039;td&#039;):addClass(&#039;mbox-image&#039;)&lt;br /&gt;
		if self.imageCellDiv then&lt;br /&gt;
			-- If we are using a div, redefine imageLeftCell so that the image&lt;br /&gt;
			-- is inside it. Divs use style=&amp;quot;width: 52px;&amp;quot;, which limits the&lt;br /&gt;
			-- image width to 52px. If any images in a div are wider than that,&lt;br /&gt;
			-- they may overlap with the text or cause other display problems.&lt;br /&gt;
			imageLeftCell = imageLeftCell:tag(&#039;div&#039;):css(&#039;width&#039;, &#039;52px&#039;)&lt;br /&gt;
		end&lt;br /&gt;
		imageLeftCell:wikitext(self.imageLeft or nil)&lt;br /&gt;
	elseif self.imageEmptyCell then&lt;br /&gt;
		-- Some message boxes define an empty cell if no image is specified, and&lt;br /&gt;
		-- some don&#039;t. The old template code in templates where empty cells are&lt;br /&gt;
		-- specified gives the following hint: &amp;quot;No image. Cell with some width&lt;br /&gt;
		-- or padding necessary for text cell to have 100% width.&amp;quot;&lt;br /&gt;
		row:tag(&#039;td&#039;)&lt;br /&gt;
			:addClass(&#039;mbox-empty-cell&#039;)&lt;br /&gt;
			:cssText(self.imageEmptyCellStyle or nil)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add the text.&lt;br /&gt;
	local textCell = row:tag(&#039;td&#039;):addClass(&#039;mbox-text&#039;)&lt;br /&gt;
	if self.useCollapsibleTextFields then&lt;br /&gt;
		-- The message box uses advanced text parameters that allow things to be&lt;br /&gt;
		-- collapsible. At the moment, only ambox uses this.&lt;br /&gt;
		textCell:cssText(self.textstyle or nil)&lt;br /&gt;
		local textCellDiv = textCell:tag(&#039;div&#039;)&lt;br /&gt;
		textCellDiv&lt;br /&gt;
			:addClass(&#039;mbox-text-span&#039;)&lt;br /&gt;
			:wikitext(self.issue or nil)&lt;br /&gt;
		if (self.talk or self.fix) and not self.isSmall then&lt;br /&gt;
			textCellDiv:tag(&#039;span&#039;)&lt;br /&gt;
				:addClass(&#039;hide-when-compact&#039;)&lt;br /&gt;
				:wikitext(self.talk and (&#039; &#039; .. self.talk) or nil)&lt;br /&gt;
				:wikitext(self.fix and (&#039; &#039; .. self.fix) or nil)&lt;br /&gt;
		end&lt;br /&gt;
		textCellDiv:wikitext(self.date and (&#039; &#039; .. self.date) or nil)&lt;br /&gt;
		if self.info and not self.isSmall then&lt;br /&gt;
			textCellDiv&lt;br /&gt;
				:tag(&#039;span&#039;)&lt;br /&gt;
				:addClass(&#039;hide-when-compact&#039;)&lt;br /&gt;
				:wikitext(self.info and (&#039; &#039; .. self.info) or nil)&lt;br /&gt;
		end&lt;br /&gt;
		if self.removalNotice then&lt;br /&gt;
			textCellDiv:tag(&#039;small&#039;)&lt;br /&gt;
				:addClass(&#039;hide-when-compact&#039;)&lt;br /&gt;
				:tag(&#039;i&#039;)&lt;br /&gt;
					:wikitext(string.format(&amp;quot; (%s)&amp;quot;, self.removalNotice))&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		-- Default text formatting - anything goes.&lt;br /&gt;
		textCell&lt;br /&gt;
			:cssText(self.textstyle or nil)&lt;br /&gt;
			:wikitext(self.text or nil)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add the right-hand image.&lt;br /&gt;
	if self.imageRight then&lt;br /&gt;
		local imageRightCell = row:tag(&#039;td&#039;):addClass(&#039;mbox-imageright&#039;)&lt;br /&gt;
		if self.imageCellDiv then&lt;br /&gt;
			-- If we are using a div, redefine imageRightCell so that the image&lt;br /&gt;
			-- is inside it.&lt;br /&gt;
			imageRightCell = imageRightCell:tag(&#039;div&#039;):css(&#039;width&#039;, &#039;52px&#039;)&lt;br /&gt;
		end&lt;br /&gt;
		imageRightCell&lt;br /&gt;
			:wikitext(self.imageRight or nil)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add the below row.&lt;br /&gt;
	if self.below then&lt;br /&gt;
		boxTable:tag(&#039;tr&#039;)&lt;br /&gt;
			:tag(&#039;td&#039;)&lt;br /&gt;
				:attr(&#039;colspan&#039;, self.imageRight and &#039;3&#039; or &#039;2&#039;)&lt;br /&gt;
				:addClass(&#039;mbox-text&#039;)&lt;br /&gt;
				:cssText(self.textstyle or nil)&lt;br /&gt;
				:wikitext(self.below or nil)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add error message for invalid type parameters.&lt;br /&gt;
	if self.invalidTypeError then&lt;br /&gt;
		root:tag(&#039;div&#039;)&lt;br /&gt;
			:css(&#039;text-align&#039;, &#039;center&#039;)&lt;br /&gt;
			:wikitext(string.format(&lt;br /&gt;
				&#039;This message box is using an invalid &amp;quot;type=%s&amp;quot; parameter and needs fixing.&#039;,&lt;br /&gt;
				self.type or &#039;&#039;&lt;br /&gt;
			))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add categories.&lt;br /&gt;
	root:wikitext(self:renderCategories() or nil)&lt;br /&gt;
&lt;br /&gt;
	return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Exports&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local p, mt = {}, {}&lt;br /&gt;
&lt;br /&gt;
function p._exportClasses()&lt;br /&gt;
	-- For testing.&lt;br /&gt;
	return {&lt;br /&gt;
		MessageBox = MessageBox&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(boxType, args, cfgTables)&lt;br /&gt;
	local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE))&lt;br /&gt;
	box:setParameters()&lt;br /&gt;
	box:setCategories()&lt;br /&gt;
	return box:export()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function mt.__index(t, k)&lt;br /&gt;
	return function (frame)&lt;br /&gt;
		if not getArgs then&lt;br /&gt;
			getArgs = require(&#039;Module:Arguments&#039;).getArgs&lt;br /&gt;
		end&lt;br /&gt;
		return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return setmetatable(p, mt)&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Module:Arguments&amp;diff=299</id>
		<title>Module:Arguments</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Module:Arguments&amp;diff=299"/>
		<updated>2026-05-17T11:55:15Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;-- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should not be -- called from #invoke directly.  local libraryUtil = require(&amp;#039;libraryUtil&amp;#039;) local checkType = libraryUtil.checkType  local arguments = {}  -- Generate four different tidyVal functions, so that we don&amp;#039;t have to check the -- options every time we call it.  local function tidyValDefault(key, val) 	if type(val) == &amp;#039;string&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- This module provides easy processing of arguments passed to Scribunto from&lt;br /&gt;
-- #invoke. It is intended for use by other Lua modules, and should not be&lt;br /&gt;
-- called from #invoke directly.&lt;br /&gt;
&lt;br /&gt;
local libraryUtil = require(&#039;libraryUtil&#039;)&lt;br /&gt;
local checkType = libraryUtil.checkType&lt;br /&gt;
&lt;br /&gt;
local arguments = {}&lt;br /&gt;
&lt;br /&gt;
-- Generate four different tidyVal functions, so that we don&#039;t have to check the&lt;br /&gt;
-- options every time we call it.&lt;br /&gt;
&lt;br /&gt;
local function tidyValDefault(key, val)&lt;br /&gt;
	if type(val) == &#039;string&#039; then&lt;br /&gt;
		val = val:match(&#039;^%s*(.-)%s*$&#039;)&lt;br /&gt;
		if val == &#039;&#039; then&lt;br /&gt;
			return nil&lt;br /&gt;
		else&lt;br /&gt;
			return val&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		return val&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function tidyValTrimOnly(key, val)&lt;br /&gt;
	if type(val) == &#039;string&#039; then&lt;br /&gt;
		return val:match(&#039;^%s*(.-)%s*$&#039;)&lt;br /&gt;
	else&lt;br /&gt;
		return val&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function tidyValRemoveBlanksOnly(key, val)&lt;br /&gt;
	if type(val) == &#039;string&#039; then&lt;br /&gt;
		if val:find(&#039;%S&#039;) then&lt;br /&gt;
			return val&lt;br /&gt;
		else&lt;br /&gt;
			return nil&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		return val&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function tidyValNoChange(key, val)&lt;br /&gt;
	return val&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function matchesTitle(given, title)&lt;br /&gt;
	local tp = type( given )&lt;br /&gt;
	return (tp == &#039;string&#039; or tp == &#039;number&#039;) and mw.title.new( given ).prefixedText == title&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local translate_mt = { __index = function(t, k) return k end }&lt;br /&gt;
&lt;br /&gt;
function arguments.getArgs(frame, options)&lt;br /&gt;
	checkType(&#039;getArgs&#039;, 1, frame, &#039;table&#039;, true)&lt;br /&gt;
	checkType(&#039;getArgs&#039;, 2, options, &#039;table&#039;, true)&lt;br /&gt;
	frame = frame or {}&lt;br /&gt;
	options = options or {}&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Set up argument translation.&lt;br /&gt;
	--]]&lt;br /&gt;
	options.translate = options.translate or {}&lt;br /&gt;
	if getmetatable(options.translate) == nil then&lt;br /&gt;
		setmetatable(options.translate, translate_mt)&lt;br /&gt;
	end&lt;br /&gt;
	if options.backtranslate == nil then&lt;br /&gt;
		options.backtranslate = {}&lt;br /&gt;
		for k,v in pairs(options.translate) do&lt;br /&gt;
			options.backtranslate[v] = k&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if options.backtranslate and getmetatable(options.backtranslate) == nil then&lt;br /&gt;
		setmetatable(options.backtranslate, {&lt;br /&gt;
			__index = function(t, k)&lt;br /&gt;
				if options.translate[k] ~= k then&lt;br /&gt;
					return nil&lt;br /&gt;
				else&lt;br /&gt;
					return k&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		})&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Get the argument tables. If we were passed a valid frame object, get the&lt;br /&gt;
	-- frame arguments (fargs) and the parent frame arguments (pargs), depending&lt;br /&gt;
	-- on the options set and on the parent frame&#039;s availability. If we weren&#039;t&lt;br /&gt;
	-- passed a valid frame object, we are being called from another Lua module&lt;br /&gt;
	-- or from the debug console, so assume that we were passed a table of args&lt;br /&gt;
	-- directly, and assign it to a new variable (luaArgs).&lt;br /&gt;
	--]]&lt;br /&gt;
	local fargs, pargs, luaArgs&lt;br /&gt;
	if type(frame.args) == &#039;table&#039; and type(frame.getParent) == &#039;function&#039; then&lt;br /&gt;
		if options.wrappers then&lt;br /&gt;
			--[[&lt;br /&gt;
			-- The wrappers option makes Module:Arguments look up arguments in&lt;br /&gt;
			-- either the frame argument table or the parent argument table, but&lt;br /&gt;
			-- not both. This means that users can use either the #invoke syntax&lt;br /&gt;
			-- or a wrapper template without the loss of performance associated&lt;br /&gt;
			-- with looking arguments up in both the frame and the parent frame.&lt;br /&gt;
			-- Module:Arguments will look up arguments in the parent frame&lt;br /&gt;
			-- if it finds the parent frame&#039;s title in options.wrapper;&lt;br /&gt;
			-- otherwise it will look up arguments in the frame object passed&lt;br /&gt;
			-- to getArgs.&lt;br /&gt;
			--]]&lt;br /&gt;
			local parent = frame:getParent()&lt;br /&gt;
			if not parent then&lt;br /&gt;
				fargs = frame.args&lt;br /&gt;
			else&lt;br /&gt;
				local title = parent:getTitle():gsub(&#039;/sandbox$&#039;, &#039;&#039;)&lt;br /&gt;
				local found = false&lt;br /&gt;
				if matchesTitle(options.wrappers, title) then&lt;br /&gt;
					found = true&lt;br /&gt;
				elseif type(options.wrappers) == &#039;table&#039; then&lt;br /&gt;
					for _,v in pairs(options.wrappers) do&lt;br /&gt;
						if matchesTitle(v, title) then&lt;br /&gt;
							found = true&lt;br /&gt;
							break&lt;br /&gt;
						end&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
&lt;br /&gt;
				-- We test for false specifically here so that nil (the default) acts like true.&lt;br /&gt;
				if found or options.frameOnly == false then&lt;br /&gt;
					pargs = parent.args&lt;br /&gt;
				end&lt;br /&gt;
				if not found or options.parentOnly == false then&lt;br /&gt;
					fargs = frame.args&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			-- options.wrapper isn&#039;t set, so check the other options.&lt;br /&gt;
			if not options.parentOnly then&lt;br /&gt;
				fargs = frame.args&lt;br /&gt;
			end&lt;br /&gt;
			if not options.frameOnly then&lt;br /&gt;
				local parent = frame:getParent()&lt;br /&gt;
				pargs = parent and parent.args or nil&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		if options.parentFirst then&lt;br /&gt;
			fargs, pargs = pargs, fargs&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		luaArgs = frame&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Set the order of precedence of the argument tables. If the variables are&lt;br /&gt;
	-- nil, nothing will be added to the table, which is how we avoid clashes&lt;br /&gt;
	-- between the frame/parent args and the Lua args.&lt;br /&gt;
	local argTables = {fargs}&lt;br /&gt;
	argTables[#argTables + 1] = pargs&lt;br /&gt;
	argTables[#argTables + 1] = luaArgs&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Generate the tidyVal function. If it has been specified by the user, we&lt;br /&gt;
	-- use that; if not, we choose one of four functions depending on the&lt;br /&gt;
	-- options chosen. This is so that we don&#039;t have to call the options table&lt;br /&gt;
	-- every time the function is called.&lt;br /&gt;
	--]]&lt;br /&gt;
	local tidyVal = options.valueFunc&lt;br /&gt;
	if tidyVal then&lt;br /&gt;
		if type(tidyVal) ~= &#039;function&#039; then&lt;br /&gt;
			error(&lt;br /&gt;
				&amp;quot;bad value assigned to option &#039;valueFunc&#039;&amp;quot;&lt;br /&gt;
					.. &#039;(function expected, got &#039;&lt;br /&gt;
					.. type(tidyVal)&lt;br /&gt;
					.. &#039;)&#039;,&lt;br /&gt;
				2&lt;br /&gt;
			)&lt;br /&gt;
		end&lt;br /&gt;
	elseif options.trim ~= false then&lt;br /&gt;
		if options.removeBlanks ~= false then&lt;br /&gt;
			tidyVal = tidyValDefault&lt;br /&gt;
		else&lt;br /&gt;
			tidyVal = tidyValTrimOnly&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		if options.removeBlanks ~= false then&lt;br /&gt;
			tidyVal = tidyValRemoveBlanksOnly&lt;br /&gt;
		else&lt;br /&gt;
			tidyVal = tidyValNoChange&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Set up the args, metaArgs and nilArgs tables. args will be the one&lt;br /&gt;
	-- accessed from functions, and metaArgs will hold the actual arguments. Nil&lt;br /&gt;
	-- arguments are memoized in nilArgs, and the metatable connects all of them&lt;br /&gt;
	-- together.&lt;br /&gt;
	--]]&lt;br /&gt;
	local args, metaArgs, nilArgs, metatable = {}, {}, {}, {}&lt;br /&gt;
	setmetatable(args, metatable)&lt;br /&gt;
&lt;br /&gt;
	local function mergeArgs(tables)&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Accepts multiple tables as input and merges their keys and values&lt;br /&gt;
		-- into one table. If a value is already present it is not overwritten;&lt;br /&gt;
		-- tables listed earlier have precedence. We are also memoizing nil&lt;br /&gt;
		-- values, which can be overwritten if they are &#039;s&#039; (soft).&lt;br /&gt;
		--]]&lt;br /&gt;
		for _, t in ipairs(tables) do&lt;br /&gt;
			for key, val in pairs(t) do&lt;br /&gt;
				if metaArgs[key] == nil and nilArgs[key] ~= &#039;h&#039; then&lt;br /&gt;
					local tidiedVal = tidyVal(key, val)&lt;br /&gt;
					if tidiedVal == nil then&lt;br /&gt;
						nilArgs[key] = &#039;s&#039;&lt;br /&gt;
					else&lt;br /&gt;
						metaArgs[key] = tidiedVal&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Define metatable behaviour. Arguments are memoized in the metaArgs table,&lt;br /&gt;
	-- and are only fetched from the argument tables once. Fetching arguments&lt;br /&gt;
	-- from the argument tables is the most resource-intensive step in this&lt;br /&gt;
	-- module, so we try and avoid it where possible. For this reason, nil&lt;br /&gt;
	-- arguments are also memoized, in the nilArgs table. Also, we keep a record&lt;br /&gt;
	-- in the metatable of when pairs and ipairs have been called, so we do not&lt;br /&gt;
	-- run pairs and ipairs on the argument tables more than once. We also do&lt;br /&gt;
	-- not run ipairs on fargs and pargs if pairs has already been run, as all&lt;br /&gt;
	-- the arguments will already have been copied over.&lt;br /&gt;
	--]]&lt;br /&gt;
&lt;br /&gt;
	metatable.__index = function (t, key)&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Fetches an argument when the args table is indexed. First we check&lt;br /&gt;
		-- to see if the value is memoized, and if not we try and fetch it from&lt;br /&gt;
		-- the argument tables. When we check memoization, we need to check&lt;br /&gt;
		-- metaArgs before nilArgs, as both can be non-nil at the same time.&lt;br /&gt;
		-- If the argument is not present in metaArgs, we also check whether&lt;br /&gt;
		-- pairs has been run yet. If pairs has already been run, we return nil.&lt;br /&gt;
		-- This is because all the arguments will have already been copied into&lt;br /&gt;
		-- metaArgs by the mergeArgs function, meaning that any other arguments&lt;br /&gt;
		-- must be nil.&lt;br /&gt;
		--]]&lt;br /&gt;
		if type(key) == &#039;string&#039; then&lt;br /&gt;
			key = options.translate[key]&lt;br /&gt;
		end&lt;br /&gt;
		local val = metaArgs[key]&lt;br /&gt;
		if val ~= nil then&lt;br /&gt;
			return val&lt;br /&gt;
		elseif metatable.donePairs or nilArgs[key] then&lt;br /&gt;
			return nil&lt;br /&gt;
		end&lt;br /&gt;
		for _, argTable in ipairs(argTables) do&lt;br /&gt;
			local argTableVal = tidyVal(key, argTable[key])&lt;br /&gt;
			if argTableVal ~= nil then&lt;br /&gt;
				metaArgs[key] = argTableVal&lt;br /&gt;
				return argTableVal&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		nilArgs[key] = &#039;h&#039;&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	metatable.__newindex = function (t, key, val)&lt;br /&gt;
		-- This function is called when a module tries to add a new value to the&lt;br /&gt;
		-- args table, or tries to change an existing value.&lt;br /&gt;
		if type(key) == &#039;string&#039; then&lt;br /&gt;
			key = options.translate[key]&lt;br /&gt;
		end&lt;br /&gt;
		if options.readOnly then&lt;br /&gt;
			error(&lt;br /&gt;
				&#039;could not write to argument table key &amp;quot;&#039;&lt;br /&gt;
					.. tostring(key)&lt;br /&gt;
					.. &#039;&amp;quot;; the table is read-only&#039;,&lt;br /&gt;
				2&lt;br /&gt;
			)&lt;br /&gt;
		elseif options.noOverwrite and args[key] ~= nil then&lt;br /&gt;
			error(&lt;br /&gt;
				&#039;could not write to argument table key &amp;quot;&#039;&lt;br /&gt;
					.. tostring(key)&lt;br /&gt;
					.. &#039;&amp;quot;; overwriting existing arguments is not permitted&#039;,&lt;br /&gt;
				2&lt;br /&gt;
			)&lt;br /&gt;
		elseif val == nil then&lt;br /&gt;
			--[[&lt;br /&gt;
			-- If the argument is to be overwritten with nil, we need to erase&lt;br /&gt;
			-- the value in metaArgs, so that __index, __pairs and __ipairs do&lt;br /&gt;
			-- not use a previous existing value, if present; and we also need&lt;br /&gt;
			-- to memoize the nil in nilArgs, so that the value isn&#039;t looked&lt;br /&gt;
			-- up in the argument tables if it is accessed again.&lt;br /&gt;
			--]]&lt;br /&gt;
			metaArgs[key] = nil&lt;br /&gt;
			nilArgs[key] = &#039;h&#039;&lt;br /&gt;
		else&lt;br /&gt;
			metaArgs[key] = val&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local function translatenext(invariant)&lt;br /&gt;
		local k, v = next(invariant.t, invariant.k)&lt;br /&gt;
		invariant.k = k&lt;br /&gt;
		if k == nil then&lt;br /&gt;
			return nil&lt;br /&gt;
		elseif type(k) ~= &#039;string&#039; or not options.backtranslate then&lt;br /&gt;
			return k, v&lt;br /&gt;
		else&lt;br /&gt;
			local backtranslate = options.backtranslate[k]&lt;br /&gt;
			if backtranslate == nil then&lt;br /&gt;
				-- Skip this one. This is a tail call, so this won&#039;t cause stack overflow&lt;br /&gt;
				return translatenext(invariant)&lt;br /&gt;
			else&lt;br /&gt;
				return backtranslate, v&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	metatable.__pairs = function ()&lt;br /&gt;
		-- Called when pairs is run on the args table.&lt;br /&gt;
		if not metatable.donePairs then&lt;br /&gt;
			mergeArgs(argTables)&lt;br /&gt;
			metatable.donePairs = true&lt;br /&gt;
		end&lt;br /&gt;
		return translatenext, { t = metaArgs }&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local function inext(t, i)&lt;br /&gt;
		-- This uses our __index metamethod&lt;br /&gt;
		local v = t[i + 1]&lt;br /&gt;
		if v ~= nil then&lt;br /&gt;
			return i + 1, v&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	metatable.__ipairs = function (t)&lt;br /&gt;
		-- Called when ipairs is run on the args table.&lt;br /&gt;
		return inext, t, 0&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return args&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return arguments&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Template:Documentation&amp;diff=298</id>
		<title>Template:Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Template:Documentation&amp;diff=298"/>
		<updated>2026-05-17T11:54:44Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{documentation}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Template:Documentation/doc&amp;diff=297</id>
		<title>Template:Documentation/doc</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Template:Documentation/doc&amp;diff=297"/>
		<updated>2026-05-17T11:53:58Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;{{Documentation subpage}} {{Lua|Module:Documentation}} {{used in system}} ==Usage== ===Customizing display=== Overrides exist to customize the output in special cases: * &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;documentation|&amp;#039;&amp;#039;&amp;#039;heading&amp;#039;&amp;#039;&amp;#039;=}}: change the text of the &amp;quot;documentation&amp;quot; heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.  ==Rationale== This template allows any page to use any documentation page, and makes it possible to p...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{Lua|Module:Documentation}}&lt;br /&gt;
{{used in system}}&lt;br /&gt;
==Usage==&lt;br /&gt;
===Customizing display===&lt;br /&gt;
Overrides exist to customize the output in special cases:&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;documentation|&#039;&#039;&#039;heading&#039;&#039;&#039;=}}: change the text of the &amp;quot;documentation&amp;quot; heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.&lt;br /&gt;
&lt;br /&gt;
==Rationale==&lt;br /&gt;
This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template&#039;s documentation, categories, and interwiki links. It also reduces server resources by circumventing a [[:en:Wikipedia:Template limits|technical limitation of templates]] (see a [{{fullurl:en:Project:Village pump (technical)|diff=prev&amp;amp;oldid=69888944}} developer&#039;s explanation]).&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tiw|documentation subpage}}&lt;br /&gt;
* {{tim|Documentation}}&lt;br /&gt;
* [[w:Wikipedia:Template documentation]]&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Template documentation| ]]&lt;br /&gt;
[[Category:Formatting templates|Template documentation]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;content&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;defines the body of the documentation part&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;heading&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;allows to customise the header of the documentation part&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;This template allows to generate the documentation part of a given template.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Template:Documentation&amp;diff=296</id>
		<title>Template:Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Template:Documentation&amp;diff=296"/>
		<updated>2026-05-17T11:52:34Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Module:Documentation/config&amp;diff=295</id>
		<title>Module:Documentation/config</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Module:Documentation/config&amp;diff=295"/>
		<updated>2026-05-17T11:51:37Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;---------------------------------------------------------------------------------------------------- -- --                               Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----------------------------------------------------------------------------------------------------&lt;br /&gt;
--&lt;br /&gt;
--                               Configuration for Module:Documentation&lt;br /&gt;
--&lt;br /&gt;
-- Here you can set the values of the parameters and messages used in Module:Documentation to&lt;br /&gt;
-- localise it to your wiki and your language. Unless specified otherwise, values given here&lt;br /&gt;
-- should be string values.&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local _format = require(&#039;Module:TNT&#039;).format&lt;br /&gt;
local function format(id)&lt;br /&gt;
	return _format(&#039;I18n/Documentation&#039;, id)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local cfg = {} -- Do not edit this line.&lt;br /&gt;
&lt;br /&gt;
cfg[&#039;templatestyles-scr&#039;] = &#039;Module:Documentation/styles.css&#039;&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Protection template configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;protection-template&#039;]&lt;br /&gt;
-- The name of the template that displays the protection icon (a padlock on enwiki).&lt;br /&gt;
cfg[&#039;protection-template&#039;] = &#039;pp-template&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;protection-reason-edit&#039;]&lt;br /&gt;
-- The protection reason for edit-protected templates to pass to&lt;br /&gt;
-- [[Module:Protection banner]].&lt;br /&gt;
cfg[&#039;protection-reason-edit&#039;] = &#039;template&#039;&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg[&#039;protection-template-args&#039;]&lt;br /&gt;
-- Any arguments to send to the protection template. This should be a Lua table.&lt;br /&gt;
-- For example, if the protection template is &amp;quot;pp-template&amp;quot;, and the wikitext template invocation&lt;br /&gt;
-- looks like &amp;quot;{{pp-template|docusage=yes}}&amp;quot;, then this table should look like &amp;quot;{docusage = &#039;yes&#039;}&amp;quot;.&lt;br /&gt;
 --]]&lt;br /&gt;
 cfg[&#039;protection-template-args&#039;] = {docusage = &#039;yes&#039;}&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Sandbox notice configuration&lt;br /&gt;
--&lt;br /&gt;
-- On sandbox pages the module can display a template notifying users that the current page is a&lt;br /&gt;
-- sandbox, and the location of test cases pages, etc. The module decides whether the page is a&lt;br /&gt;
-- sandbox or not based on the value of cfg[&#039;sandbox-subpage&#039;]. The following settings configure the&lt;br /&gt;
-- messages that the notices contains.&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;sandbox-notice-image&#039;]&lt;br /&gt;
-- The image displayed in the sandbox notice.&lt;br /&gt;
cfg[&#039;sandbox-notice-image&#039;] = &#039;[[File:Edit In Sandbox Icon - Color.svg|40px|alt=|link=]]&#039;&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg[&#039;sandbox-notice-pagetype-template&#039;]&lt;br /&gt;
-- cfg[&#039;sandbox-notice-pagetype-module&#039;]&lt;br /&gt;
-- cfg[&#039;sandbox-notice-pagetype-other&#039;]&lt;br /&gt;
-- The page type of the sandbox page. The message that is displayed depends on the current subject&lt;br /&gt;
-- namespace. This message is used in either cfg[&#039;sandbox-notice-blurb&#039;] or&lt;br /&gt;
-- cfg[&#039;sandbox-notice-diff-blurb&#039;].&lt;br /&gt;
--]]&lt;br /&gt;
cfg[&#039;sandbox-notice-pagetype-template&#039;] = format(&#039;sandbox-notice-pagetype-template&#039;)&lt;br /&gt;
cfg[&#039;sandbox-notice-pagetype-module&#039;] = format(&#039;sandbox-notice-pagetype-module&#039;)&lt;br /&gt;
cfg[&#039;sandbox-notice-pagetype-other&#039;] = format(&#039;sandbox-notice-pagetype-other&#039;)&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg[&#039;sandbox-notice-blurb&#039;]&lt;br /&gt;
-- cfg[&#039;sandbox-notice-diff-blurb&#039;]&lt;br /&gt;
-- cfg[&#039;sandbox-notice-diff-display&#039;]&lt;br /&gt;
-- Either cfg[&#039;sandbox-notice-blurb&#039;] or cfg[&#039;sandbox-notice-diff-blurb&#039;] is the opening sentence&lt;br /&gt;
-- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page&lt;br /&gt;
-- type, which is either cfg[&#039;sandbox-notice-pagetype-template&#039;],&lt;br /&gt;
-- cfg[&#039;sandbox-notice-pagetype-module&#039;] or cfg[&#039;sandbox-notice-pagetype-other&#039;] depending what&lt;br /&gt;
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between&lt;br /&gt;
-- the sandbox and the main template. The display value of the diff link is set by &lt;br /&gt;
-- cfg[&#039;sandbox-notice-compare-link-display&#039;].&lt;br /&gt;
--]]&lt;br /&gt;
cfg[&#039;sandbox-notice-blurb&#039;] = format(&#039;sandbox-notice-blurb&#039;)&lt;br /&gt;
cfg[&#039;sandbox-notice-diff-blurb&#039;] = format(&#039;sandbox-notice-diff-blurb&#039;)&lt;br /&gt;
cfg[&#039;sandbox-notice-compare-link-display&#039;] = format(&#039;sandbox-notice-compare-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg[&#039;sandbox-notice-testcases-blurb&#039;]&lt;br /&gt;
-- cfg[&#039;sandbox-notice-testcases-link-display&#039;]&lt;br /&gt;
-- cfg[&#039;sandbox-notice-testcases-run-blurb&#039;]&lt;br /&gt;
-- cfg[&#039;sandbox-notice-testcases-run-link-display&#039;]&lt;br /&gt;
-- cfg[&#039;sandbox-notice-testcases-blurb&#039;] is a sentence notifying the user that there is a test cases page&lt;br /&gt;
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.&lt;br /&gt;
-- cfg[&#039;sandbox-notice-testcases-link-display&#039;] is the display value for that link.&lt;br /&gt;
-- cfg[&#039;sandbox-notice-testcases-run-blurb&#039;] is a sentence notifying the user that there is a test cases page&lt;br /&gt;
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test&lt;br /&gt;
-- cases page, and $2 is a link to the page to run it.&lt;br /&gt;
-- cfg[&#039;sandbox-notice-testcases-run-link-display&#039;] is the display value for the link to run the test&lt;br /&gt;
-- cases.&lt;br /&gt;
--]]&lt;br /&gt;
cfg[&#039;sandbox-notice-testcases-blurb&#039;] = format(&#039;sandbox-notice-testcases-blurb&#039;)&lt;br /&gt;
cfg[&#039;sandbox-notice-testcases-link-display&#039;] = format(&#039;sandbox-notice-testcases-link-display&#039;)&lt;br /&gt;
cfg[&#039;sandbox-notice-testcases-run-blurb&#039;] = format(&#039;sandbox-notice-testcases-run-blurb&#039;)&lt;br /&gt;
cfg[&#039;sandbox-notice-testcases-run-link-display&#039;] = format(&#039;sandbox-notice-testcases-run-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;sandbox-category&#039;]&lt;br /&gt;
-- A category to add to all template sandboxes.&lt;br /&gt;
cfg[&#039;sandbox-category&#039;] = &#039;Template sandboxes&#039;&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Start box configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;documentation-icon-wikitext&#039;]&lt;br /&gt;
-- The wikitext for the icon shown at the top of the template.&lt;br /&gt;
cfg[&#039;documentation-icon-wikitext&#039;] = &#039;[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=Documentation icon]]&#039;&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Link box (end box) configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;transcluded-from-blurb&#039;]&lt;br /&gt;
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.&lt;br /&gt;
cfg[&#039;transcluded-from-blurb&#039;] = format(&#039;transcluded-from-blurb&#039;)&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg[&#039;create-module-doc-blurb&#039;]&lt;br /&gt;
-- Notice displayed in the module namespace when the documentation subpage does not exist.&lt;br /&gt;
-- $1 is a link to create the documentation page with the preload cfg[&#039;module-preload&#039;] and the&lt;br /&gt;
-- display cfg[&#039;create-link-display&#039;].&lt;br /&gt;
--]]&lt;br /&gt;
cfg[&#039;create-module-doc-blurb&#039;] = format(&#039;create-module-doc-blurb&#039;)&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Experiment blurb configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg[&#039;experiment-blurb-template&#039;]&lt;br /&gt;
-- cfg[&#039;experiment-blurb-module&#039;]&lt;br /&gt;
-- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages.&lt;br /&gt;
-- It is only shown in the template and module namespaces. With the default English settings, it&lt;br /&gt;
-- might look like this:&lt;br /&gt;
--&lt;br /&gt;
-- Editors can experiment in this template&#039;s sandbox (edit | diff) and testcases (edit) pages.&lt;br /&gt;
--&lt;br /&gt;
-- In this example, &amp;quot;sandbox&amp;quot;, &amp;quot;edit&amp;quot;, &amp;quot;diff&amp;quot;, &amp;quot;testcases&amp;quot;, and &amp;quot;edit&amp;quot; would all be links.&lt;br /&gt;
--&lt;br /&gt;
-- There are two versions, cfg[&#039;experiment-blurb-template&#039;] and cfg[&#039;experiment-blurb-module&#039;], depending&lt;br /&gt;
-- on what namespace we are in.&lt;br /&gt;
-- &lt;br /&gt;
-- Parameters:&lt;br /&gt;
--&lt;br /&gt;
-- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format:&lt;br /&gt;
--&lt;br /&gt;
--     cfg[&#039;sandbox-link-display&#039;] (cfg[&#039;sandbox-edit-link-display&#039;] | cfg[&#039;compare-link-display&#039;])&lt;br /&gt;
-- &lt;br /&gt;
-- If the sandbox doesn&#039;t exist, it is in the format:&lt;br /&gt;
--&lt;br /&gt;
--     cfg[&#039;sandbox-link-display&#039;] (cfg[&#039;sandbox-create-link-display&#039;] | cfg[&#039;mirror-link-display&#039;])&lt;br /&gt;
-- &lt;br /&gt;
-- The link for cfg[&#039;sandbox-create-link-display&#039;] link preloads the page with cfg[&#039;template-sandbox-preload&#039;]&lt;br /&gt;
-- or cfg[&#039;module-sandbox-preload&#039;], depending on the current namespace. The link for cfg[&#039;mirror-link-display&#039;]&lt;br /&gt;
-- loads a default edit summary of cfg[&#039;mirror-edit-summary&#039;].&lt;br /&gt;
--&lt;br /&gt;
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format:&lt;br /&gt;
--&lt;br /&gt;
--     cfg[&#039;testcases-link-display&#039;] (cfg[&#039;testcases-edit-link-display&#039;])&lt;br /&gt;
--&lt;br /&gt;
-- If the test cases page doesn&#039;t exist, it is in the format:&lt;br /&gt;
-- &lt;br /&gt;
--     cfg[&#039;testcases-link-display&#039;] (cfg[&#039;testcases-create-link-display&#039;])&lt;br /&gt;
--&lt;br /&gt;
-- If the test cases page doesn&#039;t exist, the link for cfg[&#039;testcases-create-link-display&#039;] preloads the&lt;br /&gt;
-- page with cfg[&#039;template-testcases-preload&#039;] or cfg[&#039;module-testcases-preload&#039;], depending on the current&lt;br /&gt;
-- namespace.&lt;br /&gt;
--]]&lt;br /&gt;
cfg[&#039;experiment-blurb-template&#039;] = format(&#039;experiment-blurb-template&#039;)&lt;br /&gt;
cfg[&#039;experiment-blurb-module&#039;] = format(&#039;experiment-blurb-module&#039;)&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Sandbox link configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;sandbox-subpage&#039;]&lt;br /&gt;
-- The name of the template subpage typically used for sandboxes.&lt;br /&gt;
cfg[&#039;sandbox-subpage&#039;] = &#039;sandbox&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;template-sandbox-preload&#039;]&lt;br /&gt;
-- Preload file for template sandbox pages.&lt;br /&gt;
cfg[&#039;template-sandbox-preload&#039;] = &#039;Template:Documentation/preload-sandbox&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;module-sandbox-preload&#039;]&lt;br /&gt;
-- Preload file for Lua module sandbox pages.&lt;br /&gt;
cfg[&#039;module-sandbox-preload&#039;] = &#039;Template:Documentation/preload-module-sandbox&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;sandbox-link-display&#039;]&lt;br /&gt;
-- The text to display for &amp;quot;sandbox&amp;quot; links.&lt;br /&gt;
cfg[&#039;sandbox-link-display&#039;] = format(&#039;sandbox-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;sandbox-edit-link-display&#039;]&lt;br /&gt;
-- The text to display for sandbox &amp;quot;edit&amp;quot; links.&lt;br /&gt;
cfg[&#039;sandbox-edit-link-display&#039;] = format(&#039;sandbox-edit-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;sandbox-create-link-display&#039;]&lt;br /&gt;
-- The text to display for sandbox &amp;quot;create&amp;quot; links.&lt;br /&gt;
cfg[&#039;sandbox-create-link-display&#039;] = format(&#039;sandbox-create-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;compare-link-display&#039;]&lt;br /&gt;
-- The text to display for &amp;quot;compare&amp;quot; links.&lt;br /&gt;
cfg[&#039;compare-link-display&#039;] = format(&#039;compare-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;mirror-edit-summary&#039;]&lt;br /&gt;
-- The default edit summary to use when a user clicks the &amp;quot;mirror&amp;quot; link. $1 is a wikilink to the&lt;br /&gt;
-- template page.&lt;br /&gt;
cfg[&#039;mirror-edit-summary&#039;] = &#039;Create sandbox version of $1&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;mirror-link-display&#039;]&lt;br /&gt;
-- The text to display for &amp;quot;mirror&amp;quot; links.&lt;br /&gt;
cfg[&#039;mirror-link-display&#039;] = format(&#039;mirror-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;mirror-link-preload&#039;]&lt;br /&gt;
-- The page to preload when a user clicks the &amp;quot;mirror&amp;quot; link.&lt;br /&gt;
cfg[&#039;mirror-link-preload&#039;] = &#039;Template:Documentation/mirror&#039;&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Test cases link configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;testcases-subpage&#039;]&lt;br /&gt;
-- The name of the template subpage typically used for test cases.&lt;br /&gt;
cfg[&#039;testcases-subpage&#039;] = &#039;testcases&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;template-testcases-preload&#039;]&lt;br /&gt;
-- Preload file for template test cases pages.&lt;br /&gt;
cfg[&#039;template-testcases-preload&#039;] = &#039;Template:Documentation/preload-testcases&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;module-testcases-preload&#039;]&lt;br /&gt;
-- Preload file for Lua module test cases pages.&lt;br /&gt;
cfg[&#039;module-testcases-preload&#039;] = &#039;Template:Documentation/preload-module-testcases&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;testcases-link-display&#039;]&lt;br /&gt;
-- The text to display for &amp;quot;testcases&amp;quot; links.&lt;br /&gt;
cfg[&#039;testcases-link-display&#039;] = format(&#039;testcases-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;testcases-edit-link-display&#039;]&lt;br /&gt;
-- The text to display for test cases &amp;quot;edit&amp;quot; links.&lt;br /&gt;
cfg[&#039;testcases-edit-link-display&#039;] = format(&#039;testcases-edit-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;testcases-create-link-display&#039;]&lt;br /&gt;
-- The text to display for test cases &amp;quot;create&amp;quot; links.&lt;br /&gt;
cfg[&#039;testcases-create-link-display&#039;] = format(&#039;testcases-create-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Add categories blurb configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg[&#039;add-categories-blurb&#039;]&lt;br /&gt;
-- Text to direct users to add categories to the /doc subpage. Not used if the &amp;quot;content&amp;quot; or&lt;br /&gt;
-- &amp;quot;docname fed&amp;quot; arguments are set, as then it is not clear where to add the categories. $1 is a&lt;br /&gt;
-- link to the /doc subpage with a display value of cfg[&#039;doc-link-display&#039;].&lt;br /&gt;
--]]&lt;br /&gt;
cfg[&#039;add-categories-blurb&#039;] = format(&#039;add-categories-blurb&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;doc-link-display&#039;]&lt;br /&gt;
-- The text to display when linking to the /doc subpage.&lt;br /&gt;
cfg[&#039;doc-link-display&#039;] = &#039;/doc&#039;&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Subpages link configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg[&#039;subpages-blurb&#039;]&lt;br /&gt;
-- The &amp;quot;Subpages of this template&amp;quot; blurb. $1 is a link to the main template&#039;s subpages with a&lt;br /&gt;
-- display value of cfg[&#039;subpages-link-display&#039;]. In the English version this blurb is simply&lt;br /&gt;
-- the link followed by a period, and the link display provides the actual text.&lt;br /&gt;
--]]&lt;br /&gt;
cfg[&#039;subpages-blurb&#039;] = format(&#039;subpages-blurb&#039;)&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
-- cfg[&#039;subpages-link-display&#039;]&lt;br /&gt;
-- The text to display for the &amp;quot;subpages of this page&amp;quot; link. $1 is cfg[&#039;template-pagetype&#039;],&lt;br /&gt;
-- cfg[&#039;module-pagetype&#039;] or cfg[&#039;default-pagetype&#039;], depending on whether the current page is in&lt;br /&gt;
-- the template namespace, the module namespace, or another namespace.&lt;br /&gt;
--]]&lt;br /&gt;
cfg[&#039;subpages-link-display&#039;] = format(&#039;subpages-link-display&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;template-pagetype&#039;]&lt;br /&gt;
-- The pagetype to display for template pages.&lt;br /&gt;
cfg[&#039;template-pagetype&#039;] = format(&#039;template-pagetype&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;module-pagetype&#039;]&lt;br /&gt;
-- The pagetype to display for Lua module pages.&lt;br /&gt;
cfg[&#039;module-pagetype&#039;] = format(&#039;module-pagetype&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;default-pagetype&#039;]&lt;br /&gt;
-- The pagetype to display for pages other than templates or Lua modules.&lt;br /&gt;
cfg[&#039;default-pagetype&#039;] = format(&#039;default-pagetype&#039;)&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Doc link configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;doc-subpage&#039;]&lt;br /&gt;
-- The name of the subpage typically used for documentation pages.&lt;br /&gt;
cfg[&#039;doc-subpage&#039;] = &#039;doc&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;file-docpage-preload&#039;]&lt;br /&gt;
-- Preload file for documentation page in the file namespace.&lt;br /&gt;
cfg[&#039;file-docpage-preload&#039;] = &#039;Template:Documentation/preload-filespace&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;docpage-preload&#039;]&lt;br /&gt;
-- Preload file for template documentation pages in all namespaces.&lt;br /&gt;
cfg[&#039;docpage-preload&#039;] = &#039;Template:Documentation/preload&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;module-preload&#039;]&lt;br /&gt;
-- Preload file for Lua module documentation pages.&lt;br /&gt;
cfg[&#039;module-preload&#039;] = &#039;Template:Documentation/preload-module-doc&#039;&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Print version configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;print-subpage&#039;]&lt;br /&gt;
-- The name of the template subpage used for print versions.&lt;br /&gt;
cfg[&#039;print-subpage&#039;] = &#039;Print&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;print-link-display&#039;]&lt;br /&gt;
-- The text to display when linking to the /Print subpage.&lt;br /&gt;
cfg[&#039;print-link-display&#039;] = &#039;/Print&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;print-blurb&#039;]&lt;br /&gt;
-- Text to display if a /Print subpage exists. $1 is a link to the subpage with a display value of cfg[&#039;print-link-display&#039;].&lt;br /&gt;
cfg[&#039;print-blurb&#039;] = format(&#039;print-blurb&#039;)&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;display-print-category&#039;]&lt;br /&gt;
-- Set to true to enable output of cfg[&#039;print-category&#039;] if a /Print subpage exists.&lt;br /&gt;
-- This should be a boolean value (either true or false).&lt;br /&gt;
cfg[&#039;display-print-category&#039;] = true&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;print-category&#039;]&lt;br /&gt;
-- Category to output if cfg[&#039;display-print-category&#039;] is set to true, and a /Print subpage exists.&lt;br /&gt;
cfg[&#039;print-category&#039;] = &#039;Templates with print versions&#039;&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- HTML and CSS configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;main-div-id&#039;]&lt;br /&gt;
-- The &amp;quot;id&amp;quot; attribute of the main HTML &amp;quot;div&amp;quot; tag.&lt;br /&gt;
cfg[&#039;main-div-id&#039;] = &#039;template-documentation&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;main-div-classes&#039;]&lt;br /&gt;
-- The CSS classes added to the main HTML &amp;quot;div&amp;quot; tag.&lt;br /&gt;
cfg[&#039;main-div-class&#039;] = &#039;ts-doc-doc&#039;&lt;br /&gt;
cfg[&#039;header-div-class&#039;] = &#039;ts-doc-header&#039;&lt;br /&gt;
cfg[&#039;heading-div-class&#039;] = &#039;ts-doc-heading&#039;&lt;br /&gt;
cfg[&#039;content-div-class&#039;] = &#039;ts-doc-content&#039;&lt;br /&gt;
cfg[&#039;footer-div-class&#039;] = &#039;ts-doc-footer plainlinks&#039;&lt;br /&gt;
&lt;br /&gt;
cfg[&#039;sandbox-class&#039;] = &#039;ts-doc-sandbox&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;start-box-linkclasses&#039;]&lt;br /&gt;
-- The CSS classes used for the [view][edit][history] or [create] links in the start box.&lt;br /&gt;
cfg[&#039;start-box-linkclasses&#039;] = &#039;ts-tlinks-tlinks mw-editsection-like plainlinks&#039;&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;start-box-link-id&#039;]&lt;br /&gt;
-- The HTML &amp;quot;id&amp;quot; attribute for the links in the start box.&lt;br /&gt;
cfg[&#039;start-box-link-id&#039;] = &#039;doc_editlinks&#039;&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- Tracking category configuration&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;display-strange-usage-category&#039;]&lt;br /&gt;
-- Set to true to enable output of cfg[&#039;strange-usage-category&#039;] if the module is used on a /doc subpage&lt;br /&gt;
-- or a /testcases subpage. This should be a boolean value (either true or false).&lt;br /&gt;
cfg[&#039;display-strange-usage-category&#039;] = false&lt;br /&gt;
&lt;br /&gt;
-- cfg[&#039;strange-usage-category&#039;]&lt;br /&gt;
-- Category to output if cfg[&#039;display-strange-usage-category&#039;] is set to true and the module is used on a&lt;br /&gt;
-- /doc subpage or a /testcases subpage.&lt;br /&gt;
cfg[&#039;strange-usage-category&#039;] = &#039;Pages with strange ((documentation)) usage&#039;&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
-- End configuration&lt;br /&gt;
--&lt;br /&gt;
-- Don&#039;t edit anything below this line.&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
return cfg&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Draw_(Program)&amp;diff=294</id>
		<title>Draw (Program)</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Draw_(Program)&amp;diff=294"/>
		<updated>2026-05-17T11:46:03Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TLS AD Monkey Business.png|thumb|Image Drawn using the Draw Program]]&lt;br /&gt;
&#039;&#039;&#039;Draw&#039;&#039;&#039; is a custom ComputerCraft program used to display table image information (for example from the Paint program) on an Advanced Monitor.&lt;br /&gt;
&lt;br /&gt;
== How to use ==&lt;br /&gt;
Once you have drawn your image, simply copy the program (or rewrite it from this page) onto the computer and then simply follow this syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;draw &amp;lt;monitorSide&amp;gt; &amp;lt;pathToImage&amp;gt; &amp;lt;scale&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Argument&lt;br /&gt;
!Description&lt;br /&gt;
!Required&lt;br /&gt;
|-&lt;br /&gt;
|monitorSide&lt;br /&gt;
|The side where the monitor is relative to the computer&lt;br /&gt;
&#039;&#039;(left, right, top, bottom, back, front)&#039;&#039;&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|pathToImage&lt;br /&gt;
|The path to an image on the computer&lt;br /&gt;
|Yes&lt;br /&gt;
|-&lt;br /&gt;
|scale&lt;br /&gt;
|The scale of the image. Must be an increment of 0.5&lt;br /&gt;
&#039;&#039;(min: 0.5, max: 5)&#039;&#039;&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
After drawing your image make sure to create a &amp;lt;code&amp;gt;startup&amp;lt;/code&amp;gt; script inside the main director of the computer with the following code:&lt;br /&gt;
{{Code|shell.run(&amp;quot;draw&amp;quot;, &amp;quot;&amp;lt;monitorSide&amp;gt;&amp;quot;, &amp;quot;&amp;lt;pathToImage&amp;gt;&amp;quot;, &amp;quot;&amp;lt;scale&amp;gt;&amp;quot;)|lang=lua}}&lt;br /&gt;
This will ensure the computer will always redraw the image when it&#039;s rebooted. Make sure to replace the values with yours.&lt;br /&gt;
&lt;br /&gt;
== Lua Code ==&lt;br /&gt;
{{Code|1=local defaultTerm = term.native&lt;br /&gt;
&lt;br /&gt;
local function printUsage()&lt;br /&gt;
    print(&amp;quot;draw &amp;lt;monitorSide&amp;gt; &amp;lt;pathToImage&amp;gt; &amp;lt;scale&amp;gt;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local tArgs = { ... }&lt;br /&gt;
if #tArgs &amp;lt; 3 then&lt;br /&gt;
    printUsage()&lt;br /&gt;
    return&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local monitor = peripheral.wrap(tArgs[1])&lt;br /&gt;
local image = paintutils.loadImage(tArgs[2])&lt;br /&gt;
&lt;br /&gt;
local function draw()&lt;br /&gt;
    term.redirect(monitor)&lt;br /&gt;
    if image then&lt;br /&gt;
        term.setBackgroundColor(colors.white)&lt;br /&gt;
        monitor.setTextScale(tonumber(tArgs[3]))&lt;br /&gt;
        term.clear()&lt;br /&gt;
        paintutils.drawImage(image, 1, 1)&lt;br /&gt;
    else&lt;br /&gt;
        print(&amp;quot;Image not found&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    term.redirect(defaultTerm)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
draw()|lang=lua}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Draw_(Program)&amp;diff=293</id>
		<title>Draw (Program)</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Draw_(Program)&amp;diff=293"/>
		<updated>2026-05-17T11:40:23Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TLS AD Monkey Business.png|thumb|Image Drawn using the Draw Program]]&lt;br /&gt;
&#039;&#039;&#039;Draw&#039;&#039;&#039; is a custom ComputerCraft program used to display table image information (for example from the Paint program) on an Advanced Monitor.&lt;br /&gt;
&lt;br /&gt;
== Lua Code ==&lt;br /&gt;
{{Code|1=local defaultTerm = term.native&lt;br /&gt;
&lt;br /&gt;
local function printUsage()&lt;br /&gt;
    print(&amp;quot;draw &amp;lt;monitorSide&amp;gt; &amp;lt;pathToImage&amp;gt; &amp;lt;scale&amp;gt;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local tArgs = { ... }&lt;br /&gt;
if #tArgs &amp;lt; 3 then&lt;br /&gt;
    printUsage()&lt;br /&gt;
    return&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local monitor = peripheral.wrap(tArgs[1])&lt;br /&gt;
local image = paintutils.loadImage(tArgs[2])&lt;br /&gt;
&lt;br /&gt;
local function draw()&lt;br /&gt;
    term.redirect(monitor)&lt;br /&gt;
    if image then&lt;br /&gt;
        term.setBackgroundColor(colors.white)&lt;br /&gt;
        monitor.setTextScale(tonumber(tArgs[3]))&lt;br /&gt;
        term.clear()&lt;br /&gt;
        paintutils.drawImage(image, 1, 1)&lt;br /&gt;
    else&lt;br /&gt;
        print(&amp;quot;Image not found&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    term.redirect(defaultTerm)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
draw()|lang=lua}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=File:TLS_AD_Monkey_Business.png&amp;diff=292</id>
		<title>File:TLS AD Monkey Business.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=File:TLS_AD_Monkey_Business.png&amp;diff=292"/>
		<updated>2026-05-17T11:39:56Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Monkey Business&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Template:Documentation&amp;diff=291</id>
		<title>Template:Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Template:Documentation&amp;diff=291"/>
		<updated>2026-05-17T11:38:19Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#invoke:Documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Module:Documentation&amp;diff=290</id>
		<title>Module:Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Module:Documentation&amp;diff=290"/>
		<updated>2026-05-17T11:37:41Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;-- This module implements {{documentation}}.  -- Get required modules. local getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs local messageBox = require(&amp;#039;Module:Message box&amp;#039;)  -- Get the config table. local cfg = mw.loadData(&amp;#039;Module:Documentation/config&amp;#039;) local i18n = mw.loadData(&amp;#039;Module:Documentation/i18n&amp;#039;) local p = {}  -- Often-used functions. local ugsub = mw.ustring.gsub  ---------------------------------------------------------------------------- -- Helper functions -...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- This module implements {{documentation}}.&lt;br /&gt;
&lt;br /&gt;
-- Get required modules.&lt;br /&gt;
local getArgs = require(&#039;Module:Arguments&#039;).getArgs&lt;br /&gt;
local messageBox = require(&#039;Module:Message box&#039;)&lt;br /&gt;
&lt;br /&gt;
-- Get the config table.&lt;br /&gt;
local cfg = mw.loadData(&#039;Module:Documentation/config&#039;)&lt;br /&gt;
local i18n = mw.loadData(&#039;Module:Documentation/i18n&#039;)&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Often-used functions.&lt;br /&gt;
local ugsub = mw.ustring.gsub&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Helper functions&lt;br /&gt;
--&lt;br /&gt;
-- These are defined as local functions, but are made available in the p&lt;br /&gt;
-- table for testing purposes.&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local function message(cfgKey, valArray, expectType)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Gets a message from the cfg table and formats it if appropriate.&lt;br /&gt;
	-- The function raises an error if the value from the cfg table is not&lt;br /&gt;
	-- of the type expectType. The default type for expectType is &#039;string&#039;.&lt;br /&gt;
	-- If the table valArray is present, strings such as $1, $2 etc. in the&lt;br /&gt;
	-- message are substituted with values from the table keys [1], [2] etc.&lt;br /&gt;
	-- For example, if the message &amp;quot;foo-message&amp;quot; had the value &#039;Foo $2 bar $1.&#039;,&lt;br /&gt;
	-- message(&#039;foo-message&#039;, {&#039;baz&#039;, &#039;qux&#039;}) would return &amp;quot;Foo qux bar baz.&amp;quot;&lt;br /&gt;
	--]]&lt;br /&gt;
	local msg = cfg[cfgKey]&lt;br /&gt;
	expectType = expectType or &#039;string&#039;&lt;br /&gt;
	if type(msg) ~= expectType then&lt;br /&gt;
		error(require(&#039;Module:TNT&#039;).format(&#039;I18n/Documentation&#039;, &#039;cfg-error-msg-type&#039;, cfgKey, expectType, type(msg)), 2)&lt;br /&gt;
	end&lt;br /&gt;
	if not valArray then&lt;br /&gt;
		return msg&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local function getMessageVal(match)&lt;br /&gt;
		match = tonumber(match)&lt;br /&gt;
		return valArray[match] or error(require(&#039;Module:TNT&#039;).format(&#039;I18n/Documentation&#039;, &#039;cfg-error-msg-empty&#039;, &#039;$&#039; .. match, cfgKey), 4)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ret = ugsub(msg, &#039;$([1-9][0-9]*)&#039;, getMessageVal)&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.message = message&lt;br /&gt;
&lt;br /&gt;
local function makeWikilink(page, display)&lt;br /&gt;
	if display then&lt;br /&gt;
		return mw.ustring.format(&#039;[[%s|%s]]&#039;, page, display)&lt;br /&gt;
	else&lt;br /&gt;
		return mw.ustring.format(&#039;[[%s]]&#039;, page)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.makeWikilink = makeWikilink&lt;br /&gt;
&lt;br /&gt;
local function makeCategoryLink(cat, sort)&lt;br /&gt;
	local catns = mw.site.namespaces[14].name&lt;br /&gt;
	return makeWikilink(catns .. &#039;:&#039; .. cat, sort)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.makeCategoryLink = makeCategoryLink&lt;br /&gt;
&lt;br /&gt;
local function makeUrlLink(url, display)&lt;br /&gt;
	return mw.ustring.format(&#039;[%s %s]&#039;, url, display)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.makeUrlLink = makeUrlLink&lt;br /&gt;
&lt;br /&gt;
local function makeToolbar(...)&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	local lim = select(&#039;#&#039;, ...)&lt;br /&gt;
	if lim &amp;lt; 1 then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	for i = 1, lim do&lt;br /&gt;
		ret[#ret + 1] = select(i, ...)&lt;br /&gt;
	end&lt;br /&gt;
	return &#039;&amp;lt;small style=&amp;quot;font-style: normal;&amp;quot;&amp;gt;(&#039; .. table.concat(ret, &#039; &amp;amp;#124; &#039;) .. &#039;)&amp;lt;/small&amp;gt;&#039;&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
p.makeToolbar = makeToolbar&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Argument processing&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local function makeInvokeFunc(funcName)&lt;br /&gt;
	return function (frame)&lt;br /&gt;
		local args = getArgs(frame, {&lt;br /&gt;
			valueFunc = function (key, value)&lt;br /&gt;
				if type(value) == &#039;string&#039; then&lt;br /&gt;
					value = value:match(&#039;^%s*(.-)%s*$&#039;) -- Remove whitespace.&lt;br /&gt;
					if key == &#039;heading&#039; or value ~= &#039;&#039; then&lt;br /&gt;
						return value&lt;br /&gt;
					else&lt;br /&gt;
						return nil&lt;br /&gt;
					end&lt;br /&gt;
				else&lt;br /&gt;
					return value&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		})&lt;br /&gt;
		return p[funcName](args)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Load TemplateStyles&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
p.main = function(frame)&lt;br /&gt;
	local parent = frame.getParent(frame)&lt;br /&gt;
	local output = p._main(parent.args)&lt;br /&gt;
	return frame:extensionTag{ name=&#039;templatestyles&#039;, args = { src= message(&#039;templatestyles-scr&#039;) } } .. output&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Main function&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- This function defines logic flow for the module.&lt;br /&gt;
	-- @args - table of arguments passed by the user&lt;br /&gt;
	-- &lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;main-div-id&#039; --&amp;gt; &#039;template-documentation&#039;&lt;br /&gt;
	-- &#039;main-div-classes&#039; --&amp;gt; &#039;template-documentation iezoomfix&#039;&lt;br /&gt;
	--]]&lt;br /&gt;
	local env = p.getEnvironment(args)&lt;br /&gt;
	local root = mw.html.create()&lt;br /&gt;
	root&lt;br /&gt;
		:wikitext(p._getModuleWikitext(args, env))&lt;br /&gt;
		:wikitext(p.protectionTemplate(env))&lt;br /&gt;
		:wikitext(p.sandboxNotice(args, env))&lt;br /&gt;
		 -- This div tag is from {{documentation/start box}}, but moving it here&lt;br /&gt;
		 -- so that we don&#039;t have to worry about unclosed tags.&lt;br /&gt;
		:tag(&#039;div&#039;)&lt;br /&gt;
			:attr(&#039;id&#039;, message(&#039;main-div-id&#039;))&lt;br /&gt;
			:addClass(message(&#039;main-div-class&#039;))&lt;br /&gt;
			:wikitext(p._startBox(args, env))&lt;br /&gt;
			:wikitext(p._content(args, env))&lt;br /&gt;
			:done()&lt;br /&gt;
		:wikitext(p._endBox(args, env))&lt;br /&gt;
		:wikitext(p.addTrackingCategories(env))&lt;br /&gt;
	return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Environment settings&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
function p.getEnvironment(args)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Returns a table with information about the environment, including title objects and other namespace- or&lt;br /&gt;
	-- path-related data.&lt;br /&gt;
	-- @args - table of arguments passed by the user&lt;br /&gt;
	--&lt;br /&gt;
	-- Title objects include:&lt;br /&gt;
	-- env.title - the page we are making documentation for (usually the current title)&lt;br /&gt;
	-- env.templateTitle - the template (or module, file, etc.)&lt;br /&gt;
	-- env.docTitle - the /doc subpage.&lt;br /&gt;
	-- env.sandboxTitle - the /sandbox subpage.&lt;br /&gt;
	-- env.testcasesTitle - the /testcases subpage.&lt;br /&gt;
	-- env.printTitle - the print version of the template, located at the /Print subpage.&lt;br /&gt;
	--&lt;br /&gt;
	-- Data includes:&lt;br /&gt;
	-- env.protectionLevels - the protection levels table of the title object.&lt;br /&gt;
	-- env.subjectSpace - the number of the title&#039;s subject namespace.&lt;br /&gt;
	-- env.docSpace - the number of the namespace the title puts its documentation in.&lt;br /&gt;
	-- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.&lt;br /&gt;
	-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.&lt;br /&gt;
	-- &lt;br /&gt;
	-- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value&lt;br /&gt;
	-- returned will be nil.&lt;br /&gt;
	--]]&lt;br /&gt;
	&lt;br /&gt;
	local env, envFuncs = {}, {}&lt;br /&gt;
&lt;br /&gt;
	-- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value&lt;br /&gt;
	-- returned by that function is memoized in the env table so that we don&#039;t call any of the functions&lt;br /&gt;
	-- more than once. (Nils won&#039;t be memoized.)&lt;br /&gt;
	setmetatable(env, {&lt;br /&gt;
		__index = function (t, key)&lt;br /&gt;
			local envFunc = envFuncs[key]&lt;br /&gt;
			if envFunc then&lt;br /&gt;
				local success, val = pcall(envFunc)&lt;br /&gt;
				if success then&lt;br /&gt;
					env[key] = val -- Memoise the value.&lt;br /&gt;
					return val&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			return nil&lt;br /&gt;
		end&lt;br /&gt;
	})	&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.title()&lt;br /&gt;
		-- The title object for the current page, or a test page passed with args.page.&lt;br /&gt;
		local title&lt;br /&gt;
		local titleArg = args.page&lt;br /&gt;
		if titleArg then&lt;br /&gt;
			title = mw.title.new(titleArg)&lt;br /&gt;
		else&lt;br /&gt;
			title = mw.title.getCurrentTitle()&lt;br /&gt;
		end&lt;br /&gt;
		return title&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.templateTitle()&lt;br /&gt;
		--[[&lt;br /&gt;
		-- The template (or module, etc.) title object.&lt;br /&gt;
		-- Messages:&lt;br /&gt;
		-- &#039;sandbox-subpage&#039; --&amp;gt; &#039;sandbox&#039;&lt;br /&gt;
		-- &#039;testcases-subpage&#039; --&amp;gt; &#039;testcases&#039;&lt;br /&gt;
		--]]&lt;br /&gt;
		local subjectSpace = env.subjectSpace&lt;br /&gt;
		local title = env.title&lt;br /&gt;
		local subpage = title.subpageText&lt;br /&gt;
		if subpage == message(&#039;sandbox-subpage&#039;) or subpage == message(&#039;testcases-subpage&#039;) then&lt;br /&gt;
			return mw.title.makeTitle(subjectSpace, title.baseText)&lt;br /&gt;
		else&lt;br /&gt;
			return mw.title.makeTitle(subjectSpace, title.text)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.docTitle()&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Title object of the /doc subpage.&lt;br /&gt;
		-- Messages:&lt;br /&gt;
		-- &#039;doc-subpage&#039; --&amp;gt; &#039;doc&#039;&lt;br /&gt;
		--]]&lt;br /&gt;
		local title = env.title&lt;br /&gt;
		local docname = args[1] -- User-specified doc page.&lt;br /&gt;
		local docpage&lt;br /&gt;
		if docname then&lt;br /&gt;
			docpage = docname&lt;br /&gt;
		else&lt;br /&gt;
			docpage = env.docpageBase .. &#039;/&#039; .. message(&#039;doc-subpage&#039;)&lt;br /&gt;
		end&lt;br /&gt;
		return mw.title.new(docpage)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	function envFuncs.sandboxTitle()&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Title object for the /sandbox subpage.&lt;br /&gt;
		-- Messages:&lt;br /&gt;
		-- &#039;sandbox-subpage&#039; --&amp;gt; &#039;sandbox&#039;&lt;br /&gt;
		--]]&lt;br /&gt;
		return mw.title.new(env.docpageBase .. &#039;/&#039; .. message(&#039;sandbox-subpage&#039;))&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	function envFuncs.testcasesTitle()&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Title object for the /testcases subpage.&lt;br /&gt;
		-- Messages:&lt;br /&gt;
		-- &#039;testcases-subpage&#039; --&amp;gt; &#039;testcases&#039;&lt;br /&gt;
		--]]&lt;br /&gt;
		return mw.title.new(env.docpageBase .. &#039;/&#039; .. message(&#039;testcases-subpage&#039;))&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	function envFuncs.printTitle()&lt;br /&gt;
		--[[&lt;br /&gt;
		-- Title object for the /Print subpage.&lt;br /&gt;
		-- Messages:&lt;br /&gt;
		-- &#039;print-subpage&#039; --&amp;gt; &#039;Print&#039;&lt;br /&gt;
		--]]&lt;br /&gt;
		return env.templateTitle:subPageTitle(message(&#039;print-subpage&#039;))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.protectionLevels()&lt;br /&gt;
		-- The protection levels table of the title object.&lt;br /&gt;
		return env.title.protectionLevels&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.subjectSpace()&lt;br /&gt;
		-- The subject namespace number.&lt;br /&gt;
		return mw.site.namespaces[env.title.namespace].subject.id&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.docSpace()&lt;br /&gt;
		-- The documentation namespace number. For most namespaces this is the same as the&lt;br /&gt;
		-- subject namespace. However, pages in the Article, File, MediaWiki or Category&lt;br /&gt;
		-- namespaces must have their /doc, /sandbox and /testcases pages in talk space.&lt;br /&gt;
		local subjectSpace = env.subjectSpace&lt;br /&gt;
		if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then&lt;br /&gt;
			return subjectSpace + 1&lt;br /&gt;
		else&lt;br /&gt;
			return subjectSpace&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	function envFuncs.docpageBase()&lt;br /&gt;
		-- The base page of the /doc, /sandbox, and /testcases subpages.&lt;br /&gt;
		-- For some namespaces this is the talk page, rather than the template page.&lt;br /&gt;
		local templateTitle = env.templateTitle&lt;br /&gt;
		local docSpace = env.docSpace&lt;br /&gt;
		local docSpaceText = mw.site.namespaces[docSpace].name&lt;br /&gt;
		-- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon.&lt;br /&gt;
		return docSpaceText .. &#039;:&#039; .. templateTitle.text&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	function envFuncs.compareUrl()&lt;br /&gt;
		-- Diff link between the sandbox and the main template using [[Special:ComparePages]].&lt;br /&gt;
		local templateTitle = env.templateTitle&lt;br /&gt;
		local sandboxTitle = env.sandboxTitle&lt;br /&gt;
		if templateTitle.exists and sandboxTitle.exists then&lt;br /&gt;
			local compareUrl = mw.uri.fullUrl(&lt;br /&gt;
				&#039;Special:ComparePages&#039;,&lt;br /&gt;
				{page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText}&lt;br /&gt;
			)&lt;br /&gt;
			return tostring(compareUrl)&lt;br /&gt;
		else&lt;br /&gt;
			return nil&lt;br /&gt;
		end&lt;br /&gt;
	end		&lt;br /&gt;
&lt;br /&gt;
	return env&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Auxiliary templates&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
p.getModuleWikitext = makeInvokeFunc(&#039;_getModuleWikitext&#039;)&lt;br /&gt;
&lt;br /&gt;
function p._getModuleWikitext(args, env)&lt;br /&gt;
	local currentTitle = mw.title.getCurrentTitle()&lt;br /&gt;
	if currentTitle.contentModel ~= &#039;Scribunto&#039; then return end&lt;br /&gt;
	pcall(require, currentTitle.prefixedText) -- if it fails, we don&#039;t care&lt;br /&gt;
	local moduleWikitext =  package.loaded[&amp;quot;Module:Module wikitext&amp;quot;]&lt;br /&gt;
	if moduleWikitext then&lt;br /&gt;
		return moduleWikitext.main()&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.sandboxNotice(args, env)&lt;br /&gt;
	--[=[&lt;br /&gt;
	-- Generates a sandbox notice for display above sandbox pages.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- &lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;sandbox-notice-image&#039; --&amp;gt; &#039;[[Image:Sandbox.svg|50px|alt=|link=]]&#039;&lt;br /&gt;
	-- &#039;sandbox-notice-blurb&#039; --&amp;gt; &#039;This is the $1 for $2.&#039;&lt;br /&gt;
	-- &#039;sandbox-notice-diff-blurb&#039; --&amp;gt; &#039;This is the $1 for $2 ($3).&#039;&lt;br /&gt;
	-- &#039;sandbox-notice-pagetype-template&#039; --&amp;gt; &#039;[[w:Wikipedia:Template test cases|template sandbox]] page&#039;&lt;br /&gt;
	-- &#039;sandbox-notice-pagetype-module&#039; --&amp;gt; &#039;[[w:Wikipedia:Template test cases|module sandbox]] page&#039;&lt;br /&gt;
	-- &#039;sandbox-notice-pagetype-other&#039; --&amp;gt; &#039;sandbox page&#039;&lt;br /&gt;
	-- &#039;sandbox-notice-compare-link-display&#039; --&amp;gt; &#039;diff&#039;&lt;br /&gt;
	-- &#039;sandbox-notice-testcases-blurb&#039; --&amp;gt; &#039;See also the companion subpage for $1.&#039;&lt;br /&gt;
	-- &#039;sandbox-notice-testcases-link-display&#039; --&amp;gt; &#039;test cases&#039;&lt;br /&gt;
	-- &#039;sandbox-category&#039; --&amp;gt; &#039;Template sandboxes&#039;&lt;br /&gt;
	--]=]&lt;br /&gt;
	local title = env.title&lt;br /&gt;
	local sandboxTitle = env.sandboxTitle&lt;br /&gt;
	local templateTitle = env.templateTitle&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	if not (subjectSpace and title and sandboxTitle and templateTitle and mw.title.equals(title, sandboxTitle)) then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	-- Build the table of arguments to pass to {{ombox}}. We need just two fields, &amp;quot;image&amp;quot; and &amp;quot;text&amp;quot;.&lt;br /&gt;
	local omargs = {}&lt;br /&gt;
	omargs.image = message(&#039;sandbox-notice-image&#039;)&lt;br /&gt;
	-- Get the text. We start with the opening blurb, which is something like&lt;br /&gt;
	-- &amp;quot;This is the template sandbox for [[Template:Foo]] (diff).&amp;quot;&lt;br /&gt;
	local text = &#039;&#039;&lt;br /&gt;
	local frame = mw.getCurrentFrame()&lt;br /&gt;
	local isPreviewing = frame:preprocess(&#039;{{REVISIONID}}&#039;) == &#039;&#039; -- True if the page is being previewed.&lt;br /&gt;
	local pagetype&lt;br /&gt;
	if subjectSpace == 10 then&lt;br /&gt;
		pagetype = message(&#039;sandbox-notice-pagetype-template&#039;)&lt;br /&gt;
	elseif subjectSpace == 828 then&lt;br /&gt;
		pagetype = message(&#039;sandbox-notice-pagetype-module&#039;)&lt;br /&gt;
	else&lt;br /&gt;
		pagetype = message(&#039;sandbox-notice-pagetype-other&#039;)&lt;br /&gt;
	end&lt;br /&gt;
	local templateLink = makeWikilink(templateTitle.prefixedText)&lt;br /&gt;
	local compareUrl = env.compareUrl&lt;br /&gt;
	if isPreviewing or not compareUrl then&lt;br /&gt;
		text = text .. message(&#039;sandbox-notice-blurb&#039;, {pagetype, templateLink})&lt;br /&gt;
	else&lt;br /&gt;
		local compareDisplay = message(&#039;sandbox-notice-compare-link-display&#039;)&lt;br /&gt;
		local compareLink = makeUrlLink(compareUrl, compareDisplay)&lt;br /&gt;
		text = text .. message(&#039;sandbox-notice-diff-blurb&#039;, {pagetype, templateLink, compareLink})&lt;br /&gt;
	end&lt;br /&gt;
	-- Get the test cases page blurb if the page exists. This is something like&lt;br /&gt;
	-- &amp;quot;See also the companion subpage for [[Template:Foo/testcases|test cases]].&amp;quot;&lt;br /&gt;
	local testcasesTitle = env.testcasesTitle&lt;br /&gt;
	if testcasesTitle and testcasesTitle.exists then&lt;br /&gt;
		if testcasesTitle.contentModel == &amp;quot;Scribunto&amp;quot; then&lt;br /&gt;
			local testcasesLinkDisplay = message(&#039;sandbox-notice-testcases-link-display&#039;)&lt;br /&gt;
			local testcasesRunLinkDisplay = message(&#039;sandbox-notice-testcases-run-link-display&#039;)&lt;br /&gt;
			local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)&lt;br /&gt;
			local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)&lt;br /&gt;
			text = text .. &#039;&amp;lt;br /&amp;gt;&#039; .. message(&#039;sandbox-notice-testcases-run-blurb&#039;, {testcasesLink, testcasesRunLink})&lt;br /&gt;
		else&lt;br /&gt;
			local testcasesLinkDisplay = message(&#039;sandbox-notice-testcases-link-display&#039;)&lt;br /&gt;
			local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)&lt;br /&gt;
			text = text .. &#039;&amp;lt;br /&amp;gt;&#039; .. message(&#039;sandbox-notice-testcases-blurb&#039;, {testcasesLink})&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- Add the sandbox to the sandbox category.&lt;br /&gt;
	text = text .. makeCategoryLink(message(&#039;sandbox-category&#039;))&lt;br /&gt;
	omargs.text = text&lt;br /&gt;
	omargs.class = message(&#039;sandbox-class&#039;)&lt;br /&gt;
	local ret = &#039;&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&#039;&lt;br /&gt;
	ret = ret .. messageBox.main(&#039;ombox&#039;, omargs)&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.protectionTemplate(env)&lt;br /&gt;
	-- Generates the padlock icon in the top right.&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;protection-template&#039; --&amp;gt; &#039;pp-template&#039;&lt;br /&gt;
	-- &#039;protection-template-args&#039; --&amp;gt; {docusage = &#039;yes&#039;}&lt;br /&gt;
	local title = env.title&lt;br /&gt;
	local protectionLevels&lt;br /&gt;
	local protectionTemplate = message(&#039;protection-template&#039;)&lt;br /&gt;
	local namespace = title.namespace&lt;br /&gt;
	if not (protectionTemplate and (namespace == 10 or namespace == 828)) then&lt;br /&gt;
		-- Don&#039;t display the protection template if we are not in the template or module namespaces.&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	protectionLevels = env.protectionLevels&lt;br /&gt;
	if not protectionLevels then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local editLevels = protectionLevels.edit&lt;br /&gt;
	local moveLevels = protectionLevels.move&lt;br /&gt;
	if moveLevels and moveLevels[1] == &#039;sysop&#039; or editLevels and editLevels[1] then&lt;br /&gt;
		-- The page is full-move protected, or full, template, or semi-protected.&lt;br /&gt;
		local frame = mw.getCurrentFrame()&lt;br /&gt;
		return frame:expandTemplate{title = protectionTemplate, args = message(&#039;protection-template-args&#039;, nil, &#039;table&#039;)}&lt;br /&gt;
	else&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Start box&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
p.startBox = makeInvokeFunc(&#039;_startBox&#039;)&lt;br /&gt;
&lt;br /&gt;
function p._startBox(args, env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- This function generates the start box.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- &lt;br /&gt;
	-- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make&lt;br /&gt;
	-- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox&lt;br /&gt;
	-- which generate the box HTML.&lt;br /&gt;
	--]]&lt;br /&gt;
	env = env or p.getEnvironment(args)&lt;br /&gt;
	local links&lt;br /&gt;
	local content = args.content&lt;br /&gt;
	if not content then&lt;br /&gt;
		-- No need to include the links if the documentation is on the template page itself.&lt;br /&gt;
		local linksData = p.makeStartBoxLinksData(args, env)&lt;br /&gt;
		if linksData then&lt;br /&gt;
			links = p.renderStartBoxLinks(linksData)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- Generate the start box html.&lt;br /&gt;
	local data = p.makeStartBoxData(args, env, links)&lt;br /&gt;
	if data then&lt;br /&gt;
		return p.renderStartBox(data)&lt;br /&gt;
	else&lt;br /&gt;
		-- User specified no heading.&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeStartBoxLinksData(args, env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Does initial processing of data to make the [view] [edit] [history] [purge] links.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- &lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;view-link-display&#039; --&amp;gt; &#039;view&#039;&lt;br /&gt;
	-- &#039;edit-link-display&#039; --&amp;gt; &#039;edit&#039;&lt;br /&gt;
	-- &#039;history-link-display&#039; --&amp;gt; &#039;history&#039;&lt;br /&gt;
	-- &#039;purge-link-display&#039; --&amp;gt; &#039;purge&#039;&lt;br /&gt;
	-- &#039;file-docpage-preload&#039; --&amp;gt; &#039;Template:Documentation/preload-filespace&#039;&lt;br /&gt;
	-- &#039;module-preload&#039; --&amp;gt; &#039;Template:Documentation/preload-module-doc&#039;&lt;br /&gt;
	-- &#039;docpage-preload&#039; --&amp;gt; &#039;Template:Documentation/preload&#039;&lt;br /&gt;
	-- &#039;create-link-display&#039; --&amp;gt; &#039;create&#039;&lt;br /&gt;
	--]]&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	local title = env.title&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	if not title or not docTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	if docTitle.isRedirect then &lt;br /&gt;
		docTitle = docTitle.redirectTarget&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local data = {}&lt;br /&gt;
	data.title = title&lt;br /&gt;
	data.docTitle = docTitle&lt;br /&gt;
	-- View, display, edit, and purge links if /doc exists.&lt;br /&gt;
	data.viewLinkDisplay = i18n[&#039;view-link-display&#039;]&lt;br /&gt;
	data.editLinkDisplay = i18n[&#039;edit-link-display&#039;]&lt;br /&gt;
	data.historyLinkDisplay = i18n[&#039;history-link-display&#039;]&lt;br /&gt;
	data.purgeLinkDisplay = i18n[&#039;purge-link-display&#039;]&lt;br /&gt;
	-- Create link if /doc doesn&#039;t exist.&lt;br /&gt;
	local preload = args.preload&lt;br /&gt;
	if not preload then&lt;br /&gt;
		if subjectSpace == 6 then -- File namespace&lt;br /&gt;
			preload = message(&#039;file-docpage-preload&#039;)&lt;br /&gt;
		elseif subjectSpace == 828 then -- Module namespace&lt;br /&gt;
			preload = message(&#039;module-preload&#039;)&lt;br /&gt;
		else&lt;br /&gt;
			preload = message(&#039;docpage-preload&#039;)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	data.preload = preload&lt;br /&gt;
	data.createLinkDisplay = i18n[&#039;create-link-display&#039;]&lt;br /&gt;
	return data&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.renderStartBoxLinks(data)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Generates the [view][edit][history][purge] or [create] links from the data table.&lt;br /&gt;
	-- @data - a table of data generated by p.makeStartBoxLinksData&lt;br /&gt;
	--]]&lt;br /&gt;
	&lt;br /&gt;
	local function escapeBrackets(s)&lt;br /&gt;
		-- Escapes square brackets with HTML entities.&lt;br /&gt;
		s = s:gsub(&#039;%[&#039;, &#039;&amp;amp;#91;&#039;) -- Replace square brackets with HTML entities.&lt;br /&gt;
		s = s:gsub(&#039;%]&#039;, &#039;&amp;amp;#93;&#039;)&lt;br /&gt;
		return s&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ret&lt;br /&gt;
	local docTitle = data.docTitle&lt;br /&gt;
	local title = data.title&lt;br /&gt;
	if docTitle.exists then&lt;br /&gt;
		local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay)&lt;br /&gt;
		local editLink = makeUrlLink(docTitle:fullUrl{action = &#039;edit&#039;}, data.editLinkDisplay)&lt;br /&gt;
		local historyLink = makeUrlLink(docTitle:fullUrl{action = &#039;history&#039;}, data.historyLinkDisplay)&lt;br /&gt;
		local purgeLink = makeUrlLink(title:fullUrl{action = &#039;purge&#039;}, data.purgeLinkDisplay)&lt;br /&gt;
		ret = &#039;[%s] [%s] [%s] [%s]&#039;&lt;br /&gt;
		ret = escapeBrackets(ret)&lt;br /&gt;
		ret = mw.ustring.format(ret, viewLink, editLink, historyLink, purgeLink)&lt;br /&gt;
	else&lt;br /&gt;
		local createLink = makeUrlLink(docTitle:fullUrl{action = &#039;edit&#039;, preload = data.preload}, data.createLinkDisplay)&lt;br /&gt;
		ret = &#039;[%s]&#039;&lt;br /&gt;
		ret = escapeBrackets(ret)&lt;br /&gt;
		ret = mw.ustring.format(ret, createLink)&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeStartBoxData(args, env, links)&lt;br /&gt;
	--[=[&lt;br /&gt;
	-- Does initial processing of data to pass to the start-box render function, p.renderStartBox.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- @links - a string containing the [view][edit][history][purge] links - could be nil if there&#039;s an error.&lt;br /&gt;
	--&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;documentation-icon-wikitext&#039; --&amp;gt; &#039;[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=Documentation icon]]&#039;&lt;br /&gt;
	-- &#039;template-namespace-heading&#039; --&amp;gt; &#039;Template documentation&#039;&lt;br /&gt;
	-- &#039;module-namespace-heading&#039; --&amp;gt; &#039;Module documentation&#039;&lt;br /&gt;
	-- &#039;file-namespace-heading&#039; --&amp;gt; &#039;Summary&#039;&lt;br /&gt;
	-- &#039;other-namespaces-heading&#039; --&amp;gt; &#039;Documentation&#039;&lt;br /&gt;
	-- &#039;start-box-linkclasses&#039; --&amp;gt; &#039;mw-editsection-like plainlinks&#039;&lt;br /&gt;
	-- &#039;start-box-link-id&#039; --&amp;gt; &#039;doc_editlinks&#039;&lt;br /&gt;
	-- &#039;testcases-create-link-display&#039; --&amp;gt; &#039;create&#039;&lt;br /&gt;
	--]=]&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	if not subjectSpace then&lt;br /&gt;
		-- Default to an &amp;quot;other namespaces&amp;quot; namespace, so that we get at least some output&lt;br /&gt;
		-- if an error occurs.&lt;br /&gt;
		subjectSpace = 2&lt;br /&gt;
	end&lt;br /&gt;
	local data = {}&lt;br /&gt;
	&lt;br /&gt;
	-- Heading&lt;br /&gt;
	local heading = args.heading -- Blank values are not removed.&lt;br /&gt;
	if heading == &#039;&#039; then&lt;br /&gt;
		-- Don&#039;t display the start box if the heading arg is defined but blank.&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	if heading then&lt;br /&gt;
		data.heading = heading&lt;br /&gt;
	elseif subjectSpace == 10 then -- Template namespace&lt;br /&gt;
		data.heading = i18n[&#039;template-namespace-heading&#039;]&lt;br /&gt;
	elseif subjectSpace == 828 then -- Module namespace&lt;br /&gt;
		data.heading = i18n[&#039;module-namespace-heading&#039;]&lt;br /&gt;
	elseif subjectSpace == 6 then -- File namespace&lt;br /&gt;
		data.heading = i18n[&#039;file-namespace-heading&#039;]&lt;br /&gt;
	else&lt;br /&gt;
		data.heading = i18n[&#039;other-namespaces-heading&#039;]&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Data for the [view][edit][history][purge] or [create] links.&lt;br /&gt;
	if links then&lt;br /&gt;
		data.linksClass = message(&#039;start-box-linkclasses&#039;)&lt;br /&gt;
		data.linksId = message(&#039;start-box-link-id&#039;)&lt;br /&gt;
		data.links = links&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return data&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.renderStartBox(data)&lt;br /&gt;
	-- Renders the start box html.&lt;br /&gt;
	-- @data - a table of data generated by p.makeStartBoxData.&lt;br /&gt;
	local sbox = mw.html.create(&#039;div&#039;)&lt;br /&gt;
	sbox&lt;br /&gt;
		:addClass(message(&#039;header-div-class&#039;))&lt;br /&gt;
		:tag(&#039;div&#039;)&lt;br /&gt;
			:addClass(message(&#039;heading-div-class&#039;))&lt;br /&gt;
			:wikitext(data.heading)&lt;br /&gt;
	local links = data.links&lt;br /&gt;
	if links then&lt;br /&gt;
		sbox&lt;br /&gt;
			:tag(&#039;div&#039;)&lt;br /&gt;
				:addClass(data.linksClass)&lt;br /&gt;
				:attr(&#039;id&#039;, data.linksId)&lt;br /&gt;
				:wikitext(links)&lt;br /&gt;
	end&lt;br /&gt;
	return tostring(sbox)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Documentation content&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
p.content = makeInvokeFunc(&#039;_content&#039;)&lt;br /&gt;
&lt;br /&gt;
function p._content(args, env)&lt;br /&gt;
	-- Displays the documentation contents&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	env = env or p.getEnvironment(args)&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	local content = args.content&lt;br /&gt;
	if not content and docTitle and docTitle.exists then&lt;br /&gt;
		content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle}&lt;br /&gt;
	end&lt;br /&gt;
	-- The line breaks below are necessary so that &amp;quot;=== Headings ===&amp;quot; at the start and end&lt;br /&gt;
	-- of docs are interpreted correctly.&lt;br /&gt;
	local cbox = mw.html.create(&#039;div&#039;)&lt;br /&gt;
	cbox&lt;br /&gt;
		:addClass(message(&#039;content-div-class&#039;))&lt;br /&gt;
		:wikitext(&#039;\n&#039; .. (content or &#039;&#039;) .. &#039;\n&#039;)&lt;br /&gt;
	return tostring(cbox)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.contentTitle = makeInvokeFunc(&#039;_contentTitle&#039;)&lt;br /&gt;
&lt;br /&gt;
function p._contentTitle(args, env)&lt;br /&gt;
	env = env or p.getEnvironment(args)&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	if not args.content and docTitle and docTitle.exists then&lt;br /&gt;
		return docTitle.prefixedText&lt;br /&gt;
	else&lt;br /&gt;
		return &#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- End box&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
p.endBox = makeInvokeFunc(&#039;_endBox&#039;)&lt;br /&gt;
&lt;br /&gt;
function p._endBox(args, env)&lt;br /&gt;
	--[=[&lt;br /&gt;
	-- This function generates the end box (also known as the link box).&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	--]=]&lt;br /&gt;
	&lt;br /&gt;
	-- Get environment data.&lt;br /&gt;
	env = env or p.getEnvironment(args)&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	if not subjectSpace or not docTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
		&lt;br /&gt;
	-- Check whether we should output the end box at all. Add the end&lt;br /&gt;
	-- box by default if the documentation exists or if we are in the&lt;br /&gt;
	-- user, module or template namespaces.&lt;br /&gt;
	local linkBox = args[&#039;link box&#039;]&lt;br /&gt;
	if linkBox == &#039;off&#039;&lt;br /&gt;
		or not (&lt;br /&gt;
			docTitle.exists&lt;br /&gt;
			or subjectSpace == 2&lt;br /&gt;
			or subjectSpace == 828&lt;br /&gt;
			or subjectSpace == 10&lt;br /&gt;
		)&lt;br /&gt;
	then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Assemble the footer text field.&lt;br /&gt;
	local text = &#039;&#039;&lt;br /&gt;
	if linkBox then&lt;br /&gt;
		text = text .. linkBox&lt;br /&gt;
	else&lt;br /&gt;
		text = text .. (p.makeDocPageBlurb(args, env) or &#039;&#039;) -- &amp;quot;This documentation is transcluded from [[Foo]].&amp;quot; &lt;br /&gt;
		if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then&lt;br /&gt;
			-- We are in the user, template or module namespaces.&lt;br /&gt;
			-- Add sandbox and testcases links.&lt;br /&gt;
			-- &amp;quot;Editors can experiment in this template&#039;s sandbox and testcases pages.&amp;quot;&lt;br /&gt;
			text = text .. (p.makeExperimentBlurb(args, env) or &#039;&#039;)&lt;br /&gt;
			text = text .. &#039;&amp;lt;br /&amp;gt;&#039;&lt;br /&gt;
			if not args.content and not args[1] then&lt;br /&gt;
				-- &amp;quot;Please add categories to the /doc subpage.&amp;quot;&lt;br /&gt;
				-- Don&#039;t show this message with inline docs or with an explicitly specified doc page,&lt;br /&gt;
				-- as then it is unclear where to add the categories.&lt;br /&gt;
				text = text .. (p.makeCategoriesBlurb(args, env) or &#039;&#039;)&lt;br /&gt;
			end&lt;br /&gt;
			text = text .. &#039; &#039; .. (p.makeSubpagesBlurb(args, env) or &#039;&#039;) --&amp;quot;Subpages of this template&amp;quot;&lt;br /&gt;
			local printBlurb = p.makePrintBlurb(args, env) -- Two-line blurb about print versions of templates.&lt;br /&gt;
			if printBlurb then&lt;br /&gt;
				text = text .. &#039;&amp;lt;br /&amp;gt;&#039; .. printBlurb&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ebox = mw.html.create(&#039;div&#039;)&lt;br /&gt;
	ebox&lt;br /&gt;
		:addClass(message(&#039;footer-div-class&#039;))&lt;br /&gt;
		:wikitext(text)&lt;br /&gt;
	return tostring(ebox)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeDocPageBlurb(args, env)&lt;br /&gt;
	--[=[&lt;br /&gt;
	-- Makes the blurb &amp;quot;This documentation is transcluded from [[Template:Foo]] (edit, history)&amp;quot;.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- &lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;edit-link-display&#039; --&amp;gt; &#039;edit&#039;&lt;br /&gt;
	-- &#039;history-link-display&#039; --&amp;gt; &#039;history&#039;&lt;br /&gt;
	-- &#039;transcluded-from-blurb&#039; --&amp;gt; &lt;br /&gt;
	-- &#039;The above [[w:Wikipedia:Template documentation|documentation]] &lt;br /&gt;
	-- is [[w:Wikipedia:Transclusion|transcluded]] from $1.&#039;&lt;br /&gt;
	-- &#039;module-preload&#039; --&amp;gt; &#039;Template:Documentation/preload-module-doc&#039;&lt;br /&gt;
	-- &#039;create-link-display&#039; --&amp;gt; &#039;create&#039;&lt;br /&gt;
	-- &#039;create-module-doc-blurb&#039; --&amp;gt;&lt;br /&gt;
	-- &#039;You might want to $1 a documentation page for this [[w:Wikipedia:Lua|Scribunto module]].&#039;&lt;br /&gt;
	--]=]&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	if not docTitle or args.content then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local ret&lt;br /&gt;
	if docTitle.exists then&lt;br /&gt;
		-- /doc exists; link to it.&lt;br /&gt;
		local docLink = makeWikilink(docTitle.prefixedText)&lt;br /&gt;
		local editUrl = docTitle:fullUrl{action = &#039;edit&#039;}&lt;br /&gt;
		local editDisplay = i18n[&#039;edit-link-display&#039;]&lt;br /&gt;
		local editLink = makeUrlLink(editUrl, editDisplay)&lt;br /&gt;
		local historyUrl = docTitle:fullUrl{action = &#039;history&#039;}&lt;br /&gt;
		local historyDisplay = i18n[&#039;history-link-display&#039;]&lt;br /&gt;
		local historyLink = makeUrlLink(historyUrl, historyDisplay)&lt;br /&gt;
		ret = message(&#039;transcluded-from-blurb&#039;, {docLink})&lt;br /&gt;
			.. &#039; &#039;&lt;br /&gt;
			.. makeToolbar(editLink, historyLink)&lt;br /&gt;
			.. &#039;&amp;lt;br /&amp;gt;&#039;&lt;br /&gt;
	elseif env.subjectSpace == 828 then&lt;br /&gt;
		-- /doc does not exist; ask to create it.&lt;br /&gt;
		local createUrl = docTitle:fullUrl{action = &#039;edit&#039;, preload = message(&#039;module-preload&#039;)}&lt;br /&gt;
		local createDisplay = i18n[&#039;create-link-display&#039;]&lt;br /&gt;
		local createLink = makeUrlLink(createUrl, createDisplay)&lt;br /&gt;
		ret = message(&#039;create-module-doc-blurb&#039;, {createLink})&lt;br /&gt;
			.. &#039;&amp;lt;br /&amp;gt;&#039;&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeExperimentBlurb(args, env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Renders the text &amp;quot;Editors can experiment in this template&#039;s sandbox (edit | diff) and testcases (edit) pages.&amp;quot;&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- &lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;sandbox-link-display&#039; --&amp;gt; &#039;sandbox&#039;&lt;br /&gt;
	-- &#039;sandbox-edit-link-display&#039; --&amp;gt; &#039;edit&#039;&lt;br /&gt;
	-- &#039;compare-link-display&#039; --&amp;gt; &#039;diff&#039;&lt;br /&gt;
	-- &#039;module-sandbox-preload&#039; --&amp;gt; &#039;Template:Documentation/preload-module-sandbox&#039;&lt;br /&gt;
	-- &#039;template-sandbox-preload&#039; --&amp;gt; &#039;Template:Documentation/preload-sandbox&#039;&lt;br /&gt;
	-- &#039;sandbox-create-link-display&#039; --&amp;gt; &#039;create&#039;&lt;br /&gt;
	-- &#039;mirror-edit-summary&#039; --&amp;gt; &#039;Create sandbox version of $1&#039;&lt;br /&gt;
	-- &#039;mirror-link-display&#039; --&amp;gt; &#039;mirror&#039;&lt;br /&gt;
	-- &#039;mirror-link-preload&#039; --&amp;gt; &#039;Template:Documentation/mirror&#039;&lt;br /&gt;
	-- &#039;sandbox-link-display&#039; --&amp;gt; &#039;sandbox&#039;&lt;br /&gt;
	-- &#039;testcases-link-display&#039; --&amp;gt; &#039;testcases&#039;&lt;br /&gt;
	-- &#039;testcases-edit-link-display&#039;--&amp;gt; &#039;edit&#039;&lt;br /&gt;
	-- &#039;template-sandbox-preload&#039; --&amp;gt; &#039;Template:Documentation/preload-sandbox&#039;&lt;br /&gt;
	-- &#039;testcases-create-link-display&#039; --&amp;gt; &#039;create&#039;&lt;br /&gt;
	-- &#039;testcases-link-display&#039; --&amp;gt; &#039;testcases&#039;&lt;br /&gt;
	-- &#039;testcases-edit-link-display&#039; --&amp;gt; &#039;edit&#039;&lt;br /&gt;
	-- &#039;module-testcases-preload&#039; --&amp;gt; &#039;Template:Documentation/preload-module-testcases&#039;&lt;br /&gt;
	-- &#039;template-testcases-preload&#039; --&amp;gt; &#039;Template:Documentation/preload-testcases&#039;&lt;br /&gt;
	-- &#039;experiment-blurb-module&#039; --&amp;gt; &#039;Editors can experiment in this module&#039;s $1 and $2 pages.&#039;&lt;br /&gt;
	-- &#039;experiment-blurb-template&#039; --&amp;gt; &#039;Editors can experiment in this template&#039;s $1 and $2 pages.&#039;&lt;br /&gt;
	--]]&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	local templateTitle = env.templateTitle&lt;br /&gt;
	local sandboxTitle = env.sandboxTitle&lt;br /&gt;
	local testcasesTitle = env.testcasesTitle&lt;br /&gt;
	local templatePage = templateTitle.prefixedText&lt;br /&gt;
	if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	-- Make links.&lt;br /&gt;
	local sandboxLinks, testcasesLinks&lt;br /&gt;
	if sandboxTitle.exists then&lt;br /&gt;
		local sandboxPage = sandboxTitle.prefixedText&lt;br /&gt;
		local sandboxDisplay = message(&#039;sandbox-link-display&#039;)&lt;br /&gt;
		local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay)&lt;br /&gt;
		local sandboxEditUrl = sandboxTitle:fullUrl{action = &#039;edit&#039;}&lt;br /&gt;
		local sandboxEditDisplay = message(&#039;sandbox-edit-link-display&#039;)&lt;br /&gt;
		local sandboxEditLink = makeUrlLink(sandboxEditUrl, sandboxEditDisplay)&lt;br /&gt;
		local compareUrl = env.compareUrl&lt;br /&gt;
		local compareLink&lt;br /&gt;
		if compareUrl then&lt;br /&gt;
			local compareDisplay = message(&#039;compare-link-display&#039;)&lt;br /&gt;
			compareLink = makeUrlLink(compareUrl, compareDisplay)&lt;br /&gt;
		end&lt;br /&gt;
		sandboxLinks = sandboxLink .. &#039; &#039; .. makeToolbar(sandboxEditLink, compareLink)&lt;br /&gt;
	else&lt;br /&gt;
		local sandboxPreload&lt;br /&gt;
		if subjectSpace == 828 then&lt;br /&gt;
			sandboxPreload = message(&#039;module-sandbox-preload&#039;)&lt;br /&gt;
		else&lt;br /&gt;
			sandboxPreload = message(&#039;template-sandbox-preload&#039;)&lt;br /&gt;
		end&lt;br /&gt;
		local sandboxCreateUrl = sandboxTitle:fullUrl{action = &#039;edit&#039;, preload = sandboxPreload}&lt;br /&gt;
		local sandboxCreateDisplay = message(&#039;sandbox-create-link-display&#039;)&lt;br /&gt;
		local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay)&lt;br /&gt;
		local mirrorSummary = message(&#039;mirror-edit-summary&#039;, {makeWikilink(templatePage)})&lt;br /&gt;
		local mirrorPreload = message(&#039;mirror-link-preload&#039;)&lt;br /&gt;
		local mirrorUrl = sandboxTitle:fullUrl{action = &#039;edit&#039;, preload = mirrorPreload, summary = mirrorSummary}&lt;br /&gt;
		local mirrorDisplay = message(&#039;mirror-link-display&#039;)&lt;br /&gt;
		local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay)&lt;br /&gt;
		sandboxLinks = message(&#039;sandbox-link-display&#039;) .. &#039; &#039; .. makeToolbar(sandboxCreateLink, mirrorLink)&lt;br /&gt;
	end&lt;br /&gt;
	if testcasesTitle.exists then&lt;br /&gt;
		local testcasesPage = testcasesTitle.prefixedText&lt;br /&gt;
		local testcasesDisplay = message(&#039;testcases-link-display&#039;)&lt;br /&gt;
		local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay)&lt;br /&gt;
		local testcasesEditUrl = testcasesTitle:fullUrl{action = &#039;edit&#039;}&lt;br /&gt;
		local testcasesEditDisplay = message(&#039;testcases-edit-link-display&#039;)&lt;br /&gt;
		local testcasesEditLink = makeUrlLink(testcasesEditUrl, testcasesEditDisplay)&lt;br /&gt;
		testcasesLinks = testcasesLink .. &#039; &#039; .. makeToolbar(testcasesEditLink)&lt;br /&gt;
	else&lt;br /&gt;
		local testcasesPreload&lt;br /&gt;
		if subjectSpace == 828 then&lt;br /&gt;
			testcasesPreload = message(&#039;module-testcases-preload&#039;)&lt;br /&gt;
		else&lt;br /&gt;
			testcasesPreload = message(&#039;template-testcases-preload&#039;)&lt;br /&gt;
		end&lt;br /&gt;
		local testcasesCreateUrl = testcasesTitle:fullUrl{action = &#039;edit&#039;, preload = testcasesPreload}&lt;br /&gt;
		local testcasesCreateDisplay = message(&#039;testcases-create-link-display&#039;)&lt;br /&gt;
		local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay)&lt;br /&gt;
		testcasesLinks = message(&#039;testcases-link-display&#039;) .. &#039; &#039; .. makeToolbar(testcasesCreateLink)&lt;br /&gt;
	end&lt;br /&gt;
	local messageName&lt;br /&gt;
	if subjectSpace == 828 then&lt;br /&gt;
		messageName = &#039;experiment-blurb-module&#039;&lt;br /&gt;
	else&lt;br /&gt;
		messageName = &#039;experiment-blurb-template&#039;&lt;br /&gt;
	end&lt;br /&gt;
	return message(messageName, {sandboxLinks, testcasesLinks})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeCategoriesBlurb(args, env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Generates the text &amp;quot;Please add categories to the /doc subpage.&amp;quot;&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;doc-link-display&#039; --&amp;gt; &#039;/doc&#039;&lt;br /&gt;
	-- &#039;add-categories-blurb&#039; --&amp;gt; &#039;Please add categories to the $1 subpage.&#039;&lt;br /&gt;
	--]]&lt;br /&gt;
	local docTitle = env.docTitle&lt;br /&gt;
	if not docTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local docPathLink = makeWikilink(docTitle.prefixedText, message(&#039;doc-link-display&#039;))&lt;br /&gt;
	return message(&#039;add-categories-blurb&#039;, {docPathLink})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeSubpagesBlurb(args, env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Generates the &amp;quot;Subpages of this template&amp;quot; link.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;template-pagetype&#039; --&amp;gt; &#039;template&#039;&lt;br /&gt;
	-- &#039;module-pagetype&#039; --&amp;gt; &#039;module&#039;&lt;br /&gt;
	-- &#039;default-pagetype&#039; --&amp;gt; &#039;page&#039;&lt;br /&gt;
	-- &#039;subpages-link-display&#039; --&amp;gt; &#039;Subpages of this $1&#039;&lt;br /&gt;
	--]]&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	local templateTitle = env.templateTitle&lt;br /&gt;
	if not subjectSpace or not templateTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local pagetype&lt;br /&gt;
	if subjectSpace == 10 then&lt;br /&gt;
		pagetype = message(&#039;template-pagetype&#039;)&lt;br /&gt;
	elseif subjectSpace == 828 then&lt;br /&gt;
		pagetype = message(&#039;module-pagetype&#039;)&lt;br /&gt;
	else&lt;br /&gt;
		pagetype = message(&#039;default-pagetype&#039;)&lt;br /&gt;
	end&lt;br /&gt;
	local subpagesLink = makeWikilink(&lt;br /&gt;
		&#039;Special:PrefixIndex/&#039; .. templateTitle.prefixedText .. &#039;/&#039;,&lt;br /&gt;
		message(&#039;subpages-link-display&#039;, {pagetype})&lt;br /&gt;
	)&lt;br /&gt;
	return message(&#039;subpages-blurb&#039;, {subpagesLink})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makePrintBlurb(args, env)&lt;br /&gt;
	--[=[&lt;br /&gt;
	-- Generates the blurb displayed when there is a print version of the template available.&lt;br /&gt;
	-- @args - a table of arguments passed by the user&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	--&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;print-link-display&#039; --&amp;gt; &#039;/Print&#039;&lt;br /&gt;
	-- &#039;print-blurb&#039; --&amp;gt; &#039;A [[Help:Books/for experts#Improving the book layout|print version]]&#039;&lt;br /&gt;
	--		.. &#039; of this template exists at $1.&#039;&lt;br /&gt;
	--		.. &#039; If you make a change to this template, please update the print version as well.&#039;&lt;br /&gt;
	-- &#039;display-print-category&#039; --&amp;gt; true&lt;br /&gt;
	-- &#039;print-category&#039; --&amp;gt; &#039;Templates with print versions&#039;&lt;br /&gt;
	--]=]&lt;br /&gt;
	local printTitle = env.printTitle&lt;br /&gt;
	if not printTitle then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local ret&lt;br /&gt;
	if printTitle.exists then&lt;br /&gt;
		local printLink = makeWikilink(printTitle.prefixedText, message(&#039;print-link-display&#039;))&lt;br /&gt;
		ret = message(&#039;print-blurb&#039;, {printLink})&lt;br /&gt;
		local displayPrintCategory = message(&#039;display-print-category&#039;, nil, &#039;boolean&#039;)&lt;br /&gt;
		if displayPrintCategory then&lt;br /&gt;
			ret = ret .. makeCategoryLink(message(&#039;print-category&#039;))&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
-- Tracking categories&lt;br /&gt;
----------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
function p.addTrackingCategories(env)&lt;br /&gt;
	--[[&lt;br /&gt;
	-- Check if {{documentation}} is transcluded on a /doc or /testcases page.&lt;br /&gt;
	-- @env - environment table containing title objects, etc., generated with p.getEnvironment&lt;br /&gt;
	&lt;br /&gt;
	-- Messages:&lt;br /&gt;
	-- &#039;display-strange-usage-category&#039; --&amp;gt; true&lt;br /&gt;
	-- &#039;doc-subpage&#039; --&amp;gt; &#039;doc&#039;&lt;br /&gt;
	-- &#039;testcases-subpage&#039; --&amp;gt; &#039;testcases&#039;&lt;br /&gt;
	-- &#039;strange-usage-category&#039; --&amp;gt; &#039;Wikipedia pages with strange ((documentation)) usage&#039;&lt;br /&gt;
	-- &lt;br /&gt;
	-- /testcases pages in the module namespace are not categorised, as they may have&lt;br /&gt;
	-- {{documentation}} transcluded automatically.&lt;br /&gt;
	--]]&lt;br /&gt;
	local title = env.title&lt;br /&gt;
	local subjectSpace = env.subjectSpace&lt;br /&gt;
	if not title or not subjectSpace then&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
	local subpage = title.subpageText&lt;br /&gt;
	local ret = &#039;&#039;&lt;br /&gt;
	if message(&#039;display-strange-usage-category&#039;, nil, &#039;boolean&#039;)&lt;br /&gt;
		and (&lt;br /&gt;
			subpage == message(&#039;doc-subpage&#039;)&lt;br /&gt;
			or subjectSpace ~= 828 and subpage == message(&#039;testcases-subpage&#039;)&lt;br /&gt;
		)&lt;br /&gt;
	then&lt;br /&gt;
		ret = ret .. makeCategoryLink(message(&#039;strange-usage-category&#039;))&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Template:Documentation&amp;diff=289</id>
		<title>Template:Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Template:Documentation&amp;diff=289"/>
		<updated>2026-05-17T11:37:02Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;&amp;lt;includeonly&amp;gt;{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}&amp;lt;/includeonly&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Draw_(Program)&amp;diff=288</id>
		<title>Draw (Program)</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Draw_(Program)&amp;diff=288"/>
		<updated>2026-05-17T11:35:32Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Draw&#039;&#039;&#039; is a custom ComputerCraft program used to display table image information (for example from the Paint program) on an Advanced Monitor.&lt;br /&gt;
&lt;br /&gt;
== Lua Code ==&lt;br /&gt;
{{Code|1=local defaultTerm = term.native&lt;br /&gt;
&lt;br /&gt;
local function printUsage()&lt;br /&gt;
    print(&amp;quot;draw &amp;lt;monitorSide&amp;gt; &amp;lt;pathToImage&amp;gt; &amp;lt;scale&amp;gt;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local tArgs = { ... }&lt;br /&gt;
if #tArgs &amp;lt; 3 then&lt;br /&gt;
    printUsage()&lt;br /&gt;
    return&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local monitor = peripheral.wrap(tArgs[1])&lt;br /&gt;
local image = paintutils.loadImage(tArgs[2])&lt;br /&gt;
&lt;br /&gt;
local function draw()&lt;br /&gt;
    term.redirect(monitor)&lt;br /&gt;
    if image then&lt;br /&gt;
        term.setBackgroundColor(colors.white)&lt;br /&gt;
        monitor.setTextScale(tonumber(tArgs[3]))&lt;br /&gt;
        term.clear()&lt;br /&gt;
        paintutils.drawImage(image, 1, 1)&lt;br /&gt;
    else&lt;br /&gt;
        print(&amp;quot;Image not found&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    term.redirect(defaultTerm)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
draw()|lang=lua}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Draw_(Program)&amp;diff=287</id>
		<title>Draw (Program)</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Draw_(Program)&amp;diff=287"/>
		<updated>2026-05-17T11:26:24Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Draw&amp;#039;&amp;#039;&amp;#039; is a custom ComputerCraft program used to display table image information (for example from the Paint program) on an Advanced Monitor.  == Lua Code == &amp;lt;code&amp;gt;local defaultTerm = term.native&amp;lt;/code&amp;gt;  {{Code|test}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Draw&#039;&#039;&#039; is a custom ComputerCraft program used to display table image information (for example from the Paint program) on an Advanced Monitor.&lt;br /&gt;
&lt;br /&gt;
== Lua Code ==&lt;br /&gt;
&amp;lt;code&amp;gt;local defaultTerm = term.native&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Code|test}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Template:Code&amp;diff=286</id>
		<title>Template:Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Template:Code&amp;diff=286"/>
		<updated>2026-05-17T11:24:43Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: Created page with &amp;quot;{{#if:{{{inline|}}}|&amp;lt;code {{#if:{{{class|}}}|class=&amp;quot;{{{class}}}&amp;quot;}} {{#if:{{{id|}}}|id=&amp;quot;{{{id}}}&amp;quot;}} {{#if:{{{style|}}}|style=&amp;quot;{{{style}}}&amp;quot;}}&amp;gt;{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang=&amp;quot;{{{lang|{{{2|text}}}}}}&amp;quot;|inline=true}}&amp;lt;/code&amp;gt;|{{#if:{{{header|}}}|&amp;lt;u&amp;gt;&amp;lt;small&amp;gt;{{{header}}}&amp;lt;/small&amp;gt;&amp;lt;/u&amp;gt;}}{{#tag:syntaxhighlight |{{{code|{{{1}}}}}} |lang={{{lang|{{{2|bash}}}}}} }}}}&amp;lt;noinclude&amp;gt; {{documentation}} &amp;lt;/noinclude&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#if:{{{inline|}}}|&amp;lt;code {{#if:{{{class|}}}|class=&amp;quot;{{{class}}}&amp;quot;}} {{#if:{{{id|}}}|id=&amp;quot;{{{id}}}&amp;quot;}} {{#if:{{{style|}}}|style=&amp;quot;{{{style}}}&amp;quot;}}&amp;gt;{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang=&amp;quot;{{{lang|{{{2|text}}}}}}&amp;quot;|inline=true}}&amp;lt;/code&amp;gt;|{{#if:{{{header|}}}|&amp;lt;u&amp;gt;&amp;lt;small&amp;gt;{{{header}}}&amp;lt;/small&amp;gt;&amp;lt;/u&amp;gt;}}{{#tag:syntaxhighlight&lt;br /&gt;
|{{{code|{{{1}}}}}}&lt;br /&gt;
|lang={{{lang|{{{2|bash}}}}}}&lt;br /&gt;
}}}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=TLS_1&amp;diff=285</id>
		<title>TLS 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=TLS_1&amp;diff=285"/>
		<updated>2026-05-15T08:48:47Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}{{TLSInfoBox|title=TLS #1|date-start=20th of December 2017|date-end=Mid May 2018|members=* [[Kuba0040|Kuba_0040]]&lt;br /&gt;
* [[Domo1504K]]&lt;br /&gt;
* [[Olwik]]&lt;br /&gt;
* [[puszczek]]&lt;br /&gt;
* [[Jacob92]]&lt;br /&gt;
* [[DickSon_TM]]&lt;br /&gt;
* [[Oliwka]]&lt;br /&gt;
* [[Wena_PL]]&lt;br /&gt;
* [[snatch77jr]]&lt;br /&gt;
* [[Emma]]}}&lt;br /&gt;
&lt;br /&gt;
The TLS (short for „Tekkit Lite Server” and later retroactively named TLS1) was a multiplayer server operating since the 20&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; of December 2017 until May of 2018. The server had to be shut down due to an ever worsening memory leak making it unplayable.&lt;br /&gt;
&lt;br /&gt;
The server opened with Domo and Kuba coming together to construct a nuclear power plant and play together over the winter break. The little server however would quickly grow and attract new players.&lt;br /&gt;
&lt;br /&gt;
== Players: ==&lt;br /&gt;
Throughout it’s entire history, 10 player would play on the server. All of them, with the exception of snatch77jr being classmates. The exact order of players joining is lost to time as the server’s history wasn’t carefully logged during it’s operation. It is however certain that the first 4 players to play together were:&lt;br /&gt;
&lt;br /&gt;
# [[Kuba0040|Kuba_0040]]&lt;br /&gt;
# [[Domo1504K]]&lt;br /&gt;
# [[Olwik]]&lt;br /&gt;
# [[puszeczek]]&lt;br /&gt;
&lt;br /&gt;
The remaining players would join soon after as news about the server spread over class messenger groups and word of mouth.&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Full list of players:&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
* Kuba_0040&lt;br /&gt;
* Domo1504K&lt;br /&gt;
* Olwik&lt;br /&gt;
* puszczek&lt;br /&gt;
* [[Jacob92]]&lt;br /&gt;
* [[DickSon_TM]] &#039;&#039;(reffered to as Alek for the remainder of this article)&#039;&#039;&lt;br /&gt;
* [[Oliwka]]&lt;br /&gt;
* [[Wena_PL]]&lt;br /&gt;
* [[snatch77jr]]&lt;br /&gt;
* [[Tordyy_Gamer6]] &#039;&#039;(reffered to as&#039;&#039; &#039;&#039;Emma for the remainder of this article)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Everyday life on the server ==&lt;br /&gt;
Due to the large amount of players the server harboured a strong sense of community, amplified by the fact that most of the residents lived together in one neighbourhood located within the Living Sector &#039;&#039;(Sekcja Mieszkalna)&#039;&#039;. The server’s residents would help each other on various projects as well as join groups. The server operated under a capitalist economy with coal being chosen as it’s currency due to it’s unusual scarcity on the server.&lt;br /&gt;
&lt;br /&gt;
==== The city (under the leadership of Kuba) was divided into the following sectors: ====&lt;br /&gt;
&lt;br /&gt;
* Living Sector&lt;br /&gt;
&lt;br /&gt;
Although initially started as a small offshoot of the city, this sector rapidly grew over the city’s lifetime becoming the largest and most developed. Notably, it was also the only sector with a consistent visual style and sense of order and care for the surroundings. This made it a favourite among everyone. It was the home of all of the server’s residents following the SNPP explosion. This sector was not entirely devoid of industry as an experimental Breeder Reactor was constructed right besides Olwik’s house. This reactor later exploded due to the IC2 “infinite overheating” glitch. Additionally the sector housed a local oil fired power plant, the first to use Energy Converters on the whole server.&lt;br /&gt;
&lt;br /&gt;
* Industrial Sector&lt;br /&gt;
&lt;br /&gt;
The industrial sector was the oldest on the server being built mostly in 2013-2016 back when the TLS world was just Kuba’s personal creative world. It housed many early experiments in buildcraft and IC2 machinery. Kuba never removed failed experiments leading to his learning journey being fantastically perserved. At the same time this made the Industrial Sector a very ugly and difficult to navigate place making it rarely visited by anyone other than Kuba. During the server’s lifetime a key feature of the sector became it’s ATOM nuclear power plant generation &amp;amp; research complex.&lt;br /&gt;
&lt;br /&gt;
* City Center&lt;br /&gt;
* Old Living Sector&lt;br /&gt;
* Community Mine&lt;br /&gt;
&lt;br /&gt;
==== A key location on the server was Siberia which was it’s own independently run state. ====&lt;br /&gt;
&lt;br /&gt;
== Roles and significant achievements of each player ==&lt;br /&gt;
&lt;br /&gt;
* Kuba_0040&lt;br /&gt;
&lt;br /&gt;
Ran the energy grid and server’s industries, built factories, roads and transportation systems. It was Kuba’s job to refuel the servers nuclear reactors before the automatic Class IV designs entered service. &lt;br /&gt;
&lt;br /&gt;
He also maintained the Siberian Nuclear Power Plant &#039;&#039;(This is a key detail, please keep it in mind for later)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Domo1504K&lt;br /&gt;
&lt;br /&gt;
Built and partially operated the Syberian Nuclear Power Plant prior to it’s explosion. Along with puszczek he worked together on developing Siberia. &lt;br /&gt;
&lt;br /&gt;
After the SNPP explosion Domo shifted his focus onto helping construct pipelines to foster the petrochemical industry.&lt;br /&gt;
&lt;br /&gt;
* Olwik&lt;br /&gt;
&lt;br /&gt;
Olwik was the great collaborator. Together with puszczek and Olwika she worked on many community projects like the Thermal Springs (Gorące Źródła) and Game Center. She was the leader of the Anti-Pig Coalition group. &lt;br /&gt;
&lt;br /&gt;
She was the only private resident to posses nuclear weapons which were later confiscated by the state.&lt;br /&gt;
&lt;br /&gt;
She played a major role in other projects such as the End Base as well as researching an at the time unknown mod &#039;&#039;“Factorization”&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Other notable projects of her include the Biedronka super market and the secret network of underground tunnels stretching to all parts of the server.&lt;br /&gt;
&lt;br /&gt;
* Puszczek&lt;br /&gt;
&lt;br /&gt;
Prior to the SNPP explosion, puszczek was the first player to move in to Siberia as he found it more aesthetically pleasing than the messy city. &lt;br /&gt;
&lt;br /&gt;
Together with Domo he made plans to develop the Siberia area with his largest project being the Siberian Restaurant and Hotel.Unfortunately, these plans could not be realised before he was forced to move to the city following the explosion. &lt;br /&gt;
&lt;br /&gt;
At the city puszczek collaborated with many other players like the before mentioned Olwik on countless community projects. Although he lived humbly, he was one of the richest players on the server with advanced Power Armor sets and a private hydroelectric dam to avoid paying electric bills. Puszczek was another key member of the Anti-Pig coalition.&lt;br /&gt;
&lt;br /&gt;
* Jacob92&lt;br /&gt;
&lt;br /&gt;
Jacob’s main contribution to the server was his Pub. Originally built to serve the Alek Hotel, the Pub and it’s signature product – coffee – quickly became a key point of the city. &lt;br /&gt;
&lt;br /&gt;
Jacob’s Dark Coffee helped players run and mine faster at the Community Mineshaft. This lead to coffee becoming an extremally popular beverage among the residents with many players becoming addicted to it and frequently overdosing. The message “&amp;lt;player&amp;gt; was killed by magic” frequently popped up in the server’s chat. The most avid coffee drinkers were Kuba and puszczek, however virtually everybody drank at least 3 cups per minecraft day.&lt;br /&gt;
&lt;br /&gt;
This popularity was sure to bring Jacob immense wealth, however unfortunately due to poor security his Pub was the Burglary Center of the server, exploited by virtually everyone as an easy source of Coal &#039;&#039;(the city’s currency)&#039;&#039;. When combined with astronomical electricity costs associated with operating the Coffee Machine, Jacob was plunged into debt, amassing a deficit of over 384 coal to the city in unpaid electricity. It’s for these reasons that Jacob rarely played on the server in the later parts of it’s history.&lt;br /&gt;
&lt;br /&gt;
* Alek&lt;br /&gt;
[[File:Alek&#039;s Hotel.png|alt=Alek&#039;s Hotel after being superficially damaged with dynamite|thumb|Alek&#039;s Hotel after being superficially damaged with dynamite]]&lt;br /&gt;
Alek’s main contribution to the server was the construction of his hotel and castle. &lt;br /&gt;
&lt;br /&gt;
The towering hotel made purely of gold blocks quickly became an eye-sore for the city’s residents with resentment towards it quickly building. Kuba tried to reason with the other players to keep Alek playing, however was unsuccessful as an armed gang lead by puszczek and Domo acquired dynamite and superficially damaged the hotel. The hotel was repaired and the weapons siezed however resentment towards it continued to grow until it boiled over resulting with the hotel being mined down by a quarry with the help of Kuba who secretly hated the hotel all along. The citizens shared the gold blocks among themselves and celebrated by overdosing at Jacob’s Pub.&lt;br /&gt;
&lt;br /&gt;
* Oliwka&lt;br /&gt;
&lt;br /&gt;
Oliwka was on the surface a “normal” player who lived by the lake neighbouring Kuba and puszczek’s houses. &lt;br /&gt;
&lt;br /&gt;
She worked closely together with Olwik and Wena on various projects. She cared greatly about the appearance of the city and worked hard to pretty-up the Living Sector. One of her main public contributions was the construction of an elevated bridge connecting her house with Wena’s.  &lt;br /&gt;
&lt;br /&gt;
In secret however, Oliwka was a crucial member of the Anti-Pig coalition, responsible for the construction of it’s secret hideout.  &lt;br /&gt;
&lt;br /&gt;
* Wena&lt;br /&gt;
&lt;br /&gt;
Wena was a peaceful player who mostly kept to herself.&lt;br /&gt;
&lt;br /&gt;
Unfortunetly, her life would drastically turn for the worst after she built a pig-face from wool near Jacob’s Pub. The statue was adorned with a sign saying “Nie zabijaj świnków” (Don’t kill the pigs). This simple act for no reason whatsoever would lead to the creation of the Anti-Pig coalition. She was the only player to openly support protecting the server’s pigs.&lt;br /&gt;
&lt;br /&gt;
* Snatch&lt;br /&gt;
&lt;br /&gt;
Snatch rarely played on the server, however even in his brief time online managed to etch himself into the server’s history. &lt;br /&gt;
&lt;br /&gt;
Snatch was one of the main drivers behind the Siberia-City nuclear stalemate after being manipulated by Kuba into burring concealed nuclear weapons into Siberia territory. Kuba then betrayed snatch by leaking the news to Domo which resulted in a tense nuclear stalemate between the two players. Shortly before the SNPP explosion tensions dissipated as Kuba &#039;&#039;(again, manipulating both players)&#039;&#039; took part in the creation of a peace deal which sought the Nuclear Control Center destroyed and some &#039;&#039;(but not all)&#039;&#039; Nuclear Weapons removed.&lt;br /&gt;
&lt;br /&gt;
* Tordyy_Gamer6&lt;br /&gt;
&lt;br /&gt;
Emma was the last player to join the server a week before the Biedronka Incident. &lt;br /&gt;
&lt;br /&gt;
She lived together with Wena, later constructing her own home near Jacob’s Pub. Her main contribution to the server was the construction of many pretty Pokemon statues and pixelarts around the Living Sector.&lt;br /&gt;
&lt;br /&gt;
== Key events in the server’s history ==&lt;br /&gt;
&#039;&#039;&#039;Notice:&#039;&#039;&#039; In order to fully understand the events you are about to learn about it is imperative to understand Kuba’s character and head space during the servers time. Kuba had a very ugly attitude to lie, gaslight and manipulate people to cause drama or steer events towards his goals. Pre-2020 Kuba is a difficult person to break down, on one hand he genuinely cared about others if they needed help, on the other hand if others went against his plans or wishes he often grew resentful and tried to quietly and secretly steer things in directions he saw “correct”. Kuba was a man who liked control and things being run and done to his liking. Below is a first person letter from Kuba &#039;&#039;(keep in mind he wrote this article)&#039;&#039; about this period in time:&amp;lt;blockquote&amp;gt;&#039;&#039;I was a awful person to a lot of different people, often only concerned with my needs and wants. During the coronavirus pandemic a lot of different things happened in my life, things I’d rather not discuss publicly. Life finally shoved sense into me and made me finally see what I was doing to others. It was a rough period in my life. I am beyond disgusted at the things I used to do and say, and the systematic nature of it all. I was deeply ashamed of all the lies I’ve told in the past which left me to not admit many of them for years after the fact. I’d like to say sorry to all of my close friends who I’ve deceived for years, making up stories to make myself or my accomplishments seem grander than they really were. I’d like to say sorry to my friends like Domo and snatch for steering them in directions I saw fit. I’d like to say sorry to the people of Hyptek about whom I’ve lied for years to further my story of ATOM Co. I’d like to be able to say I am a better person now, but that is left to You to judge. All I can hope for is that you can accept me for the person I am now. I wish you all the best. Kuba 18-09-2025r.&#039;&#039;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Snatch – Domo Nuclear Stalemate ===&lt;br /&gt;
The crisis started with Kuba having a stupid and unreasonable grudge against Siberia. He didn’t like that people like Domo and puszczek chose to settle outside of his city. He wanted them to move back and decided to create some drama to make it happen. &lt;br /&gt;
&lt;br /&gt;
It is unclear what exact lies Kuba told snatch about Domo, those got lost to time through fuzzy memory. However, Kuba managed to plant a seed of distrust against Domo within snatch which lead them to bury a series of nuclear weapons below Siberia “in case things escalated”. &lt;br /&gt;
&lt;br /&gt;
At the same time, Kuba came to Domo with a “shocking discovery” of nuclear weapons being buried under Siberia. The two then conducted an investigation which lead the blame on snatch. Urging both sides separately to keep his involvement a secret, Kuba successfully played both sides in order to escalate the conflict. His ultimate goal was to lead puszczek to leave Siberia for the city. &lt;br /&gt;
&lt;br /&gt;
The situation took an objectively expected turn when Domo placed his own nuclear weapons under the city. This came as a surprise to Kuba. With his city being threatened, Kuba quickly shifted his focus towards diffusing the situation. Ultimately concluding with both parties deciding to excavate and remove their nuclear weapons from the other’s territory. All bombs were removed from the city, however two remained buried under Siberia as nobody &#039;&#039;(including Kuba)&#039;&#039; could find them again. This resulted in the frequencies &#039;&#039;12x&#039;&#039; being banned from use as to not accidentally detonate these leftover weapons. &lt;br /&gt;
&lt;br /&gt;
=== Siberia NPP Explosion ===&lt;br /&gt;
The explosion at the SNPP is one of the most defining moments in TLS history and at the same time one of the most intricate myths Kuba has crafted over the years to suit his goals. &lt;br /&gt;
&lt;br /&gt;
As stated before, Kuba didn’t approve of others living outside his city. Publicly he didn’t have any problems with it but privately he was working to get the players of Siberia to move to the city on their own accord. He initially tried to create an atmosphere of fear to get theplayers to move with the Snatch-Domo Nuclear Scare, however after that plan backfired he shifted his focus to try and find another way. &lt;br /&gt;
&lt;br /&gt;
Eventually he came to the conclusion that only a serious accident at the Siberian Nuclear Power Plant would work. Kuba also had a partial resentment towards the plant itself. Even though he helped built it, the plant quickly expanded way beyond the initial two reactors. This lead to the Siberian NPP being moretechnologically advanced and of larger scale than Kuba’s own city NPP. This lead him to quickly expand his own plant to match Siberia as well as kickstarting a race to rapidly develop nuclear technology to out-do Domo’s plant. &lt;br /&gt;
&lt;br /&gt;
This grudge aside, Kuba also took issue with the fact that he had to refuel Siberia by himself, even though he wasn’t it’s owner. In the days prior to the invention of self-refueling Class IV reactors, Kuba had to every 2.5 hours stop whatever he was doing on the server and refuel all 11 reactors running on the server &#039;&#039;(6 of which were in Siberia)&#039;&#039;. This whole process would take 20 minutes as prior to Class III+ reactors, refuelling was rather annoying with the cooling system clogging the fuel channels with LZH compensators once the uranium rods depleted. &lt;br /&gt;
&lt;br /&gt;
While this annoyance with Siberia might seem reasonable at first glance, keep in mind that Kuba never asked Domo to help in refuelling the reactors. He simply did it himself and was then “shocked” like the stupid, egotistical fool he was that nobody helped him. It was for all of these reasons that Kuba decided to manufacture an accident at SNPP.&lt;br /&gt;
&lt;br /&gt;
Due to the previous Nuclear Scare, Kuba had to be careful to not escalate tensions between the city and Siberia as well as not cause a panic within the city’s residents &#039;&#039;(the vast majority of the server’s energy came from nuclear power + keep in mind there already was anaccident at the Living Sector Experimental Breeder two months prior)&#039;&#039;. It was also imperative that the whole operation remained a secret with Kuba not being suspected of foul play. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To meet all these goals, Kuba formed the following plan.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# The accident needed a likely cause. Siberia’s untidy and exposed wiring, &#039;&#039;(at the time)&#039;&#039; outdated technology and the lack of a “forever overheating” glitch detection system provided the perfect background to justify the accident. Additionally, Domo himself disabled the “Emergency 100” system on his reactors as the cooling system kept triggering whenever the reactor’s temperature would spike during a coolant change-over. This ensured no alarms would ring in the city to notify others of the situation.&lt;br /&gt;
# The accident must happen while Kuba is publicly away from Siberia, preferably working on a project with other residents. The construction of the Biedronka supermarket was used an an alibi.&lt;br /&gt;
# The accident must be small enough to be believable while damaging enough to shut down the plant. If more than one reactor exploded the circumstances behind such an event would certainly raise some eyebrows. As a result, during many refuelling trips Kuba carefully inspected the wiring at the plant, making sure not to spend an abnormal amount of time on any singular trip. He eventually determined that Reactor number 4, named “The Nuke” was an excellent candidate to sabotage.  It’s central location within the plant, neighbouring the control rooms of reactors 3+4 and 5+6 would ensure it would destroy enough wiring for the reactors to become inoperable while also keeping their safety systems intact so that more explosions would not follow.&lt;br /&gt;
&lt;br /&gt;
Kuba on his 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; to last refueling trip sabotaged a blue-alloy wire powering the cooling machinery as well as broke an extra wire to disable the overheat protection system of Unit 4. Both of these cables were within the radius of the explosion, to ensure all evidence is destroyed. Additionally, the charge in the cooling room’s batteries would ensure the reactor would keep working for a couple hours before overheating.&lt;br /&gt;
&lt;br /&gt;
Kuba set his plan in motion around 2 weeks after the Nuclear Scare as tensions had fully dissipated by then. Instead of working on the Biedronka supermarket he took the time to upgrade the Coffee Machine to produce Milk Coffee as well and constructed his own mini pub next to Jacob’s.&lt;br /&gt;
&lt;br /&gt;
When he went out to change the fuel after the accident he faked surprise and called an emergency meeting with Domo to discuss what to do. It was eventually decided to not rebuild the SNPP and instead seal of the plant and evacuate Siberia. Both Domo and puszczek moved back to the city and the whole incident relatively quickly got forgotten as an unexpected crash corrupted the TLS world soon after.&lt;br /&gt;
&lt;br /&gt;
No one ever found out, and Kuba kept perpetuating the myth for years to come as part of the ATOM Co ethos.&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=TLS_1&amp;diff=284</id>
		<title>TLS 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=TLS_1&amp;diff=284"/>
		<updated>2026-05-15T08:48:30Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}{{TLSInfoBox|title=TLS #1|date-start=20th of December 2017|date-end=Mid May 2018|members=* [[Kuba_0040|Kuba0040]]&lt;br /&gt;
* [[Domo1504K]]&lt;br /&gt;
* [[Olwik]]&lt;br /&gt;
* [[puszczek]]&lt;br /&gt;
* [[Jacob92]]&lt;br /&gt;
* [[DickSon_TM]]&lt;br /&gt;
* [[Oliwka]]&lt;br /&gt;
* [[Wena_PL]]&lt;br /&gt;
* [[snatch77jr]]&lt;br /&gt;
* [[Emma]]}}&lt;br /&gt;
&lt;br /&gt;
The TLS (short for „Tekkit Lite Server” and later retroactively named TLS1) was a multiplayer server operating since the 20&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; of December 2017 until May of 2018. The server had to be shut down due to an ever worsening memory leak making it unplayable.&lt;br /&gt;
&lt;br /&gt;
The server opened with Domo and Kuba coming together to construct a nuclear power plant and play together over the winter break. The little server however would quickly grow and attract new players.&lt;br /&gt;
&lt;br /&gt;
== Players: ==&lt;br /&gt;
Throughout it’s entire history, 10 player would play on the server. All of them, with the exception of snatch77jr being classmates. The exact order of players joining is lost to time as the server’s history wasn’t carefully logged during it’s operation. It is however certain that the first 4 players to play together were:&lt;br /&gt;
&lt;br /&gt;
# [[Kuba0040|Kuba_0040]]&lt;br /&gt;
# [[Domo1504K]]&lt;br /&gt;
# [[Olwik]]&lt;br /&gt;
# [[puszeczek]]&lt;br /&gt;
&lt;br /&gt;
The remaining players would join soon after as news about the server spread over class messenger groups and word of mouth.&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Full list of players:&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
* Kuba_0040&lt;br /&gt;
* Domo1504K&lt;br /&gt;
* Olwik&lt;br /&gt;
* puszczek&lt;br /&gt;
* [[Jacob92]]&lt;br /&gt;
* [[DickSon_TM]] &#039;&#039;(reffered to as Alek for the remainder of this article)&#039;&#039;&lt;br /&gt;
* [[Oliwka]]&lt;br /&gt;
* [[Wena_PL]]&lt;br /&gt;
* [[snatch77jr]]&lt;br /&gt;
* [[Tordyy_Gamer6]] &#039;&#039;(reffered to as&#039;&#039; &#039;&#039;Emma for the remainder of this article)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Everyday life on the server ==&lt;br /&gt;
Due to the large amount of players the server harboured a strong sense of community, amplified by the fact that most of the residents lived together in one neighbourhood located within the Living Sector &#039;&#039;(Sekcja Mieszkalna)&#039;&#039;. The server’s residents would help each other on various projects as well as join groups. The server operated under a capitalist economy with coal being chosen as it’s currency due to it’s unusual scarcity on the server.&lt;br /&gt;
&lt;br /&gt;
==== The city (under the leadership of Kuba) was divided into the following sectors: ====&lt;br /&gt;
&lt;br /&gt;
* Living Sector&lt;br /&gt;
&lt;br /&gt;
Although initially started as a small offshoot of the city, this sector rapidly grew over the city’s lifetime becoming the largest and most developed. Notably, it was also the only sector with a consistent visual style and sense of order and care for the surroundings. This made it a favourite among everyone. It was the home of all of the server’s residents following the SNPP explosion. This sector was not entirely devoid of industry as an experimental Breeder Reactor was constructed right besides Olwik’s house. This reactor later exploded due to the IC2 “infinite overheating” glitch. Additionally the sector housed a local oil fired power plant, the first to use Energy Converters on the whole server.&lt;br /&gt;
&lt;br /&gt;
* Industrial Sector&lt;br /&gt;
&lt;br /&gt;
The industrial sector was the oldest on the server being built mostly in 2013-2016 back when the TLS world was just Kuba’s personal creative world. It housed many early experiments in buildcraft and IC2 machinery. Kuba never removed failed experiments leading to his learning journey being fantastically perserved. At the same time this made the Industrial Sector a very ugly and difficult to navigate place making it rarely visited by anyone other than Kuba. During the server’s lifetime a key feature of the sector became it’s ATOM nuclear power plant generation &amp;amp; research complex.&lt;br /&gt;
&lt;br /&gt;
* City Center&lt;br /&gt;
* Old Living Sector&lt;br /&gt;
* Community Mine&lt;br /&gt;
&lt;br /&gt;
==== A key location on the server was Siberia which was it’s own independently run state. ====&lt;br /&gt;
&lt;br /&gt;
== Roles and significant achievements of each player ==&lt;br /&gt;
&lt;br /&gt;
* Kuba_0040&lt;br /&gt;
&lt;br /&gt;
Ran the energy grid and server’s industries, built factories, roads and transportation systems. It was Kuba’s job to refuel the servers nuclear reactors before the automatic Class IV designs entered service. &lt;br /&gt;
&lt;br /&gt;
He also maintained the Siberian Nuclear Power Plant &#039;&#039;(This is a key detail, please keep it in mind for later)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Domo1504K&lt;br /&gt;
&lt;br /&gt;
Built and partially operated the Syberian Nuclear Power Plant prior to it’s explosion. Along with puszczek he worked together on developing Siberia. &lt;br /&gt;
&lt;br /&gt;
After the SNPP explosion Domo shifted his focus onto helping construct pipelines to foster the petrochemical industry.&lt;br /&gt;
&lt;br /&gt;
* Olwik&lt;br /&gt;
&lt;br /&gt;
Olwik was the great collaborator. Together with puszczek and Olwika she worked on many community projects like the Thermal Springs (Gorące Źródła) and Game Center. She was the leader of the Anti-Pig Coalition group. &lt;br /&gt;
&lt;br /&gt;
She was the only private resident to posses nuclear weapons which were later confiscated by the state.&lt;br /&gt;
&lt;br /&gt;
She played a major role in other projects such as the End Base as well as researching an at the time unknown mod &#039;&#039;“Factorization”&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Other notable projects of her include the Biedronka super market and the secret network of underground tunnels stretching to all parts of the server.&lt;br /&gt;
&lt;br /&gt;
* Puszczek&lt;br /&gt;
&lt;br /&gt;
Prior to the SNPP explosion, puszczek was the first player to move in to Siberia as he found it more aesthetically pleasing than the messy city. &lt;br /&gt;
&lt;br /&gt;
Together with Domo he made plans to develop the Siberia area with his largest project being the Siberian Restaurant and Hotel.Unfortunately, these plans could not be realised before he was forced to move to the city following the explosion. &lt;br /&gt;
&lt;br /&gt;
At the city puszczek collaborated with many other players like the before mentioned Olwik on countless community projects. Although he lived humbly, he was one of the richest players on the server with advanced Power Armor sets and a private hydroelectric dam to avoid paying electric bills. Puszczek was another key member of the Anti-Pig coalition.&lt;br /&gt;
&lt;br /&gt;
* Jacob92&lt;br /&gt;
&lt;br /&gt;
Jacob’s main contribution to the server was his Pub. Originally built to serve the Alek Hotel, the Pub and it’s signature product – coffee – quickly became a key point of the city. &lt;br /&gt;
&lt;br /&gt;
Jacob’s Dark Coffee helped players run and mine faster at the Community Mineshaft. This lead to coffee becoming an extremally popular beverage among the residents with many players becoming addicted to it and frequently overdosing. The message “&amp;lt;player&amp;gt; was killed by magic” frequently popped up in the server’s chat. The most avid coffee drinkers were Kuba and puszczek, however virtually everybody drank at least 3 cups per minecraft day.&lt;br /&gt;
&lt;br /&gt;
This popularity was sure to bring Jacob immense wealth, however unfortunately due to poor security his Pub was the Burglary Center of the server, exploited by virtually everyone as an easy source of Coal &#039;&#039;(the city’s currency)&#039;&#039;. When combined with astronomical electricity costs associated with operating the Coffee Machine, Jacob was plunged into debt, amassing a deficit of over 384 coal to the city in unpaid electricity. It’s for these reasons that Jacob rarely played on the server in the later parts of it’s history.&lt;br /&gt;
&lt;br /&gt;
* Alek&lt;br /&gt;
[[File:Alek&#039;s Hotel.png|alt=Alek&#039;s Hotel after being superficially damaged with dynamite|thumb|Alek&#039;s Hotel after being superficially damaged with dynamite]]&lt;br /&gt;
Alek’s main contribution to the server was the construction of his hotel and castle. &lt;br /&gt;
&lt;br /&gt;
The towering hotel made purely of gold blocks quickly became an eye-sore for the city’s residents with resentment towards it quickly building. Kuba tried to reason with the other players to keep Alek playing, however was unsuccessful as an armed gang lead by puszczek and Domo acquired dynamite and superficially damaged the hotel. The hotel was repaired and the weapons siezed however resentment towards it continued to grow until it boiled over resulting with the hotel being mined down by a quarry with the help of Kuba who secretly hated the hotel all along. The citizens shared the gold blocks among themselves and celebrated by overdosing at Jacob’s Pub.&lt;br /&gt;
&lt;br /&gt;
* Oliwka&lt;br /&gt;
&lt;br /&gt;
Oliwka was on the surface a “normal” player who lived by the lake neighbouring Kuba and puszczek’s houses. &lt;br /&gt;
&lt;br /&gt;
She worked closely together with Olwik and Wena on various projects. She cared greatly about the appearance of the city and worked hard to pretty-up the Living Sector. One of her main public contributions was the construction of an elevated bridge connecting her house with Wena’s.  &lt;br /&gt;
&lt;br /&gt;
In secret however, Oliwka was a crucial member of the Anti-Pig coalition, responsible for the construction of it’s secret hideout.  &lt;br /&gt;
&lt;br /&gt;
* Wena&lt;br /&gt;
&lt;br /&gt;
Wena was a peaceful player who mostly kept to herself.&lt;br /&gt;
&lt;br /&gt;
Unfortunetly, her life would drastically turn for the worst after she built a pig-face from wool near Jacob’s Pub. The statue was adorned with a sign saying “Nie zabijaj świnków” (Don’t kill the pigs). This simple act for no reason whatsoever would lead to the creation of the Anti-Pig coalition. She was the only player to openly support protecting the server’s pigs.&lt;br /&gt;
&lt;br /&gt;
* Snatch&lt;br /&gt;
&lt;br /&gt;
Snatch rarely played on the server, however even in his brief time online managed to etch himself into the server’s history. &lt;br /&gt;
&lt;br /&gt;
Snatch was one of the main drivers behind the Siberia-City nuclear stalemate after being manipulated by Kuba into burring concealed nuclear weapons into Siberia territory. Kuba then betrayed snatch by leaking the news to Domo which resulted in a tense nuclear stalemate between the two players. Shortly before the SNPP explosion tensions dissipated as Kuba &#039;&#039;(again, manipulating both players)&#039;&#039; took part in the creation of a peace deal which sought the Nuclear Control Center destroyed and some &#039;&#039;(but not all)&#039;&#039; Nuclear Weapons removed.&lt;br /&gt;
&lt;br /&gt;
* Tordyy_Gamer6&lt;br /&gt;
&lt;br /&gt;
Emma was the last player to join the server a week before the Biedronka Incident. &lt;br /&gt;
&lt;br /&gt;
She lived together with Wena, later constructing her own home near Jacob’s Pub. Her main contribution to the server was the construction of many pretty Pokemon statues and pixelarts around the Living Sector.&lt;br /&gt;
&lt;br /&gt;
== Key events in the server’s history ==&lt;br /&gt;
&#039;&#039;&#039;Notice:&#039;&#039;&#039; In order to fully understand the events you are about to learn about it is imperative to understand Kuba’s character and head space during the servers time. Kuba had a very ugly attitude to lie, gaslight and manipulate people to cause drama or steer events towards his goals. Pre-2020 Kuba is a difficult person to break down, on one hand he genuinely cared about others if they needed help, on the other hand if others went against his plans or wishes he often grew resentful and tried to quietly and secretly steer things in directions he saw “correct”. Kuba was a man who liked control and things being run and done to his liking. Below is a first person letter from Kuba &#039;&#039;(keep in mind he wrote this article)&#039;&#039; about this period in time:&amp;lt;blockquote&amp;gt;&#039;&#039;I was a awful person to a lot of different people, often only concerned with my needs and wants. During the coronavirus pandemic a lot of different things happened in my life, things I’d rather not discuss publicly. Life finally shoved sense into me and made me finally see what I was doing to others. It was a rough period in my life. I am beyond disgusted at the things I used to do and say, and the systematic nature of it all. I was deeply ashamed of all the lies I’ve told in the past which left me to not admit many of them for years after the fact. I’d like to say sorry to all of my close friends who I’ve deceived for years, making up stories to make myself or my accomplishments seem grander than they really were. I’d like to say sorry to my friends like Domo and snatch for steering them in directions I saw fit. I’d like to say sorry to the people of Hyptek about whom I’ve lied for years to further my story of ATOM Co. I’d like to be able to say I am a better person now, but that is left to You to judge. All I can hope for is that you can accept me for the person I am now. I wish you all the best. Kuba 18-09-2025r.&#039;&#039;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Snatch – Domo Nuclear Stalemate ===&lt;br /&gt;
The crisis started with Kuba having a stupid and unreasonable grudge against Siberia. He didn’t like that people like Domo and puszczek chose to settle outside of his city. He wanted them to move back and decided to create some drama to make it happen. &lt;br /&gt;
&lt;br /&gt;
It is unclear what exact lies Kuba told snatch about Domo, those got lost to time through fuzzy memory. However, Kuba managed to plant a seed of distrust against Domo within snatch which lead them to bury a series of nuclear weapons below Siberia “in case things escalated”. &lt;br /&gt;
&lt;br /&gt;
At the same time, Kuba came to Domo with a “shocking discovery” of nuclear weapons being buried under Siberia. The two then conducted an investigation which lead the blame on snatch. Urging both sides separately to keep his involvement a secret, Kuba successfully played both sides in order to escalate the conflict. His ultimate goal was to lead puszczek to leave Siberia for the city. &lt;br /&gt;
&lt;br /&gt;
The situation took an objectively expected turn when Domo placed his own nuclear weapons under the city. This came as a surprise to Kuba. With his city being threatened, Kuba quickly shifted his focus towards diffusing the situation. Ultimately concluding with both parties deciding to excavate and remove their nuclear weapons from the other’s territory. All bombs were removed from the city, however two remained buried under Siberia as nobody &#039;&#039;(including Kuba)&#039;&#039; could find them again. This resulted in the frequencies &#039;&#039;12x&#039;&#039; being banned from use as to not accidentally detonate these leftover weapons. &lt;br /&gt;
&lt;br /&gt;
=== Siberia NPP Explosion ===&lt;br /&gt;
The explosion at the SNPP is one of the most defining moments in TLS history and at the same time one of the most intricate myths Kuba has crafted over the years to suit his goals. &lt;br /&gt;
&lt;br /&gt;
As stated before, Kuba didn’t approve of others living outside his city. Publicly he didn’t have any problems with it but privately he was working to get the players of Siberia to move to the city on their own accord. He initially tried to create an atmosphere of fear to get theplayers to move with the Snatch-Domo Nuclear Scare, however after that plan backfired he shifted his focus to try and find another way. &lt;br /&gt;
&lt;br /&gt;
Eventually he came to the conclusion that only a serious accident at the Siberian Nuclear Power Plant would work. Kuba also had a partial resentment towards the plant itself. Even though he helped built it, the plant quickly expanded way beyond the initial two reactors. This lead to the Siberian NPP being moretechnologically advanced and of larger scale than Kuba’s own city NPP. This lead him to quickly expand his own plant to match Siberia as well as kickstarting a race to rapidly develop nuclear technology to out-do Domo’s plant. &lt;br /&gt;
&lt;br /&gt;
This grudge aside, Kuba also took issue with the fact that he had to refuel Siberia by himself, even though he wasn’t it’s owner. In the days prior to the invention of self-refueling Class IV reactors, Kuba had to every 2.5 hours stop whatever he was doing on the server and refuel all 11 reactors running on the server &#039;&#039;(6 of which were in Siberia)&#039;&#039;. This whole process would take 20 minutes as prior to Class III+ reactors, refuelling was rather annoying with the cooling system clogging the fuel channels with LZH compensators once the uranium rods depleted. &lt;br /&gt;
&lt;br /&gt;
While this annoyance with Siberia might seem reasonable at first glance, keep in mind that Kuba never asked Domo to help in refuelling the reactors. He simply did it himself and was then “shocked” like the stupid, egotistical fool he was that nobody helped him. It was for all of these reasons that Kuba decided to manufacture an accident at SNPP.&lt;br /&gt;
&lt;br /&gt;
Due to the previous Nuclear Scare, Kuba had to be careful to not escalate tensions between the city and Siberia as well as not cause a panic within the city’s residents &#039;&#039;(the vast majority of the server’s energy came from nuclear power + keep in mind there already was anaccident at the Living Sector Experimental Breeder two months prior)&#039;&#039;. It was also imperative that the whole operation remained a secret with Kuba not being suspected of foul play. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To meet all these goals, Kuba formed the following plan.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# The accident needed a likely cause. Siberia’s untidy and exposed wiring, &#039;&#039;(at the time)&#039;&#039; outdated technology and the lack of a “forever overheating” glitch detection system provided the perfect background to justify the accident. Additionally, Domo himself disabled the “Emergency 100” system on his reactors as the cooling system kept triggering whenever the reactor’s temperature would spike during a coolant change-over. This ensured no alarms would ring in the city to notify others of the situation.&lt;br /&gt;
# The accident must happen while Kuba is publicly away from Siberia, preferably working on a project with other residents. The construction of the Biedronka supermarket was used an an alibi.&lt;br /&gt;
# The accident must be small enough to be believable while damaging enough to shut down the plant. If more than one reactor exploded the circumstances behind such an event would certainly raise some eyebrows. As a result, during many refuelling trips Kuba carefully inspected the wiring at the plant, making sure not to spend an abnormal amount of time on any singular trip. He eventually determined that Reactor number 4, named “The Nuke” was an excellent candidate to sabotage.  It’s central location within the plant, neighbouring the control rooms of reactors 3+4 and 5+6 would ensure it would destroy enough wiring for the reactors to become inoperable while also keeping their safety systems intact so that more explosions would not follow.&lt;br /&gt;
&lt;br /&gt;
Kuba on his 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; to last refueling trip sabotaged a blue-alloy wire powering the cooling machinery as well as broke an extra wire to disable the overheat protection system of Unit 4. Both of these cables were within the radius of the explosion, to ensure all evidence is destroyed. Additionally, the charge in the cooling room’s batteries would ensure the reactor would keep working for a couple hours before overheating.&lt;br /&gt;
&lt;br /&gt;
Kuba set his plan in motion around 2 weeks after the Nuclear Scare as tensions had fully dissipated by then. Instead of working on the Biedronka supermarket he took the time to upgrade the Coffee Machine to produce Milk Coffee as well and constructed his own mini pub next to Jacob’s.&lt;br /&gt;
&lt;br /&gt;
When he went out to change the fuel after the accident he faked surprise and called an emergency meeting with Domo to discuss what to do. It was eventually decided to not rebuild the SNPP and instead seal of the plant and evacuate Siberia. Both Domo and puszczek moved back to the city and the whole incident relatively quickly got forgotten as an unexpected crash corrupted the TLS world soon after.&lt;br /&gt;
&lt;br /&gt;
No one ever found out, and Kuba kept perpetuating the myth for years to come as part of the ATOM Co ethos.&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=TLS_1&amp;diff=283</id>
		<title>TLS 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=TLS_1&amp;diff=283"/>
		<updated>2026-05-15T08:47:11Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: add links to player&amp;#039;s articles&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}{{TLSInfoBox|title=TLS #1|date-start=20th of December 2017|date-end=Mid May 2018|members=Kuba_0040, Domo1504K, Olwik, puszczek, Jacob92, DickSon_TM, Oliwka, Wena_PL, snatch77jr, Emma}}&lt;br /&gt;
&lt;br /&gt;
The TLS (short for „Tekkit Lite Server” and later retroactively named TLS1) was a multiplayer server operating since the 20&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; of December 2017 until May of 2018. The server had to be shut down due to an ever worsening memory leak making it unplayable.&lt;br /&gt;
&lt;br /&gt;
The server opened with Domo and Kuba coming together to construct a nuclear power plant and play together over the winter break. The little server however would quickly grow and attract new players.&lt;br /&gt;
&lt;br /&gt;
== Players: ==&lt;br /&gt;
Throughout it’s entire history, 10 player would play on the server. All of them, with the exception of snatch77jr being classmates. The exact order of players joining is lost to time as the server’s history wasn’t carefully logged during it’s operation. It is however certain that the first 4 players to play together were:&lt;br /&gt;
&lt;br /&gt;
# [[Kuba0040|Kuba_0040]]&lt;br /&gt;
# [[Domo1504K]]&lt;br /&gt;
# [[Olwik]]&lt;br /&gt;
# [[puszeczek]]&lt;br /&gt;
&lt;br /&gt;
The remaining players would join soon after as news about the server spread over class messenger groups and word of mouth.&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Full list of players:&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
* Kuba_0040&lt;br /&gt;
* Domo1504K&lt;br /&gt;
* Olwik&lt;br /&gt;
* puszczek&lt;br /&gt;
* [[Jacob92]]&lt;br /&gt;
* [[DickSon_TM]] &#039;&#039;(reffered to as Alek for the remainder of this article)&#039;&#039;&lt;br /&gt;
* [[Oliwka]]&lt;br /&gt;
* [[Wena_PL]]&lt;br /&gt;
* [[snatch77jr]]&lt;br /&gt;
* [[Tordyy_Gamer6]] &#039;&#039;(reffered to as&#039;&#039; &#039;&#039;Emma for the remainder of this article)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Everyday life on the server ==&lt;br /&gt;
Due to the large amount of players the server harboured a strong sense of community, amplified by the fact that most of the residents lived together in one neighbourhood located within the Living Sector &#039;&#039;(Sekcja Mieszkalna)&#039;&#039;. The server’s residents would help each other on various projects as well as join groups. The server operated under a capitalist economy with coal being chosen as it’s currency due to it’s unusual scarcity on the server.&lt;br /&gt;
&lt;br /&gt;
==== The city (under the leadership of Kuba) was divided into the following sectors: ====&lt;br /&gt;
&lt;br /&gt;
* Living Sector&lt;br /&gt;
&lt;br /&gt;
Although initially started as a small offshoot of the city, this sector rapidly grew over the city’s lifetime becoming the largest and most developed. Notably, it was also the only sector with a consistent visual style and sense of order and care for the surroundings. This made it a favourite among everyone. It was the home of all of the server’s residents following the SNPP explosion. This sector was not entirely devoid of industry as an experimental Breeder Reactor was constructed right besides Olwik’s house. This reactor later exploded due to the IC2 “infinite overheating” glitch. Additionally the sector housed a local oil fired power plant, the first to use Energy Converters on the whole server.&lt;br /&gt;
&lt;br /&gt;
* Industrial Sector&lt;br /&gt;
&lt;br /&gt;
The industrial sector was the oldest on the server being built mostly in 2013-2016 back when the TLS world was just Kuba’s personal creative world. It housed many early experiments in buildcraft and IC2 machinery. Kuba never removed failed experiments leading to his learning journey being fantastically perserved. At the same time this made the Industrial Sector a very ugly and difficult to navigate place making it rarely visited by anyone other than Kuba. During the server’s lifetime a key feature of the sector became it’s ATOM nuclear power plant generation &amp;amp; research complex.&lt;br /&gt;
&lt;br /&gt;
* City Center&lt;br /&gt;
* Old Living Sector&lt;br /&gt;
* Community Mine&lt;br /&gt;
&lt;br /&gt;
==== A key location on the server was Siberia which was it’s own independently run state. ====&lt;br /&gt;
&lt;br /&gt;
== Roles and significant achievements of each player ==&lt;br /&gt;
&lt;br /&gt;
* Kuba_0040&lt;br /&gt;
&lt;br /&gt;
Ran the energy grid and server’s industries, built factories, roads and transportation systems. It was Kuba’s job to refuel the servers nuclear reactors before the automatic Class IV designs entered service. &lt;br /&gt;
&lt;br /&gt;
He also maintained the Siberian Nuclear Power Plant &#039;&#039;(This is a key detail, please keep it in mind for later)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Domo1504K&lt;br /&gt;
&lt;br /&gt;
Built and partially operated the Syberian Nuclear Power Plant prior to it’s explosion. Along with puszczek he worked together on developing Siberia. &lt;br /&gt;
&lt;br /&gt;
After the SNPP explosion Domo shifted his focus onto helping construct pipelines to foster the petrochemical industry.&lt;br /&gt;
&lt;br /&gt;
* Olwik&lt;br /&gt;
&lt;br /&gt;
Olwik was the great collaborator. Together with puszczek and Olwika she worked on many community projects like the Thermal Springs (Gorące Źródła) and Game Center. She was the leader of the Anti-Pig Coalition group. &lt;br /&gt;
&lt;br /&gt;
She was the only private resident to posses nuclear weapons which were later confiscated by the state.&lt;br /&gt;
&lt;br /&gt;
She played a major role in other projects such as the End Base as well as researching an at the time unknown mod &#039;&#039;“Factorization”&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Other notable projects of her include the Biedronka super market and the secret network of underground tunnels stretching to all parts of the server.&lt;br /&gt;
&lt;br /&gt;
* Puszczek&lt;br /&gt;
&lt;br /&gt;
Prior to the SNPP explosion, puszczek was the first player to move in to Siberia as he found it more aesthetically pleasing than the messy city. &lt;br /&gt;
&lt;br /&gt;
Together with Domo he made plans to develop the Siberia area with his largest project being the Siberian Restaurant and Hotel.Unfortunately, these plans could not be realised before he was forced to move to the city following the explosion. &lt;br /&gt;
&lt;br /&gt;
At the city puszczek collaborated with many other players like the before mentioned Olwik on countless community projects. Although he lived humbly, he was one of the richest players on the server with advanced Power Armor sets and a private hydroelectric dam to avoid paying electric bills. Puszczek was another key member of the Anti-Pig coalition.&lt;br /&gt;
&lt;br /&gt;
* Jacob92&lt;br /&gt;
&lt;br /&gt;
Jacob’s main contribution to the server was his Pub. Originally built to serve the Alek Hotel, the Pub and it’s signature product – coffee – quickly became a key point of the city. &lt;br /&gt;
&lt;br /&gt;
Jacob’s Dark Coffee helped players run and mine faster at the Community Mineshaft. This lead to coffee becoming an extremally popular beverage among the residents with many players becoming addicted to it and frequently overdosing. The message “&amp;lt;player&amp;gt; was killed by magic” frequently popped up in the server’s chat. The most avid coffee drinkers were Kuba and puszczek, however virtually everybody drank at least 3 cups per minecraft day.&lt;br /&gt;
&lt;br /&gt;
This popularity was sure to bring Jacob immense wealth, however unfortunately due to poor security his Pub was the Burglary Center of the server, exploited by virtually everyone as an easy source of Coal &#039;&#039;(the city’s currency)&#039;&#039;. When combined with astronomical electricity costs associated with operating the Coffee Machine, Jacob was plunged into debt, amassing a deficit of over 384 coal to the city in unpaid electricity. It’s for these reasons that Jacob rarely played on the server in the later parts of it’s history.&lt;br /&gt;
&lt;br /&gt;
* Alek&lt;br /&gt;
[[File:Alek&#039;s Hotel.png|alt=Alek&#039;s Hotel after being superficially damaged with dynamite|thumb|Alek&#039;s Hotel after being superficially damaged with dynamite]]&lt;br /&gt;
Alek’s main contribution to the server was the construction of his hotel and castle. &lt;br /&gt;
&lt;br /&gt;
The towering hotel made purely of gold blocks quickly became an eye-sore for the city’s residents with resentment towards it quickly building. Kuba tried to reason with the other players to keep Alek playing, however was unsuccessful as an armed gang lead by puszczek and Domo acquired dynamite and superficially damaged the hotel. The hotel was repaired and the weapons siezed however resentment towards it continued to grow until it boiled over resulting with the hotel being mined down by a quarry with the help of Kuba who secretly hated the hotel all along. The citizens shared the gold blocks among themselves and celebrated by overdosing at Jacob’s Pub.&lt;br /&gt;
&lt;br /&gt;
* Oliwka&lt;br /&gt;
&lt;br /&gt;
Oliwka was on the surface a “normal” player who lived by the lake neighbouring Kuba and puszczek’s houses. &lt;br /&gt;
&lt;br /&gt;
She worked closely together with Olwik and Wena on various projects. She cared greatly about the appearance of the city and worked hard to pretty-up the Living Sector. One of her main public contributions was the construction of an elevated bridge connecting her house with Wena’s.  &lt;br /&gt;
&lt;br /&gt;
In secret however, Oliwka was a crucial member of the Anti-Pig coalition, responsible for the construction of it’s secret hideout.  &lt;br /&gt;
&lt;br /&gt;
* Wena&lt;br /&gt;
&lt;br /&gt;
Wena was a peaceful player who mostly kept to herself.&lt;br /&gt;
&lt;br /&gt;
Unfortunetly, her life would drastically turn for the worst after she built a pig-face from wool near Jacob’s Pub. The statue was adorned with a sign saying “Nie zabijaj świnków” (Don’t kill the pigs). This simple act for no reason whatsoever would lead to the creation of the Anti-Pig coalition. She was the only player to openly support protecting the server’s pigs.&lt;br /&gt;
&lt;br /&gt;
* Snatch&lt;br /&gt;
&lt;br /&gt;
Snatch rarely played on the server, however even in his brief time online managed to etch himself into the server’s history. &lt;br /&gt;
&lt;br /&gt;
Snatch was one of the main drivers behind the Siberia-City nuclear stalemate after being manipulated by Kuba into burring concealed nuclear weapons into Siberia territory. Kuba then betrayed snatch by leaking the news to Domo which resulted in a tense nuclear stalemate between the two players. Shortly before the SNPP explosion tensions dissipated as Kuba &#039;&#039;(again, manipulating both players)&#039;&#039; took part in the creation of a peace deal which sought the Nuclear Control Center destroyed and some &#039;&#039;(but not all)&#039;&#039; Nuclear Weapons removed.&lt;br /&gt;
&lt;br /&gt;
* Tordyy_Gamer6&lt;br /&gt;
&lt;br /&gt;
Emma was the last player to join the server a week before the Biedronka Incident. &lt;br /&gt;
&lt;br /&gt;
She lived together with Wena, later constructing her own home near Jacob’s Pub. Her main contribution to the server was the construction of many pretty Pokemon statues and pixelarts around the Living Sector.&lt;br /&gt;
&lt;br /&gt;
== Key events in the server’s history ==&lt;br /&gt;
&#039;&#039;&#039;Notice:&#039;&#039;&#039; In order to fully understand the events you are about to learn about it is imperative to understand Kuba’s character and head space during the servers time. Kuba had a very ugly attitude to lie, gaslight and manipulate people to cause drama or steer events towards his goals. Pre-2020 Kuba is a difficult person to break down, on one hand he genuinely cared about others if they needed help, on the other hand if others went against his plans or wishes he often grew resentful and tried to quietly and secretly steer things in directions he saw “correct”. Kuba was a man who liked control and things being run and done to his liking. Below is a first person letter from Kuba &#039;&#039;(keep in mind he wrote this article)&#039;&#039; about this period in time:&amp;lt;blockquote&amp;gt;&#039;&#039;I was a awful person to a lot of different people, often only concerned with my needs and wants. During the coronavirus pandemic a lot of different things happened in my life, things I’d rather not discuss publicly. Life finally shoved sense into me and made me finally see what I was doing to others. It was a rough period in my life. I am beyond disgusted at the things I used to do and say, and the systematic nature of it all. I was deeply ashamed of all the lies I’ve told in the past which left me to not admit many of them for years after the fact. I’d like to say sorry to all of my close friends who I’ve deceived for years, making up stories to make myself or my accomplishments seem grander than they really were. I’d like to say sorry to my friends like Domo and snatch for steering them in directions I saw fit. I’d like to say sorry to the people of Hyptek about whom I’ve lied for years to further my story of ATOM Co. I’d like to be able to say I am a better person now, but that is left to You to judge. All I can hope for is that you can accept me for the person I am now. I wish you all the best. Kuba 18-09-2025r.&#039;&#039;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Snatch – Domo Nuclear Stalemate ===&lt;br /&gt;
The crisis started with Kuba having a stupid and unreasonable grudge against Siberia. He didn’t like that people like Domo and puszczek chose to settle outside of his city. He wanted them to move back and decided to create some drama to make it happen. &lt;br /&gt;
&lt;br /&gt;
It is unclear what exact lies Kuba told snatch about Domo, those got lost to time through fuzzy memory. However, Kuba managed to plant a seed of distrust against Domo within snatch which lead them to bury a series of nuclear weapons below Siberia “in case things escalated”. &lt;br /&gt;
&lt;br /&gt;
At the same time, Kuba came to Domo with a “shocking discovery” of nuclear weapons being buried under Siberia. The two then conducted an investigation which lead the blame on snatch. Urging both sides separately to keep his involvement a secret, Kuba successfully played both sides in order to escalate the conflict. His ultimate goal was to lead puszczek to leave Siberia for the city. &lt;br /&gt;
&lt;br /&gt;
The situation took an objectively expected turn when Domo placed his own nuclear weapons under the city. This came as a surprise to Kuba. With his city being threatened, Kuba quickly shifted his focus towards diffusing the situation. Ultimately concluding with both parties deciding to excavate and remove their nuclear weapons from the other’s territory. All bombs were removed from the city, however two remained buried under Siberia as nobody &#039;&#039;(including Kuba)&#039;&#039; could find them again. This resulted in the frequencies &#039;&#039;12x&#039;&#039; being banned from use as to not accidentally detonate these leftover weapons. &lt;br /&gt;
&lt;br /&gt;
=== Siberia NPP Explosion ===&lt;br /&gt;
The explosion at the SNPP is one of the most defining moments in TLS history and at the same time one of the most intricate myths Kuba has crafted over the years to suit his goals. &lt;br /&gt;
&lt;br /&gt;
As stated before, Kuba didn’t approve of others living outside his city. Publicly he didn’t have any problems with it but privately he was working to get the players of Siberia to move to the city on their own accord. He initially tried to create an atmosphere of fear to get theplayers to move with the Snatch-Domo Nuclear Scare, however after that plan backfired he shifted his focus to try and find another way. &lt;br /&gt;
&lt;br /&gt;
Eventually he came to the conclusion that only a serious accident at the Siberian Nuclear Power Plant would work. Kuba also had a partial resentment towards the plant itself. Even though he helped built it, the plant quickly expanded way beyond the initial two reactors. This lead to the Siberian NPP being moretechnologically advanced and of larger scale than Kuba’s own city NPP. This lead him to quickly expand his own plant to match Siberia as well as kickstarting a race to rapidly develop nuclear technology to out-do Domo’s plant. &lt;br /&gt;
&lt;br /&gt;
This grudge aside, Kuba also took issue with the fact that he had to refuel Siberia by himself, even though he wasn’t it’s owner. In the days prior to the invention of self-refueling Class IV reactors, Kuba had to every 2.5 hours stop whatever he was doing on the server and refuel all 11 reactors running on the server &#039;&#039;(6 of which were in Siberia)&#039;&#039;. This whole process would take 20 minutes as prior to Class III+ reactors, refuelling was rather annoying with the cooling system clogging the fuel channels with LZH compensators once the uranium rods depleted. &lt;br /&gt;
&lt;br /&gt;
While this annoyance with Siberia might seem reasonable at first glance, keep in mind that Kuba never asked Domo to help in refuelling the reactors. He simply did it himself and was then “shocked” like the stupid, egotistical fool he was that nobody helped him. It was for all of these reasons that Kuba decided to manufacture an accident at SNPP.&lt;br /&gt;
&lt;br /&gt;
Due to the previous Nuclear Scare, Kuba had to be careful to not escalate tensions between the city and Siberia as well as not cause a panic within the city’s residents &#039;&#039;(the vast majority of the server’s energy came from nuclear power + keep in mind there already was anaccident at the Living Sector Experimental Breeder two months prior)&#039;&#039;. It was also imperative that the whole operation remained a secret with Kuba not being suspected of foul play. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To meet all these goals, Kuba formed the following plan.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# The accident needed a likely cause. Siberia’s untidy and exposed wiring, &#039;&#039;(at the time)&#039;&#039; outdated technology and the lack of a “forever overheating” glitch detection system provided the perfect background to justify the accident. Additionally, Domo himself disabled the “Emergency 100” system on his reactors as the cooling system kept triggering whenever the reactor’s temperature would spike during a coolant change-over. This ensured no alarms would ring in the city to notify others of the situation.&lt;br /&gt;
# The accident must happen while Kuba is publicly away from Siberia, preferably working on a project with other residents. The construction of the Biedronka supermarket was used an an alibi.&lt;br /&gt;
# The accident must be small enough to be believable while damaging enough to shut down the plant. If more than one reactor exploded the circumstances behind such an event would certainly raise some eyebrows. As a result, during many refuelling trips Kuba carefully inspected the wiring at the plant, making sure not to spend an abnormal amount of time on any singular trip. He eventually determined that Reactor number 4, named “The Nuke” was an excellent candidate to sabotage.  It’s central location within the plant, neighbouring the control rooms of reactors 3+4 and 5+6 would ensure it would destroy enough wiring for the reactors to become inoperable while also keeping their safety systems intact so that more explosions would not follow.&lt;br /&gt;
&lt;br /&gt;
Kuba on his 3&amp;lt;sup&amp;gt;rd&amp;lt;/sup&amp;gt; to last refueling trip sabotaged a blue-alloy wire powering the cooling machinery as well as broke an extra wire to disable the overheat protection system of Unit 4. Both of these cables were within the radius of the explosion, to ensure all evidence is destroyed. Additionally, the charge in the cooling room’s batteries would ensure the reactor would keep working for a couple hours before overheating.&lt;br /&gt;
&lt;br /&gt;
Kuba set his plan in motion around 2 weeks after the Nuclear Scare as tensions had fully dissipated by then. Instead of working on the Biedronka supermarket he took the time to upgrade the Coffee Machine to produce Milk Coffee as well and constructed his own mini pub next to Jacob’s.&lt;br /&gt;
&lt;br /&gt;
When he went out to change the fuel after the accident he faked surprise and called an emergency meeting with Domo to discuss what to do. It was eventually decided to not rebuild the SNPP and instead seal of the plant and evacuate Siberia. Both Domo and puszczek moved back to the city and the whole incident relatively quickly got forgotten as an unexpected crash corrupted the TLS world soon after.&lt;br /&gt;
&lt;br /&gt;
No one ever found out, and Kuba kept perpetuating the myth for years to come as part of the ATOM Co ethos.&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Emergency_Disable_System&amp;diff=270</id>
		<title>Emergency Disable System</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Emergency_Disable_System&amp;diff=270"/>
		<updated>2025-09-15T21:08:05Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: /* Categories */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Emergency Disable System&#039;&#039;&#039; (or &#039;&#039;&#039;EDS&#039;&#039;&#039; for short) was the primary way of categorizing safety systems related to shutting down reactors on the [[TLS 2]].&lt;br /&gt;
&lt;br /&gt;
[[File:TLS 2 Unit 2 Reactor Control Circuit.png|The control circuit of a reactor at Unit 2 showing EDS signal redstone receivers.|center|thumb|800x800px]]&lt;br /&gt;
== Categories ==&lt;br /&gt;
EDS was split into a few categories, differing in the way EDS acted upon being pressed.&lt;br /&gt;
&lt;br /&gt;
Despite there being multiple categories used on the server, in reality only EDS-2 was used the most, with EDS-5 usually being installed in power plants.&lt;br /&gt;
&lt;br /&gt;
All subsequent EDS categories typically expand on the preceding category.&lt;br /&gt;
&lt;br /&gt;
=== 2nd Category (EDS-2) ===&lt;br /&gt;
This was the most common and fundamental category of EDS. The annunciators for EDS-2 were also usually labelled &amp;quot;SCRAM&amp;quot; as that&#039;s basically the only thing this category did - simply SCRAM the reactor.&lt;br /&gt;
&lt;br /&gt;
=== 5th Category (EDS-5) ===&lt;br /&gt;
It functions virtually the same way as EDS-2, with the only change being it usually turned on the alarm as well.&lt;br /&gt;
&lt;br /&gt;
=== 7th Category (EDS-7) ===&lt;br /&gt;
This was an EDS category exclusive to [[TLS 2#Unit 2 &amp;quot;Big NPP&amp;quot;|Unit 2]]. It allowed any controller in the control room to quickly shut down every reactor in the power plant.&lt;br /&gt;
&lt;br /&gt;
== Usage in Power Plants on the server ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Power Plant&lt;br /&gt;
!EDS-2&lt;br /&gt;
!EDS-5&lt;br /&gt;
!EDS-7&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|Unit 1&lt;br /&gt;
! style=&amp;quot;color:green; background-color: rgba(0,200,0,0.2);&amp;quot; |✓&lt;br /&gt;
! style=&amp;quot;color:green; background-color: rgba(0,200,0,0.2);&amp;quot; |✓&lt;br /&gt;
! style=&amp;quot;color: rgb(200,0,0); background-color: rgba(200,0,0,0.2);&amp;quot; |✗&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Unit 2&lt;br /&gt;
! style=&amp;quot;color:green; background-color: rgba(0,200,0,0.2);&amp;quot; |✓&lt;br /&gt;
! style=&amp;quot;color:green; background-color: rgba(0,200,0,0.2);&amp;quot; |✓&lt;br /&gt;
! style=&amp;quot;color:green; background-color: rgba(0,200,0,0.2);&amp;quot; |✓&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Unit 3&lt;br /&gt;
! style=&amp;quot;color: rgb(200,0,0); background-color: rgba(200,0,0,0.2);&amp;quot; |✗&lt;br /&gt;
! style=&amp;quot;color:green; background-color: rgba(0,200,0,0.2);&amp;quot; |✓&lt;br /&gt;
! style=&amp;quot;color: rgb(200,0,0); background-color: rgba(200,0,0,0.2);&amp;quot; |✗&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Unit 4&lt;br /&gt;
! style=&amp;quot;color:green; background-color: rgba(0,200,0,0.2);&amp;quot; |✓&lt;br /&gt;
! style=&amp;quot;color: rgb(200,0,0); background-color: rgba(200,0,0,0.2);&amp;quot; |✗&lt;br /&gt;
! style=&amp;quot;color: rgb(200,0,0); background-color: rgba(200,0,0,0.2);&amp;quot; |✗&lt;br /&gt;
|The EDS category type was not defined on the signs&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Trivia ==&lt;br /&gt;
&lt;br /&gt;
* It was recommended to use EDS-2 to shutdown the reactors instead of using the master switch. A sign saying this can still be found in Unit 1&#039;s control room on the master switch sign.&lt;br /&gt;
** In reality this recommendation didn&#039;t actually have any real reason behind it. The EDS itself basically inverts the redstone signal in reactor&#039;s control circuit.&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Template:ReactorInfoBox&amp;diff=269</id>
		<title>Template:ReactorInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Template:ReactorInfoBox&amp;diff=269"/>
		<updated>2025-09-06T21:28:27Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;templatestyles src=&amp;quot;Template:TLSInfoBox/styles.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;infobox theme=&amp;quot;tls&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;title source=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;default&amp;gt;{{PAGENAME}}&amp;lt;/default&amp;gt;&lt;br /&gt;
  &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;Image source=&amp;quot;image&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;data source=&amp;quot;design-type&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;label&amp;gt;Reactor Type&amp;lt;/label&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
  &amp;lt;data source=&amp;quot;power-out&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;label&amp;gt;Power Output [EU]&amp;lt;/label&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/infobox&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;title&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Title&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;design-type&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Design Type&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggestedvalues&amp;quot;: [&lt;br /&gt;
				&amp;quot;Actively Cooled&amp;quot;,&lt;br /&gt;
				&amp;quot;Passively Cooled&amp;quot;,&lt;br /&gt;
				&amp;quot;Breeder&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;power-out&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Power Output (in EU)&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;image&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Image&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-file-name&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;title&amp;quot;,&lt;br /&gt;
		&amp;quot;image&amp;quot;,&lt;br /&gt;
		&amp;quot;design-type&amp;quot;,&lt;br /&gt;
		&amp;quot;power-out&amp;quot;&lt;br /&gt;
	]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Terryiscool160&amp;diff=268</id>
		<title>Terryiscool160</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Terryiscool160&amp;diff=268"/>
		<updated>2025-09-06T21:19:29Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}{{PlayerInfoBox|player-image=Terryiscool160 skin.png|member_of=* [[TLS 2]]&lt;br /&gt;
* [[TLS 4]]|player-nickname=terryiscool160}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Kuba0040&amp;diff=267</id>
		<title>Kuba0040</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Kuba0040&amp;diff=267"/>
		<updated>2025-09-06T21:19:24Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}{{PlayerInfoBox|player-image=Kuba_0040 skin.png|member_of=* [[TLS 1]]&lt;br /&gt;
* [[TLS 2]]&lt;br /&gt;
* [[TLS 3]]&lt;br /&gt;
* [[TLS 4]]|player-nickname=Kuba_0040}}&#039;&#039;&#039;Kuba0040&#039;&#039;&#039; is The Man&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Rezizdigus&amp;diff=266</id>
		<title>Rezizdigus</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Rezizdigus&amp;diff=266"/>
		<updated>2025-09-06T21:19:19Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}{{PlayerInfoBox|player-image=Rezizdigus skin.png|player-nickname=rezizdigus}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Gery0002&amp;diff=265</id>
		<title>Gery0002</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Gery0002&amp;diff=265"/>
		<updated>2025-09-06T21:19:09Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation}}{{PlayerInfoBox|player-image=Gery0002 skin.png|player-nickname=Gery0002}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Terryiscool160&amp;diff=264</id>
		<title>Terryiscool160</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Terryiscool160&amp;diff=264"/>
		<updated>2025-09-06T21:17:16Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PlayerInfoBox|player-image=Terryiscool160 skin.png|member_of=* [[TLS 2]]&lt;br /&gt;
* [[TLS 4]]|player-nickname=terryiscool160}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Kuba0040&amp;diff=263</id>
		<title>Kuba0040</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Kuba0040&amp;diff=263"/>
		<updated>2025-09-06T21:13:40Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PlayerInfoBox|player-image=Kuba_0040 skin.png|member_of=* [[TLS 1]]&lt;br /&gt;
* [[TLS 2]]&lt;br /&gt;
* [[TLS 3]]&lt;br /&gt;
* [[TLS 4]]|player-nickname=Kuba_0040}}&#039;&#039;&#039;Kuba0040&#039;&#039;&#039; is The Man&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Template:PlayerInfoBox&amp;diff=262</id>
		<title>Template:PlayerInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Template:PlayerInfoBox&amp;diff=262"/>
		<updated>2025-09-06T21:11:49Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;templatestyles src=&amp;quot;Template:TLSInfoBox/styles.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;infobox theme=&amp;quot;tls&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;title source=&amp;quot;player-nickname&amp;quot;&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;image source=&amp;quot;player-image&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;data source=&amp;quot;member_of&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;label&amp;gt;Member of&amp;lt;/label&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/infobox&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;player-image&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Player Image&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-file-name&amp;quot;,&lt;br /&gt;
			&amp;quot;autovalue&amp;quot;: &amp;quot;https://api.mineatar.io/body/full/058e7508-34fc-4a07-b23b-42105c39fd7a&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;player-nickname&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Player&#039;s IGN&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;member_of&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Member of&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The server&#039;&#039;s the player was a member of&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;unbalanced-wikitext&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;player-nickname&amp;quot;,&lt;br /&gt;
		&amp;quot;player-image&amp;quot;,&lt;br /&gt;
		&amp;quot;member_of&amp;quot;&lt;br /&gt;
	]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Kuba0040&amp;diff=261</id>
		<title>Kuba0040</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Kuba0040&amp;diff=261"/>
		<updated>2025-09-06T21:11:15Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PlayerInfoBox|player-image=Kuba_0040 skin.png|member_of=* TLS 1&lt;br /&gt;
* TLS 2&lt;br /&gt;
* TLS 3&lt;br /&gt;
* TLS 4|player-nickname=Kuba_0040}}&#039;&#039;&#039;Kuba0040&#039;&#039;&#039; is The Man&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Template:PlayerInfoBox&amp;diff=260</id>
		<title>Template:PlayerInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Template:PlayerInfoBox&amp;diff=260"/>
		<updated>2025-09-06T21:10:46Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;templatestyles src=&amp;quot;Template:TLSInfoBox/styles.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;infobox theme=&amp;quot;tls&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;title source=&amp;quot;player-nickname&amp;quot;&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;image source=&amp;quot;player-image&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;data source=&amp;quot;member-of&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;label&amp;gt;Member of&amp;lt;/label&amp;gt;&lt;br /&gt;
  &amp;lt;/data&amp;gt;&lt;br /&gt;
&amp;lt;/infobox&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;player-image&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Player Image&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-file-name&amp;quot;,&lt;br /&gt;
			&amp;quot;autovalue&amp;quot;: &amp;quot;https://api.mineatar.io/body/full/058e7508-34fc-4a07-b23b-42105c39fd7a&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;player-nickname&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Player&#039;s IGN&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;member_of&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Member of&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The server&#039;&#039;s the player was a member of&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;unbalanced-wikitext&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;player-nickname&amp;quot;,&lt;br /&gt;
		&amp;quot;player-image&amp;quot;,&lt;br /&gt;
		&amp;quot;member_of&amp;quot;&lt;br /&gt;
	]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Template:PlayerInfoBox&amp;diff=259</id>
		<title>Template:PlayerInfoBox</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Template:PlayerInfoBox&amp;diff=259"/>
		<updated>2025-09-06T21:08:32Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;templatestyles src=&amp;quot;Template:TLSInfoBox/styles.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;infobox theme=&amp;quot;tls&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;title source=&amp;quot;player-nickname&amp;quot;&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;/title&amp;gt;&lt;br /&gt;
  &amp;lt;image source=&amp;quot;player-image&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/infobox&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;player-image&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Player Image&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-file-name&amp;quot;,&lt;br /&gt;
			&amp;quot;autovalue&amp;quot;: &amp;quot;https://api.mineatar.io/body/full/058e7508-34fc-4a07-b23b-42105c39fd7a&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;player-nickname&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Player&#039;s IGN&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;player-nickname&amp;quot;,&lt;br /&gt;
		&amp;quot;player-image&amp;quot;&lt;br /&gt;
	]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Kuba0040&amp;diff=258</id>
		<title>Kuba0040</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Kuba0040&amp;diff=258"/>
		<updated>2025-09-06T21:04:56Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PlayerInfoBox|player-image=Kuba_0040 skin.png|player-nickname=Kuba_0040}}&#039;&#039;&#039;Kuba0040&#039;&#039;&#039; is The Man&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Kuba0040&amp;diff=257</id>
		<title>Kuba0040</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Kuba0040&amp;diff=257"/>
		<updated>2025-09-06T21:04:20Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Kuba0040&#039;&#039;&#039; is The Man&lt;br /&gt;
&lt;br /&gt;
{{PlayerInfoBox|player-image=Kuba_0040 skin.png|player-nickname=Kuba_0040}}&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Lite_Server&amp;diff=256</id>
		<title>Tekkit Lite Server</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=Tekkit_Lite_Server&amp;diff=256"/>
		<updated>2025-09-06T16:26:07Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: /* Trivia */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Screenshot on TLS 4.png|thumb|Screenshot from the current TLS 4]]&lt;br /&gt;
&#039;&#039;&#039;The Tekkit Lite Server&#039;&#039;&#039; (most commonly referred to as TLS) is a Minecraft server hosted on an old Technic modpack [https://www.technicpack.net/modpack/tekkitlite Tekkit Lite]. It is currently on it&#039;s 4th main iteration.&lt;br /&gt;
&lt;br /&gt;
The servers feature lots of tech builds made with mods such as IndustrialCraft 2, BuildCraft, RedPower and more.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
&lt;br /&gt;
=== TLS 1 ===&lt;br /&gt;
{{Main|article=TLS 1}}&lt;br /&gt;
&lt;br /&gt;
=== TLS with Terry, Koobs and Rez ===&lt;br /&gt;
Around June or July 2019, there was a server created that [[Terryiscool160|Terry]], [[Kuba0040|Koobs]] and [[Rezizdigus|Rez]] played on for about 1-2 weeks. The server was survival, and was played on daily.&lt;br /&gt;
&lt;br /&gt;
Koobs left a few days after the server being started due to Rez and Terry grinding too much.&lt;br /&gt;
&lt;br /&gt;
The server ultimately shut down a few days later, around after an explosion happened at the first nuclear power plant, destroying our only nuclear reactor on the server.&lt;br /&gt;
&lt;br /&gt;
=== TLS 2 ===&lt;br /&gt;
{{Main|article=TLS 2}}Created on the 19th of July, 2019, TLS 2 was originally a survival server played by Rez, Terry, [[Gery0002]] and [[Noelieboelie]], later switched to creative and filled with various powerplants, houses and other buildings over the course of 2/3 of a year. After a considerable amount of inactivity and several unsuccessful revival attempts, the server was fully revived in May 2021 and ran until sometime in June, when it got infected with the memory leak issue aswell.&lt;br /&gt;
=== TLS 3 ===&lt;br /&gt;
{{Main|article=TLS 3}}TLS 3 was a short-lived server created on the 9th, and abandoned on the 18th of July, 2021 after being affected by the memory leak issue. In addition to the previous players, [[Domo1504K]], [[PropR]], and [[Dutchball]] also join. &lt;br /&gt;
&lt;br /&gt;
Despite only existing for 9 days, lots of buildings are created, including several powerplants, factories, and decorative elements (such as the Japanese district).&lt;br /&gt;
=== TLS 4 ===&lt;br /&gt;
{{Main|article=TLS 4}}The current iteration of the TLS series, running since the 28th of August, 2021 (with a notable offline period from August 2024 to February 2025). Currently hosted on the [[LiteNet System|LiteNet system]], it is usually played by Kuba and Gery, though many others have visited (and still occasionally join) since it&#039;s creation. &lt;br /&gt;
&lt;br /&gt;
The server is rich with history and lore, prompting the creation of a wiki to document and catalog everything there is to know about TLS 4 and its predecessors.&lt;br /&gt;
== Other related servers ==&lt;br /&gt;
&lt;br /&gt;
=== RezTek ===&lt;br /&gt;
{{Main|article=RezTek}}RezTek was a server utilizing a custom modpack created by Rezizdigus. Started on the 20th of July, 2024, it operated alongside TLS 4 but was largely abandoned by September, finally shutting down completely on the 15th of March, 2025.&lt;br /&gt;
&lt;br /&gt;
The modpack featured many technology-related mods, aswell as magic, realistic weather, and trains.&lt;br /&gt;
=== Hypercore ===&lt;br /&gt;
{{Main|article=Hypercore}}&lt;br /&gt;
&lt;br /&gt;
== Trivia ==&lt;br /&gt;
&lt;br /&gt;
* Initially, communication between members outside the servers was disorganzied, happening irl in the TLS 1 days, later shifting to various discord direct messages, groupchats (the most notable of which was [[Minecraft Sus]]), and small-scale discord servers now lost to time and most notably the in game chat, especially during the TLS 2. This all changed with the creation of the [[Tekkit With The Boys]] discord server, providing a central hub for all TLS related projects and communications.&lt;br /&gt;
** The in-game chat messages during the TLS 2 were saved in a server.log file, which contained all of the server&#039;s logs, including the TLS with Terry, Rez and Koobs and likely multiple revivals of the server. The file has likely been long lost to time however.&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=TLS_2&amp;diff=255</id>
		<title>TLS 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=TLS_2&amp;diff=255"/>
		<updated>2025-09-06T16:10:10Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: /* Power Plants */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation|missing_information=History of the server, Revival information, Citations required in footnotes}}{{TLSInfoBox|title=TLS #2|image=2025-08-23 19.34.24.png|date-start=* 19/07/2019&lt;br /&gt;
* Rebooted in May 2021|date-end=* 03/08/2019&lt;br /&gt;
* After the reboot around June 2021|members=* [[Terryiscool160]]&lt;br /&gt;
* [[Gery0002]]&lt;br /&gt;
* [[rezizdigus]]&lt;br /&gt;
* [[noelieboelie]]&lt;br /&gt;
* [[Kuba0040]]&lt;br /&gt;
* [[Domo1504K]]&lt;br /&gt;
* [[Markovdan]]&lt;br /&gt;
* [[Atomic]]}}&#039;&#039;&#039;The TLS 2&#039;&#039;&#039; was the 2nd iteration of the [[Tekkit Lite Server]]. It initially started as a survival server, however soon after it&#039;s launch it turned into a creative server.&lt;br /&gt;
&lt;br /&gt;
This is the first main TLS iteration that [[Rezizdigus|Rez]], [[Terryiscool160|Terry]], [[Gery0002|Gery]] and [[Noelieboelie|Noel]] played on, with [[Kuba0040|Koobs]] joining on 20th July 2019 and [[Domo1504K]] joining the server on the 1st August 2019, both playing on it for a while.&lt;br /&gt;
&lt;br /&gt;
TLS 2 features:&lt;br /&gt;
&lt;br /&gt;
* 4 [[ATOM Actively Cooled Reactor|AACR]] power plants, all differing from each other by their design or the number of reactors&lt;br /&gt;
&lt;br /&gt;
* a rail network ([[TLS 2 Monorail System]])&lt;br /&gt;
* a not even started oil processing plant&lt;br /&gt;
* glass-fibre power grid running throughout the desert&lt;br /&gt;
* various houses built by the members of the server&lt;br /&gt;
* a museum&lt;br /&gt;
* a coffee machine&lt;br /&gt;
* the ME Storage Facility (that no one ever used)&lt;br /&gt;
* as well as many decoration buildings.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The server was first started on the 18th of July 2019 by [[rezizdigus|Rez]] after [[Terryiscool160|Terry]] invited him to the group chat on Discord, following a failed attempt at hosting the server on Aternos.[[File:Terry yelling at aternos.png|Terry yelling at Aternos|center|frameless]]&lt;br /&gt;
=== Survival Gameplay ===&lt;br /&gt;
Upon first joining the server everyone was in survival mode, and that&#039;s how the server was originally meant to be played. &lt;br /&gt;
&lt;br /&gt;
However, the next day Gery said that he and Rez got bored of playing on survival and he asked in the Discord group chat whether the server could switch to creative mode.&lt;br /&gt;
[[File:Picture of gery said were bored from playing survival.png|center|frameless|Gery saying we got bored]]&lt;br /&gt;
During the time the server was in survival mode, a house was built, a primitive power source consisting of a BuildCraft engine powered by oil, as well as a very basic ME system.&lt;br /&gt;
&lt;br /&gt;
=== Creative and First Power Plant ===&lt;br /&gt;
Immediately after switching to creative mode, the construction of the first Nuclear Power Plant on the server began. It was the first power plant to utilise the highly modified and upgraded version of TLS 1&#039;s [[Class II Reactor|Class II Reactors]], later named [[ATOM Actively Cooled Reactor|AACR]]. It was also the first power plant that heavily relied on wireless redstone, starting a trend that continued over to every other power plant on the server.&lt;br /&gt;
&lt;br /&gt;
Approximately 2 hours after switching to creative, a test of the reactor design failed &#039;&#039;miserably.&#039;&#039;&lt;br /&gt;
[[File:Gery Reactor Boom.png|center|frameless|534x534px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Second Power Plant and the City ===&lt;br /&gt;
After the completion of Unit 1 on the 20th&amp;lt;ref&amp;gt;Citation/confirmation required&amp;lt;/ref&amp;gt; of July, plans were immediately made to construct a second, bigger powerplant nearby. the &amp;quot;Big NPP&amp;quot; would feature the same AACR design, but with several reactors strung together to a single power output, generating more than enough power to satisfy the growing energy demands of the nearby settlement, later named [[ATOM Town]].&lt;br /&gt;
&lt;br /&gt;
Alongside the construction of the plant, many other buildings would begin popping up around the area, serving both functional and aesthetic purposes. Private houses were built by server members, machines, factories and training grounds began popping up. This is also when the [[Koobs Coffee]] coffee machine was constructed by [[Kuba0040]]. Although being a creative server, transportation was also improved with the creation of roads, pathways, and the [[TLS 2 Monorail System]].&lt;br /&gt;
&lt;br /&gt;
This period also saw the debut of the Fiberglass Grid system, a necessary innovation designed to efficiently carry and distrubute the electricity produced by the two units.&lt;br /&gt;
&lt;br /&gt;
=== Third Power Plant ===&lt;br /&gt;
For their next project, the server members decided to construct a power plant designed exclusively for roleplay and training purposes. As a result of this, Unit 3 featured no passive safety features or automatized feeding system, and several design elements allowing operators a more direct form of reactor control. Construction began on the 22nd of July, 2019. &lt;br /&gt;
&lt;br /&gt;
Shortly after completion, the Nuke incident would occur, destroying a significant part of the plant, as well as a nearby oil refinery. Initial plans included covering up the wreck in a sarcophagus, or turning it into a museum. Eventually the plant would be rebuilt to operational capacity, though the scars of the explosion could still be seen. Some world downloads feature a basalt layer covering up damaged portions of the plant.&lt;br /&gt;
&lt;br /&gt;
During this time both the rail and power grid systems were expanded, and more buildings were constructed.&lt;br /&gt;
&lt;br /&gt;
Behind the power plant the lake started being sucked up by a pump.[[File:TLS 2 River.png|center|thumb|The sucked up river on TLS 2]]&lt;br /&gt;
&lt;br /&gt;
=== Fourth and Fifth Power Plants ===&lt;br /&gt;
On the 1st of August, 2019, Terry added Domo to join the Minecraft Sus group chat, saying that he wanted to play the TLS, calling the power plants on the server amazing. He joined the TLS right after and the construction of Unit 4 began. The power plant was designed to be the safest one on the server with every reactor having it&#039;s own room, separated from others and including an &amp;quot;emergency procedure&amp;quot; that&#039;d flood the room with water, cooling the reactor quickly, as well as removing Uranium Rods and replacing them with Overclocked Heat Vents to cool the reactor in seconds. &lt;br /&gt;
&lt;br /&gt;
Some time later the plans to build Unit 5. The design was meant to be similar to Unit 3 and 4 of the Chernobyl Power Plant by having a reactor on each side of the central building, totalling two reactors. The power plant was never finished, however, and only a blueprint in the ground of the power plant remained.&lt;br /&gt;
&lt;br /&gt;
=== Revival period ===&lt;br /&gt;
&lt;br /&gt;
== Power Plants ==&lt;br /&gt;
All power plants on the server, despite AACR&#039;s capability to auto-refuel, never implemented the automatic creation of [[Quad Uranium Cells]], due to that, most of the power plants within world downloads have their reactors with only depleted uranium cells.&lt;br /&gt;
&lt;br /&gt;
=== Unit 1 ===&lt;br /&gt;
This was the first ever power plant built on the server by the members. It was the first one ever to use the [[ATOM Actively Cooled Reactor|AACR]] design.&lt;br /&gt;
&lt;br /&gt;
All of the Control Rooms wiring was made by Rez and is left outside the powerplant for everyone to see (and destroying the look of the environment). It also is the first time wireless redstone was used for controlling reactors on the server, which started the trend for every other power plant.&lt;br /&gt;
&lt;br /&gt;
The reactor exploded once, while the power plant was being constructed.&lt;br /&gt;
&lt;br /&gt;
The power plant ultimately had a single AACR reactor, fully featured with [[Emergency Disable System#2nd Category (EDS-2)|EDS-2]] and [[Emergency Disable System#5th Category (EDS-5)|EDS-5]] and output power monitoring.&lt;br /&gt;
&lt;br /&gt;
The name of the reactor in NPP 1 is Big Boi V2.&lt;br /&gt;
&lt;br /&gt;
==== Screenshots ====&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:TLS 1 NPP 1 Control Room.png|Control Room&lt;br /&gt;
File:2025-08-23 20.18.23.png|Reactor Hall&lt;br /&gt;
File:2025-08-23 20.40.07.png|Pumps Room&lt;br /&gt;
File:NPP_1_Control_Room_Cabling.png|The cabling of the control room&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unit 2 &amp;quot;Big NPP&amp;quot; ===&lt;br /&gt;
The NPP 2 was the biggest power plant on TLS 2, featuring a total of 12 AACR reactors, totalling an output power of 33,600 EU/t.&lt;br /&gt;
&lt;br /&gt;
It is important to mention that while we consider the entire plant one unit, functionally all 12 reactors had separate controls, cooling, and forcefield capabilities, with power output and the EDS-7 safety system being the only major common elements between them.&lt;br /&gt;
&lt;br /&gt;
==== Screenshots ====&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:NPP_2_Building.png|NPP 2 Building&lt;br /&gt;
File:NPP_2_Control_Room.png|Control Room&lt;br /&gt;
File:NPP_2_Reactor_Hall.png|Reactor Hall&lt;br /&gt;
File:NPP_2_Pumps_Room.png|Pumps Room&lt;br /&gt;
File:NPP_2_Output_cable.png|The power output cable&lt;br /&gt;
File:NPP_2_Reactor_Control_Circuits.png|The Reactor control circuits&lt;br /&gt;
File:NPP_2_Forcefield_Arrays.png|The forcefield arrays&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unit 3 ===&lt;br /&gt;
The 3rd NPP on the server was meant to be a &amp;quot;roleplay npp&amp;quot;&amp;lt;ref name=&amp;quot;roleplay-npp&amp;quot;&amp;gt;Citation/confirmation required&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Read more|article=Unit 3&#039;s Printed Logs}}&lt;br /&gt;
&lt;br /&gt;
Several Printed Logs can be found inside the control room.[[File:Noel&#039;s Printed log.png|thumb|Noel&#039;s printed log in the NPP 3 control room]]&lt;br /&gt;
==== Nuke at Unit 3 ====&lt;br /&gt;
On 22nd July Noel pressed a button, behind which a nuke was placed, in order to access the rooftop of the power plant.&lt;br /&gt;
&lt;br /&gt;
The power plant promptly exploded destroying around 6-8 hours of work done on the power plant.&lt;br /&gt;
&lt;br /&gt;
Noel was framed for the explosion and the original saboteur remained a mystery for a while.&lt;br /&gt;
&lt;br /&gt;
Eventually Rez revealed he was the person who placed the nuke behind the button, while he made a backup of the server&#039;s world before the nuke was exploded, the save got overwritten by newer world region files and in the end, there was only a save with an exploded NPP 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Screenshots ====&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:TLS 2 NPP 3 Building.png|NPP 3 Building&lt;br /&gt;
File:TLS 2 NPP 3 Entrance.png|The entrance&lt;br /&gt;
File:TLS 2 NPP 3 Control Room.png|Control Room&lt;br /&gt;
File:TLS 2 NPP 3 Reactor Hall.png|Reactor Hall&lt;br /&gt;
File:TLS 2 NPP 3 Reactor in Confinement.png|Reactor inside it&#039;s confinement&lt;br /&gt;
File:TLS 2 NPP 3 Remains of an explosion.png|Remains of an explosion at NPP 3&lt;br /&gt;
File:TLS 2 NPP 3 Power Monitoring 1.png|Power plant&#039;s power monitoring outside&lt;br /&gt;
File:TLS 2 NPP 3 Power Monitoring 2.png|Power plant&#039;s power monitoring in control room&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
=== Unit 4 ===&lt;br /&gt;
NPP 4 was the first power plant built by [[Domo1504K|Domo]] right after he joined the server in August. &lt;br /&gt;
&lt;br /&gt;
It was designed to be the safest power plant on the server, featuring safety features such as:&lt;br /&gt;
&lt;br /&gt;
* the entire building being constructed from Reinforced Stone&lt;br /&gt;
* emergency procedures&lt;br /&gt;
* each reactor being in it&#039;s own room&lt;br /&gt;
* flooding reactor rooms with water in case of overheating&lt;br /&gt;
* replacing Quad Uranium Cells with Overclocked Heat Vents to instantly decrease the temperature inside the reactor.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also the only power plant on the server to exclusively use the Polish language.&lt;br /&gt;
&lt;br /&gt;
The reactors used a slightly modified version of the AACR design to facilitate the safety features.&lt;br /&gt;
&lt;br /&gt;
Most of the power plant&#039;s cabling is hidden under the control room (finally) making it hard to see from the outside.&lt;br /&gt;
&lt;br /&gt;
The power plant was also meant to include a power distribution plant inside it, however while the room for it was built, the technology never got designed. &lt;br /&gt;
==== Flaws ====&lt;br /&gt;
There were a few flaws related to the safety systems inside the reactors. While being flaws, they didn&#039;t impact the safety of reactors.&lt;br /&gt;
&lt;br /&gt;
* Due to problems with the ME system not handling NBT data correctly, using emergency procedures to replace Quad Uranium Cells with Overclocked Heat Vents, often resulted in flooding of the ME system&#039;s storage with partially used reactor components, as well as not always exporting all Uranium Cells or Heat Vents out of the reactor.&lt;br /&gt;
** The partially used reactor components would also be unable to go inside the reactor again upon disabling the emergency procedure due to the same NBT issues with ME system.&lt;br /&gt;
* Flooding the reactor rooms with water often resulted in them being flooded indefinitely due to problems with water source blocks and Grates used to pump water in and out of the rooms. Due to that the rooms are usually left partially filled with water.&lt;br /&gt;
&lt;br /&gt;
==== Screenshots ====&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:TLS 2 NPP 4 Building.png|NPP 4 Building&lt;br /&gt;
File:TLS 2 NPP 4 Control Room.png|Control Room&lt;br /&gt;
File:TLS 2 NPP 4 Reactor Hall.png|Reactor Hall with 4 reactor rooms&lt;br /&gt;
File:TLS 2 NPP 4 Reactor Room.png|Reactor Room&lt;br /&gt;
File:TLS 2 NPP 4 Water Tank.png|The water tank supplying flooding systems&lt;br /&gt;
File:TLS 2 NPP 4 Power Distribution Room.png|The unfinished power distribution room&lt;br /&gt;
File:TLS 2 NPP 4 Cabling.png|The cabling of NPP 4&lt;br /&gt;
File:TLS 2 NPP 4 Pump Room.png|The unfinished pump room&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unit 5 ===&lt;br /&gt;
The NPP 5 was meant to be a new power plant on the server, the design of which was mainly inspired by Unit 3 and 4 of ChNPP.&lt;br /&gt;
&lt;br /&gt;
Despite the plans of building it, only a rough blueprint of the power plant was build on the ground west to NPP 4.&lt;br /&gt;
&lt;br /&gt;
==== Screenshots ====&lt;br /&gt;
[[File:TLS 2 NPP 5 Blueprint.png|center|thumb|533x533px|The blueprint of NPP 5, the signs say which room it is.]]&lt;br /&gt;
&lt;br /&gt;
== World Downloads ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date saved/zipped&lt;br /&gt;
!Oracle bucket&lt;br /&gt;
!Archive.org&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|23rd July 2019&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-23.07.2019.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-23.07.2019.zip Download]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|29th July 2019&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-29.07.2019.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-29.07.2019.zip Download]&lt;br /&gt;
|Fatally exploded Unit 2&lt;br /&gt;
|-&lt;br /&gt;
|23rd November 2019&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-23.11.2019.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-23.11.2019.zip Download]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2nd June 2021&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-02.06.2021.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-02.06.2021.zip Download]&lt;br /&gt;
|Post-revival&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=TLS_2&amp;diff=254</id>
		<title>TLS 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=TLS_2&amp;diff=254"/>
		<updated>2025-09-06T16:08:18Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: /* Unit 4 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation|missing_information=History of the server, Revival information, Citations required in footnotes}}{{TLSInfoBox|title=TLS #2|image=2025-08-23 19.34.24.png|date-start=* 19/07/2019&lt;br /&gt;
* Rebooted in May 2021|date-end=* 03/08/2019&lt;br /&gt;
* After the reboot around June 2021|members=* [[Terryiscool160]]&lt;br /&gt;
* [[Gery0002]]&lt;br /&gt;
* [[rezizdigus]]&lt;br /&gt;
* [[noelieboelie]]&lt;br /&gt;
* [[Kuba0040]]&lt;br /&gt;
* [[Domo1504K]]&lt;br /&gt;
* [[Markovdan]]&lt;br /&gt;
* [[Atomic]]}}&#039;&#039;&#039;The TLS 2&#039;&#039;&#039; was the 2nd iteration of the [[Tekkit Lite Server]]. It initially started as a survival server, however soon after it&#039;s launch it turned into a creative server.&lt;br /&gt;
&lt;br /&gt;
This is the first main TLS iteration that [[Rezizdigus|Rez]], [[Terryiscool160|Terry]], [[Gery0002|Gery]] and [[Noelieboelie|Noel]] played on, with [[Kuba0040|Koobs]] joining on 20th July 2019 and [[Domo1504K]] joining the server on the 1st August 2019, both playing on it for a while.&lt;br /&gt;
&lt;br /&gt;
TLS 2 features:&lt;br /&gt;
&lt;br /&gt;
* 4 [[ATOM Actively Cooled Reactor|AACR]] power plants, all differing from each other by their design or the number of reactors&lt;br /&gt;
&lt;br /&gt;
* a rail network ([[TLS 2 Monorail System]])&lt;br /&gt;
* a not even started oil processing plant&lt;br /&gt;
* glass-fibre power grid running throughout the desert&lt;br /&gt;
* various houses built by the members of the server&lt;br /&gt;
* a museum&lt;br /&gt;
* a coffee machine&lt;br /&gt;
* the ME Storage Facility (that no one ever used)&lt;br /&gt;
* as well as many decoration buildings.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The server was first started on the 18th of July 2019 by [[rezizdigus|Rez]] after [[Terryiscool160|Terry]] invited him to the group chat on Discord, following a failed attempt at hosting the server on Aternos.[[File:Terry yelling at aternos.png|Terry yelling at Aternos|center|frameless]]&lt;br /&gt;
=== Survival Gameplay ===&lt;br /&gt;
Upon first joining the server everyone was in survival mode, and that&#039;s how the server was originally meant to be played. &lt;br /&gt;
&lt;br /&gt;
However, the next day Gery said that he and Rez got bored of playing on survival and he asked in the Discord group chat whether the server could switch to creative mode.&lt;br /&gt;
[[File:Picture of gery said were bored from playing survival.png|center|frameless|Gery saying we got bored]]&lt;br /&gt;
During the time the server was in survival mode, a house was built, a primitive power source consisting of a BuildCraft engine powered by oil, as well as a very basic ME system.&lt;br /&gt;
&lt;br /&gt;
=== Creative and First Power Plant ===&lt;br /&gt;
Immediately after switching to creative mode, the construction of the first Nuclear Power Plant on the server began. It was the first power plant to utilise the highly modified and upgraded version of TLS 1&#039;s [[Class II Reactor|Class II Reactors]], later named [[ATOM Actively Cooled Reactor|AACR]]. It was also the first power plant that heavily relied on wireless redstone, starting a trend that continued over to every other power plant on the server.&lt;br /&gt;
&lt;br /&gt;
Approximately 2 hours after switching to creative, a test of the reactor design failed &#039;&#039;miserably.&#039;&#039;&lt;br /&gt;
[[File:Gery Reactor Boom.png|center|frameless|534x534px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Second Power Plant and the City ===&lt;br /&gt;
After the completion of Unit 1 on the 20th&amp;lt;ref&amp;gt;Citation/confirmation required&amp;lt;/ref&amp;gt; of July, plans were immediately made to construct a second, bigger powerplant nearby. the &amp;quot;Big NPP&amp;quot; would feature the same AACR design, but with several reactors strung together to a single power output, generating more than enough power to satisfy the growing energy demands of the nearby settlement, later named [[ATOM Town]].&lt;br /&gt;
&lt;br /&gt;
Alongside the construction of the plant, many other buildings would begin popping up around the area, serving both functional and aesthetic purposes. Private houses were built by server members, machines, factories and training grounds began popping up. This is also when the [[Koobs Coffee]] coffee machine was constructed by [[Kuba0040]]. Although being a creative server, transportation was also improved with the creation of roads, pathways, and the [[TLS 2 Monorail System]].&lt;br /&gt;
&lt;br /&gt;
This period also saw the debut of the Fiberglass Grid system, a necessary innovation designed to efficiently carry and distrubute the electricity produced by the two units.&lt;br /&gt;
&lt;br /&gt;
=== Third Power Plant ===&lt;br /&gt;
For their next project, the server members decided to construct a power plant designed exclusively for roleplay and training purposes. As a result of this, Unit 3 featured no passive safety features or automatized feeding system, and several design elements allowing operators a more direct form of reactor control. Construction began on the 22nd of July, 2019. &lt;br /&gt;
&lt;br /&gt;
Shortly after completion, the Nuke incident would occur, destroying a significant part of the plant, as well as a nearby oil refinery. Initial plans included covering up the wreck in a sarcophagus, or turning it into a museum. Eventually the plant would be rebuilt to operational capacity, though the scars of the explosion could still be seen. Some world downloads feature a basalt layer covering up damaged portions of the plant.&lt;br /&gt;
&lt;br /&gt;
During this time both the rail and power grid systems were expanded, and more buildings were constructed.&lt;br /&gt;
&lt;br /&gt;
Behind the power plant the lake started being sucked up by a pump.[[File:TLS 2 River.png|center|thumb|The sucked up river on TLS 2]]&lt;br /&gt;
&lt;br /&gt;
=== Fourth and Fifth Power Plants ===&lt;br /&gt;
On the 1st of August, 2019, Terry added Domo to join the Minecraft Sus group chat, saying that he wanted to play the TLS, calling the power plants on the server amazing. He joined the TLS right after and the construction of Unit 4 began. The power plant was designed to be the safest one on the server with every reactor having it&#039;s own room, separated from others and including an &amp;quot;emergency procedure&amp;quot; that&#039;d flood the room with water, cooling the reactor quickly, as well as removing Uranium Rods and replacing them with Overclocked Heat Vents to cool the reactor in seconds. &lt;br /&gt;
&lt;br /&gt;
Some time later the plans to build Unit 5. The design was meant to be similar to Unit 3 and 4 of the Chernobyl Power Plant by having a reactor on each side of the central building, totalling two reactors. The power plant was never finished, however, and only a blueprint in the ground of the power plant remained.&lt;br /&gt;
&lt;br /&gt;
=== Revival period ===&lt;br /&gt;
&lt;br /&gt;
== Power Plants ==&lt;br /&gt;
All power plants on the server, despite AACR&#039;s capability to auto-refuel, never implemented the automatic creation of [[Quad Uranium Cells]], due to that, most of the power plants within world downloads have their reactors with only depleted uranium cells.&lt;br /&gt;
&lt;br /&gt;
=== Unit 1 ===&lt;br /&gt;
This was the first ever power plant built on the server by the members. It was the first one ever to use the [[ATOM Actively Cooled Reactor|AACR]] design.&lt;br /&gt;
&lt;br /&gt;
All of the Control Rooms wiring was made by Rez and is left outside the powerplant for everyone to see (and destroying the look of the environment). It also is the first time wireless redstone was used for controlling reactors on the server, which started the trend for every other power plant.&lt;br /&gt;
&lt;br /&gt;
The reactor exploded once, while the power plant was being constructed.&lt;br /&gt;
&lt;br /&gt;
The power plant ultimately had a single AACR reactor, fully featured with [[Emergency Disable System#2nd Category (EDS-2)|EDS-2]] and [[Emergency Disable System#5th Category (EDS-5)|EDS-5]] and output power monitoring.&lt;br /&gt;
&lt;br /&gt;
The name of the reactor in NPP 1 is Big Boi V2.&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:TLS 1 NPP 1 Control Room.png|Control Room&lt;br /&gt;
File:2025-08-23 20.18.23.png|Reactor Hall&lt;br /&gt;
File:2025-08-23 20.40.07.png|Pumps Room&lt;br /&gt;
File:NPP_1_Control_Room_Cabling.png|The cabling of the control room&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unit 2 &amp;quot;Big NPP&amp;quot; ===&lt;br /&gt;
The NPP 2 was the biggest power plant on TLS 2, featuring a total of 12 AACR reactors, totalling an output power of 33,600 EU/t.&lt;br /&gt;
&lt;br /&gt;
It is important to mention that while we consider the entire plant one unit, functionally all 12 reactors had separate controls, cooling, and forcefield capabilities, with power output and the EDS-7 safety system being the only major common elements between them.&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:NPP_2_Building.png|NPP 2 Building&lt;br /&gt;
File:NPP_2_Control_Room.png|Control Room&lt;br /&gt;
File:NPP_2_Reactor_Hall.png|Reactor Hall&lt;br /&gt;
File:NPP_2_Pumps_Room.png|Pumps Room&lt;br /&gt;
File:NPP_2_Output_cable.png|The power output cable&lt;br /&gt;
File:NPP_2_Reactor_Control_Circuits.png|The Reactor control circuits&lt;br /&gt;
File:NPP_2_Forcefield_Arrays.png|The forcefield arrays&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unit 3 ===&lt;br /&gt;
The 3rd NPP on the server was meant to be a &amp;quot;roleplay npp&amp;quot;&amp;lt;ref name=&amp;quot;roleplay-npp&amp;quot;&amp;gt;Citation/confirmation required&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Read more|article=Unit 3&#039;s Printed Logs}}&lt;br /&gt;
&lt;br /&gt;
Several Printed Logs can be found inside the control room.&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:TLS 2 NPP 3 Building.png|NPP 3 Building&lt;br /&gt;
File:TLS 2 NPP 3 Entrance.png|The entrance&lt;br /&gt;
File:TLS 2 NPP 3 Control Room.png|Control Room&lt;br /&gt;
File:TLS 2 NPP 3 Reactor Hall.png|Reactor Hall&lt;br /&gt;
File:TLS 2 NPP 3 Reactor in Confinement.png|Reactor inside it&#039;s confinement&lt;br /&gt;
File:TLS 2 NPP 3 Remains of an explosion.png|Remains of an explosion at NPP 3&lt;br /&gt;
File:TLS 2 NPP 3 Power Monitoring 1.png|Power plant&#039;s power monitoring outside&lt;br /&gt;
File:TLS 2 NPP 3 Power Monitoring 2.png|Power plant&#039;s power monitoring in control room&lt;br /&gt;
&amp;lt;/gallery&amp;gt;[[File:Noel&#039;s Printed log.png|thumb|Noel&#039;s printed log in the NPP 3 control room]]&lt;br /&gt;
==== Nuke at Unit 3 ====&lt;br /&gt;
On 22nd July Noel pressed a button, behind which a nuke was placed, in order to access the rooftop of the power plant.&lt;br /&gt;
&lt;br /&gt;
The power plant promptly exploded destroying around 6-8 hours of work done on the power plant.&lt;br /&gt;
&lt;br /&gt;
Noel was framed for the explosion and the original saboteur remained a mystery for a while.&lt;br /&gt;
&lt;br /&gt;
Eventually Rez revealed he was the person who placed the nuke behind the button, while he made a backup of the server&#039;s world before the nuke was exploded, the save got overwritten by newer world region files and in the end, there was only a save with an exploded NPP 3.&lt;br /&gt;
&lt;br /&gt;
=== Unit 4 ===&lt;br /&gt;
NPP 4 was the first power plant built by [[Domo1504K|Domo]] right after he joined the server in August. &lt;br /&gt;
&lt;br /&gt;
It was designed to be the safest power plant on the server, featuring safety features such as:&lt;br /&gt;
&lt;br /&gt;
* the entire building being constructed from Reinforced Stone&lt;br /&gt;
* emergency procedures&lt;br /&gt;
* each reactor being in it&#039;s own room&lt;br /&gt;
* flooding reactor rooms with water in case of overheating&lt;br /&gt;
* replacing Quad Uranium Cells with Overclocked Heat Vents to instantly decrease the temperature inside the reactor.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also the only power plant on the server to exclusively use the Polish language.&lt;br /&gt;
&lt;br /&gt;
The reactors used a slightly modified version of the AACR design to facilitate the safety features.&lt;br /&gt;
&lt;br /&gt;
Most of the power plant&#039;s cabling is hidden under the control room (finally) making it hard to see from the outside.&lt;br /&gt;
&lt;br /&gt;
The power plant was also meant to include a power distribution plant inside it, however while the room for it was built, the technology never got designed. &lt;br /&gt;
==== Flaws ====&lt;br /&gt;
There were a few flaws related to the safety systems inside the reactors. While being flaws, they didn&#039;t impact the safety of reactors.&lt;br /&gt;
&lt;br /&gt;
* Due to problems with the ME system not handling NBT data correctly, using emergency procedures to replace Quad Uranium Cells with Overclocked Heat Vents, often resulted in flooding of the ME system&#039;s storage with partially used reactor components, as well as not always exporting all Uranium Cells or Heat Vents out of the reactor.&lt;br /&gt;
** The partially used reactor components would also be unable to go inside the reactor again upon disabling the emergency procedure due to the same NBT issues with ME system.&lt;br /&gt;
* Flooding the reactor rooms with water often resulted in them being flooded indefinitely due to problems with water source blocks and Grates used to pump water in and out of the rooms. Due to that the rooms are usually left partially filled with water.&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:TLS 2 NPP 4 Building.png|NPP 4 Building&lt;br /&gt;
File:TLS 2 NPP 4 Control Room.png|Control Room&lt;br /&gt;
File:TLS 2 NPP 4 Reactor Hall.png|Reactor Hall with 4 reactor rooms&lt;br /&gt;
File:TLS 2 NPP 4 Reactor Room.png|Reactor Room&lt;br /&gt;
File:TLS 2 NPP 4 Water Tank.png|The water tank supplying flooding systems&lt;br /&gt;
File:TLS 2 NPP 4 Power Distribution Room.png|The unfinished power distribution room&lt;br /&gt;
File:TLS 2 NPP 4 Cabling.png|The cabling of NPP 4&lt;br /&gt;
File:TLS 2 NPP 4 Pump Room.png|The unfinished pump room&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unit 5 ===&lt;br /&gt;
The NPP 5 was meant to be a new power plant on the server, the design of which was mainly inspired by Unit 3 and 4 of ChNPP.&lt;br /&gt;
&lt;br /&gt;
Despite the plans of building it, only a rough blueprint of the power plant was build on the ground west to NPP 4.&lt;br /&gt;
[[File:TLS 2 NPP 5 Blueprint.png|center|thumb|533x533px|The blueprint of NPP 5, the signs say which room it is.]]&lt;br /&gt;
&lt;br /&gt;
== World Downloads ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date saved/zipped&lt;br /&gt;
!Oracle bucket&lt;br /&gt;
!Archive.org&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|23rd July 2019&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-23.07.2019.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-23.07.2019.zip Download]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|29th July 2019&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-29.07.2019.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-29.07.2019.zip Download]&lt;br /&gt;
|Fatally exploded Unit 2&lt;br /&gt;
|-&lt;br /&gt;
|23rd November 2019&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-23.11.2019.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-23.11.2019.zip Download]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2nd June 2021&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-02.06.2021.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-02.06.2021.zip Download]&lt;br /&gt;
|Post-revival&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
	<entry>
		<id>https://wiki.tekkitlite.xyz/index.php?title=TLS_2&amp;diff=253</id>
		<title>TLS 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.tekkitlite.xyz/index.php?title=TLS_2&amp;diff=253"/>
		<updated>2025-09-06T16:07:35Z</updated>

		<summary type="html">&lt;p&gt;Rezizdigus: /* Fourth and Fifth Power Plants */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MissingInformation|missing_information=History of the server, Revival information, Citations required in footnotes}}{{TLSInfoBox|title=TLS #2|image=2025-08-23 19.34.24.png|date-start=* 19/07/2019&lt;br /&gt;
* Rebooted in May 2021|date-end=* 03/08/2019&lt;br /&gt;
* After the reboot around June 2021|members=* [[Terryiscool160]]&lt;br /&gt;
* [[Gery0002]]&lt;br /&gt;
* [[rezizdigus]]&lt;br /&gt;
* [[noelieboelie]]&lt;br /&gt;
* [[Kuba0040]]&lt;br /&gt;
* [[Domo1504K]]&lt;br /&gt;
* [[Markovdan]]&lt;br /&gt;
* [[Atomic]]}}&#039;&#039;&#039;The TLS 2&#039;&#039;&#039; was the 2nd iteration of the [[Tekkit Lite Server]]. It initially started as a survival server, however soon after it&#039;s launch it turned into a creative server.&lt;br /&gt;
&lt;br /&gt;
This is the first main TLS iteration that [[Rezizdigus|Rez]], [[Terryiscool160|Terry]], [[Gery0002|Gery]] and [[Noelieboelie|Noel]] played on, with [[Kuba0040|Koobs]] joining on 20th July 2019 and [[Domo1504K]] joining the server on the 1st August 2019, both playing on it for a while.&lt;br /&gt;
&lt;br /&gt;
TLS 2 features:&lt;br /&gt;
&lt;br /&gt;
* 4 [[ATOM Actively Cooled Reactor|AACR]] power plants, all differing from each other by their design or the number of reactors&lt;br /&gt;
&lt;br /&gt;
* a rail network ([[TLS 2 Monorail System]])&lt;br /&gt;
* a not even started oil processing plant&lt;br /&gt;
* glass-fibre power grid running throughout the desert&lt;br /&gt;
* various houses built by the members of the server&lt;br /&gt;
* a museum&lt;br /&gt;
* a coffee machine&lt;br /&gt;
* the ME Storage Facility (that no one ever used)&lt;br /&gt;
* as well as many decoration buildings.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The server was first started on the 18th of July 2019 by [[rezizdigus|Rez]] after [[Terryiscool160|Terry]] invited him to the group chat on Discord, following a failed attempt at hosting the server on Aternos.[[File:Terry yelling at aternos.png|Terry yelling at Aternos|center|frameless]]&lt;br /&gt;
=== Survival Gameplay ===&lt;br /&gt;
Upon first joining the server everyone was in survival mode, and that&#039;s how the server was originally meant to be played. &lt;br /&gt;
&lt;br /&gt;
However, the next day Gery said that he and Rez got bored of playing on survival and he asked in the Discord group chat whether the server could switch to creative mode.&lt;br /&gt;
[[File:Picture of gery said were bored from playing survival.png|center|frameless|Gery saying we got bored]]&lt;br /&gt;
During the time the server was in survival mode, a house was built, a primitive power source consisting of a BuildCraft engine powered by oil, as well as a very basic ME system.&lt;br /&gt;
&lt;br /&gt;
=== Creative and First Power Plant ===&lt;br /&gt;
Immediately after switching to creative mode, the construction of the first Nuclear Power Plant on the server began. It was the first power plant to utilise the highly modified and upgraded version of TLS 1&#039;s [[Class II Reactor|Class II Reactors]], later named [[ATOM Actively Cooled Reactor|AACR]]. It was also the first power plant that heavily relied on wireless redstone, starting a trend that continued over to every other power plant on the server.&lt;br /&gt;
&lt;br /&gt;
Approximately 2 hours after switching to creative, a test of the reactor design failed &#039;&#039;miserably.&#039;&#039;&lt;br /&gt;
[[File:Gery Reactor Boom.png|center|frameless|534x534px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Second Power Plant and the City ===&lt;br /&gt;
After the completion of Unit 1 on the 20th&amp;lt;ref&amp;gt;Citation/confirmation required&amp;lt;/ref&amp;gt; of July, plans were immediately made to construct a second, bigger powerplant nearby. the &amp;quot;Big NPP&amp;quot; would feature the same AACR design, but with several reactors strung together to a single power output, generating more than enough power to satisfy the growing energy demands of the nearby settlement, later named [[ATOM Town]].&lt;br /&gt;
&lt;br /&gt;
Alongside the construction of the plant, many other buildings would begin popping up around the area, serving both functional and aesthetic purposes. Private houses were built by server members, machines, factories and training grounds began popping up. This is also when the [[Koobs Coffee]] coffee machine was constructed by [[Kuba0040]]. Although being a creative server, transportation was also improved with the creation of roads, pathways, and the [[TLS 2 Monorail System]].&lt;br /&gt;
&lt;br /&gt;
This period also saw the debut of the Fiberglass Grid system, a necessary innovation designed to efficiently carry and distrubute the electricity produced by the two units.&lt;br /&gt;
&lt;br /&gt;
=== Third Power Plant ===&lt;br /&gt;
For their next project, the server members decided to construct a power plant designed exclusively for roleplay and training purposes. As a result of this, Unit 3 featured no passive safety features or automatized feeding system, and several design elements allowing operators a more direct form of reactor control. Construction began on the 22nd of July, 2019. &lt;br /&gt;
&lt;br /&gt;
Shortly after completion, the Nuke incident would occur, destroying a significant part of the plant, as well as a nearby oil refinery. Initial plans included covering up the wreck in a sarcophagus, or turning it into a museum. Eventually the plant would be rebuilt to operational capacity, though the scars of the explosion could still be seen. Some world downloads feature a basalt layer covering up damaged portions of the plant.&lt;br /&gt;
&lt;br /&gt;
During this time both the rail and power grid systems were expanded, and more buildings were constructed.&lt;br /&gt;
&lt;br /&gt;
Behind the power plant the lake started being sucked up by a pump.[[File:TLS 2 River.png|center|thumb|The sucked up river on TLS 2]]&lt;br /&gt;
&lt;br /&gt;
=== Fourth and Fifth Power Plants ===&lt;br /&gt;
On the 1st of August, 2019, Terry added Domo to join the Minecraft Sus group chat, saying that he wanted to play the TLS, calling the power plants on the server amazing. He joined the TLS right after and the construction of Unit 4 began. The power plant was designed to be the safest one on the server with every reactor having it&#039;s own room, separated from others and including an &amp;quot;emergency procedure&amp;quot; that&#039;d flood the room with water, cooling the reactor quickly, as well as removing Uranium Rods and replacing them with Overclocked Heat Vents to cool the reactor in seconds. &lt;br /&gt;
&lt;br /&gt;
Some time later the plans to build Unit 5. The design was meant to be similar to Unit 3 and 4 of the Chernobyl Power Plant by having a reactor on each side of the central building, totalling two reactors. The power plant was never finished, however, and only a blueprint in the ground of the power plant remained.&lt;br /&gt;
&lt;br /&gt;
=== Revival period ===&lt;br /&gt;
&lt;br /&gt;
== Power Plants ==&lt;br /&gt;
All power plants on the server, despite AACR&#039;s capability to auto-refuel, never implemented the automatic creation of [[Quad Uranium Cells]], due to that, most of the power plants within world downloads have their reactors with only depleted uranium cells.&lt;br /&gt;
&lt;br /&gt;
=== Unit 1 ===&lt;br /&gt;
This was the first ever power plant built on the server by the members. It was the first one ever to use the [[ATOM Actively Cooled Reactor|AACR]] design.&lt;br /&gt;
&lt;br /&gt;
All of the Control Rooms wiring was made by Rez and is left outside the powerplant for everyone to see (and destroying the look of the environment). It also is the first time wireless redstone was used for controlling reactors on the server, which started the trend for every other power plant.&lt;br /&gt;
&lt;br /&gt;
The reactor exploded once, while the power plant was being constructed.&lt;br /&gt;
&lt;br /&gt;
The power plant ultimately had a single AACR reactor, fully featured with [[Emergency Disable System#2nd Category (EDS-2)|EDS-2]] and [[Emergency Disable System#5th Category (EDS-5)|EDS-5]] and output power monitoring.&lt;br /&gt;
&lt;br /&gt;
The name of the reactor in NPP 1 is Big Boi V2.&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:TLS 1 NPP 1 Control Room.png|Control Room&lt;br /&gt;
File:2025-08-23 20.18.23.png|Reactor Hall&lt;br /&gt;
File:2025-08-23 20.40.07.png|Pumps Room&lt;br /&gt;
File:NPP_1_Control_Room_Cabling.png|The cabling of the control room&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unit 2 &amp;quot;Big NPP&amp;quot; ===&lt;br /&gt;
The NPP 2 was the biggest power plant on TLS 2, featuring a total of 12 AACR reactors, totalling an output power of 33,600 EU/t.&lt;br /&gt;
&lt;br /&gt;
It is important to mention that while we consider the entire plant one unit, functionally all 12 reactors had separate controls, cooling, and forcefield capabilities, with power output and the EDS-7 safety system being the only major common elements between them.&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:NPP_2_Building.png|NPP 2 Building&lt;br /&gt;
File:NPP_2_Control_Room.png|Control Room&lt;br /&gt;
File:NPP_2_Reactor_Hall.png|Reactor Hall&lt;br /&gt;
File:NPP_2_Pumps_Room.png|Pumps Room&lt;br /&gt;
File:NPP_2_Output_cable.png|The power output cable&lt;br /&gt;
File:NPP_2_Reactor_Control_Circuits.png|The Reactor control circuits&lt;br /&gt;
File:NPP_2_Forcefield_Arrays.png|The forcefield arrays&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unit 3 ===&lt;br /&gt;
The 3rd NPP on the server was meant to be a &amp;quot;roleplay npp&amp;quot;&amp;lt;ref name=&amp;quot;roleplay-npp&amp;quot;&amp;gt;Citation/confirmation required&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Read more|article=Unit 3&#039;s Printed Logs}}&lt;br /&gt;
&lt;br /&gt;
Several Printed Logs can be found inside the control room.&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:TLS 2 NPP 3 Building.png|NPP 3 Building&lt;br /&gt;
File:TLS 2 NPP 3 Entrance.png|The entrance&lt;br /&gt;
File:TLS 2 NPP 3 Control Room.png|Control Room&lt;br /&gt;
File:TLS 2 NPP 3 Reactor Hall.png|Reactor Hall&lt;br /&gt;
File:TLS 2 NPP 3 Reactor in Confinement.png|Reactor inside it&#039;s confinement&lt;br /&gt;
File:TLS 2 NPP 3 Remains of an explosion.png|Remains of an explosion at NPP 3&lt;br /&gt;
File:TLS 2 NPP 3 Power Monitoring 1.png|Power plant&#039;s power monitoring outside&lt;br /&gt;
File:TLS 2 NPP 3 Power Monitoring 2.png|Power plant&#039;s power monitoring in control room&lt;br /&gt;
&amp;lt;/gallery&amp;gt;[[File:Noel&#039;s Printed log.png|thumb|Noel&#039;s printed log in the NPP 3 control room]]&lt;br /&gt;
==== Nuke at Unit 3 ====&lt;br /&gt;
On 22nd July Noel pressed a button, behind which a nuke was placed, in order to access the rooftop of the power plant.&lt;br /&gt;
&lt;br /&gt;
The power plant promptly exploded destroying around 6-8 hours of work done on the power plant.&lt;br /&gt;
&lt;br /&gt;
Noel was framed for the explosion and the original saboteur remained a mystery for a while.&lt;br /&gt;
&lt;br /&gt;
Eventually Rez revealed he was the person who placed the nuke behind the button, while he made a backup of the server&#039;s world before the nuke was exploded, the save got overwritten by newer world region files and in the end, there was only a save with an exploded NPP 3.&lt;br /&gt;
&lt;br /&gt;
=== Unit 4 ===&lt;br /&gt;
NPP 4 was the first power plant built by [[Domo1504K|Domo]] right after he joined the server in August. &lt;br /&gt;
&lt;br /&gt;
It was designed to be the safest power plant on the server, featuring safety features such as:&lt;br /&gt;
&lt;br /&gt;
* the entire building being constructed from Reinforced Stone&lt;br /&gt;
* emergency procedures&lt;br /&gt;
* each reactor being in it&#039;s own room&lt;br /&gt;
* flooding reactor rooms with water in case of overheating&lt;br /&gt;
* replacing Quad Uranium Cells with Overclocked Heat Vents to instantly decrease the temperature inside the reactor.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also the only power plant on the server to exclusively use the Polish language.&lt;br /&gt;
&lt;br /&gt;
The reactors used a slightly modified version of the AACR design to facilitate the safety features.&lt;br /&gt;
&lt;br /&gt;
Most of the power plant&#039;s cabling is hidden under the control room (finally) making it hard to see from the outside.&lt;br /&gt;
&lt;br /&gt;
The power plant was also meant to include a power distribution plant inside it, however while the room for it was built, the technology never got designed. &amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;300&amp;quot;&amp;gt;&lt;br /&gt;
File:TLS 2 NPP 4 Building.png|NPP 4 Building&lt;br /&gt;
File:TLS 2 NPP 4 Control Room.png|Control Room&lt;br /&gt;
File:TLS 2 NPP 4 Reactor Hall.png|Reactor Hall with 4 reactor rooms&lt;br /&gt;
File:TLS 2 NPP 4 Reactor Room.png|Reactor Room&lt;br /&gt;
File:TLS 2 NPP 4 Water Tank.png|The water tank supplying flooding systems&lt;br /&gt;
File:TLS 2 NPP 4 Power Distribution Room.png|The unfinished power distribution room&lt;br /&gt;
File:TLS 2 NPP 4 Cabling.png|The cabling of NPP 4&lt;br /&gt;
File:TLS 2 NPP 4 Pump Room.png|The unfinished pump room&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Flaws ====&lt;br /&gt;
There were a few flaws related to the safety systems inside the reactors. While being flaws, they didn&#039;t impact the safety of reactors.&lt;br /&gt;
&lt;br /&gt;
* Due to problems with the ME system not handling NBT data correctly, using emergency procedures to replace Quad Uranium Cells with Overclocked Heat Vents, often resulted in flooding of the ME system&#039;s storage with partially used reactor components, as well as not always exporting all Uranium Cells or Heat Vents out of the reactor.&lt;br /&gt;
** The partially used reactor components would also be unable to go inside the reactor again upon disabling the emergency procedure due to the same NBT issues with ME system.&lt;br /&gt;
* Flooding the reactor rooms with water often resulted in them being flooded indefinitely due to problems with water source blocks and Grates used to pump water in and out of the rooms. Due to that the rooms are usually left partially filled with water.&lt;br /&gt;
&lt;br /&gt;
=== Unit 5 ===&lt;br /&gt;
The NPP 5 was meant to be a new power plant on the server, the design of which was mainly inspired by Unit 3 and 4 of ChNPP.&lt;br /&gt;
&lt;br /&gt;
Despite the plans of building it, only a rough blueprint of the power plant was build on the ground west to NPP 4.&lt;br /&gt;
[[File:TLS 2 NPP 5 Blueprint.png|center|thumb|533x533px|The blueprint of NPP 5, the signs say which room it is.]]&lt;br /&gt;
&lt;br /&gt;
== World Downloads ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Date saved/zipped&lt;br /&gt;
!Oracle bucket&lt;br /&gt;
!Archive.org&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|23rd July 2019&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-23.07.2019.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-23.07.2019.zip Download]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|29th July 2019&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-29.07.2019.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-29.07.2019.zip Download]&lt;br /&gt;
|Fatally exploded Unit 2&lt;br /&gt;
|-&lt;br /&gt;
|23rd November 2019&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-23.11.2019.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-23.11.2019.zip Download]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2nd June 2021&lt;br /&gt;
|[https://lrls4erj5bbb.objectstorage.uk-london-1.oci.customer-oci.com/n/lrls4erj5bbb/b/bucket-20211010-1903/o/tls%2Ftls2%2Fworld%2Ftls-2-02.06.2021.zip Download]&lt;br /&gt;
|[https://archive.org/download/tls-2-world-saves/tls-2-02.06.2021.zip Download]&lt;br /&gt;
|Post-revival&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rezizdigus</name></author>
	</entry>
</feed>