<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AShortcut</id>
	<title>Module:Shortcut - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AShortcut"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Module:Shortcut&amp;action=history"/>
	<updated>2026-05-12T18:30:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=Module:Shortcut&amp;diff=34136&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;local p = {}  function p.main(frame)     local args = frame:getParent().args     return p._main(args) end  function p._main(args)     local div = mw.html.create(&#039;div&#039;)         :addClass(&#039;shortcut noprint plainlist&#039;)         :wikitext(&#039;Shortcut&#039;)      local numargs = 0     for i, v in ipairs(args) do         numargs = numargs + 1     end          if numargs &gt; 1 then         div:node(&#039;s&#039;)     end     div:node(&#039;:&#039;)      local list = div:tag(&#039;ul&#039;)...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Module:Shortcut&amp;diff=34136&amp;oldid=prev"/>
		<updated>2024-10-15T22:36:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  function p.main(frame)     local args = frame:getParent().args     return p._main(args) end  function p._main(args)     local div = mw.html.create(&amp;#039;div&amp;#039;)         :addClass(&amp;#039;shortcut noprint plainlist&amp;#039;)         :wikitext(&amp;#039;&lt;a href=&quot;/index.php?title=RuneScape:Shortcut&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;RuneScape:Shortcut (page does not exist)&quot;&gt;Shortcut&lt;/a&gt;&amp;#039;)      local numargs = 0     for i, v in ipairs(args) do         numargs = numargs + 1     end          if numargs &amp;gt; 1 then         div:node(&amp;#039;s&amp;#039;)     end     div:node(&amp;#039;:&amp;#039;)      local list = div:tag(&amp;#039;ul&amp;#039;)...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
    local args = frame:getParent().args&lt;br /&gt;
    return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
    local div = mw.html.create(&amp;#039;div&amp;#039;)&lt;br /&gt;
        :addClass(&amp;#039;shortcut noprint plainlist&amp;#039;)&lt;br /&gt;
        :wikitext(&amp;#039;[[RuneScape:Shortcut|Shortcut]]&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
    local numargs = 0&lt;br /&gt;
    for i, v in ipairs(args) do&lt;br /&gt;
        numargs = numargs + 1&lt;br /&gt;
    end    &lt;br /&gt;
&lt;br /&gt;
    if numargs &amp;gt; 1 then&lt;br /&gt;
        div:node(&amp;#039;s&amp;#039;)&lt;br /&gt;
    end&lt;br /&gt;
    div:node(&amp;#039;:&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
    local list = div:tag(&amp;#039;ul&amp;#039;)&lt;br /&gt;
    for i, v in ipairs(args) do&lt;br /&gt;
        list:tag(&amp;#039;li&amp;#039;):wikitext(&amp;#039;[[&amp;#039; .. v .. &amp;#039;]]&amp;#039;)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    return tostring(div)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[ DEBUG COPYPASTA&lt;br /&gt;
= p._main({&amp;#039;Link 1&amp;#039;, &amp;#039;Link 2&amp;#039;, &amp;#039;Link 3&amp;#039;, &amp;#039;Link 4&amp;#039;})&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>