Module:Update: Difference between revisions

mNo edit summary
mNo edit summary
Line 78: Line 78:
future = {'Future updates', 'Future update'},
future = {'Future updates', 'Future update'},
game = {'Game updates', 'Game update'},
game = {'Game updates', 'Game update'},
shop = {'Shop updates', 'Shop update'},
sof = {'Squeal of Fortune updates', 'Squeal of Fortune'},
sgs = {'Solomon\'s Store updates', 'Solomon\'s Store'},
support = {'Support updates', 'Support'},
support = {'Support updates', 'Support'},
technical = {'Technical updates', 'Technical'},
technical = {'Technical updates', 'Technical'},
th = {'Treasure Hunter updates', 'Treasure Hunter'},
website = {'Website updates', 'Website update'},
website = {'Website updates', 'Website update'},
competitions = {'Competition updates', 'Competitions'},
mobile = {'Mobile updates', 'Mobile'},
mobile = {'Mobile updates', 'Mobile'},
['#default'] = {'Missing update category', ''},
['#default'] = {'Missing update category', ''},
Line 107: Line 102:
future = 'future',
future = 'future',
game = 'game',
game = 'game',
shop = 'shop',
ss = 'sgs',
sgs = 'sgs',
solomon = 'sgs',
['solomon\'s store'] = 'sgs',
sof = 'sof',
squeal = 'sof',
cs = 'support',
cs = 'support',
customer = 'support',
customer = 'support',
Line 120: Line 108:
tech = 'technical',
tech = 'technical',
technical = 'technical',
technical = 'technical',
th = 'th',
treasure = 'th',
['treasure hunter'] = 'th',
site = 'website',
site = 'website',
ws = 'website',
ws = 'website',
website = 'website',
website = 'website',
competitions = 'competitions',
mobile = 'mobile',
mobile = 'mobile',
Line 294: Line 278:
function p.patchnotes(frame)
function p.patchnotes(frame)
local function qfclink(qfc)
local function qfclink(qfc)
return 'http://services.runescape.com/m=forum/forums.ws?' .. string.gsub(qfc, '%-', ',')
return 'https://www.geministation.com/patch-notes' .. string.gsub(qfc, '%-', ',')
end
end
Line 353: Line 337:
:tag('span')
:tag('span')
:addClass('plainlinks')
:addClass('plainlinks')
:wikitext('[https://secure.runescape.com/m=news/ \'\'RuneScape\'\' news posts]')
:wikitext('[https://www.geministation.com \'\'Gemini Station\'\' website]')
:done()
:done()
:wikitext('. It is copyrighted by [[Jagex]].')
:wikitext('. It is copyrighted by [[Jagex]].')
Line 375: Line 359:
:wikitext('[https://secure.runescape.com/m=news/ \'\'RuneScape\'\' news posts]')
:wikitext('[https://secure.runescape.com/m=news/ \'\'RuneScape\'\' news posts]')
:done()
:done()
:wikitext('. It is copyrighted by [[Jagex]].')
:wikitext('. It is copyrighted by [[User:Noresist|The Developer]].')
:tag('br'):done()
:tag('br'):done()
:wikitext('These Patch Notes were announced on ' .. date_link .. '.')
:wikitext('These Patch Notes were announced on ' .. date_link .. '.')