Module:Update: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "--<nowiki> -- IMPORTS local pt = require('Module:Paramtest') local hc = pt.has_content local dt = pt.default_to local top_icons -- Module:Top icons local contains -- Module:Array local ordinal -- Module:Ordinal -- exposed table local p = {} --[=[ -- -- HELPER TABLES AND FUNCTIONS -- --]=] -- replacement before calling encode -- as lua patterns local repl_before = { ['%('] = '', ['%)'] = '', ['%!'] = '', } -- replacements after calling encode -- as...")
 
No edit summary
 
Line 174: Line 174:
end
end
else
else
table.insert(ret, '[[Category:Old School RuneScape updates]]')
table.insert(ret, '[[Category:Otherside updates]]')
end
end
if #external then
if #external then
Line 223: Line 223:
end
end
link = '[https://secure.runescape.com/m=news/' .. link .. ' official news post]'
link = '[]'
end
end
Line 258: Line 258:
--Historical updates
--Historical updates
if a.time == 'historical' then
if a.time == 'historical' then
message = ' is from before the launch of <i>Old School RuneScape</i> and is copied verbatim from the '
message = ' is from before the launch of <i>Otherside</i> and is copied verbatim from the '
website = '[https://www.runescape.com/community <i>RuneScape</i> website]'
website = '[]'
end
end
--OSRS updates
--OSRS updates
else
else
message = ' is copied verbatim from the '
message = ' is copied verbatim from the '
website = '[https://oldschool.runescape.com/ <i>Old School RuneScape</i> website]'
website = '[]'
end
end
Line 272: Line 272:
:wikitext(website)
:wikitext(website)
:done()
:done()
:wikitext('. It is copyrighted by [[Jagex]].')
:wikitext('.')
:tag('br'):done()
:tag('br'):done()
:wikitext(postDateInfo)
:wikitext(postDateInfo)
Line 307: Line 307:
end
end


-- [[Template:Patch Notes]] no links available as Patch Note Archive have been removed from Jagex's website
-- [[Template:Patch Notes]] no links available as Patch Note Archive have been removed from the website
function p.patchnotes(frame)
function p.patchnotes(frame)
local a = frame:getParent().args
local a = frame:getParent().args
Line 331: Line 331:
end
end
div:wikitext('These official [[Patch Notes]] are copied verbatim from the Patch Notes Archive which is no longer available. It is copyrighted by [[Jagex]].')
div:wikitext('These official [[Patch Notes]] are copied verbatim from the Patch Notes Archive which is no longer available.')
:done()
:done()
:tag('br'):done()
:tag('br'):done()

Navigation menu