Module:Update: Difference between revisions
Jump to navigation
Jump to search
no edit summary
OtherXAdmin (talk | contribs) (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...") |
OtherXAdmin (talk | contribs) No edit summary |
||
Line 174: | Line 174: | ||
end | end | ||
else | else | ||
table.insert(ret, '[[Category: | table.insert(ret, '[[Category:Otherside updates]]') | ||
end | end | ||
if #external then | if #external then | ||
Line 223: | Line 223: | ||
end | end | ||
link = '[ | 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> | message = ' is from before the launch of <i>Otherside</i> and is copied verbatim from the ' | ||
website = '[ | website = '[]' | ||
end | end | ||
--OSRS updates | --OSRS updates | ||
else | else | ||
message = ' is copied verbatim from the ' | message = ' is copied verbatim from the ' | ||
website = '[ | website = '[]' | ||
end | end | ||
Line 272: | Line 272: | ||
:wikitext(website) | :wikitext(website) | ||
:done() | :done() | ||
:wikitext(' | :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 | -- [[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 | 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() |