Jump to content
Main Menu
Main Menu
move to sidebar
hide
Navigation
Main page
Guide
Recent changes
Random page
Getting started
Bconomy
Ranks
Profile modes
Web Client
Gameplay
Actions
Items
Market
Farm
Pets
Relay Network
Prestige
Activities
Bosses
Factions
Museum
Fun House
Coinflip
Burn
Pyre
Bconomy Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Module
:
Update history navbox
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
local p = {} local months = { 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' } function p.render() local index = mw.title.new('Update history'):getContent() or '' local region = index:match('<!%-%- bconomy:begin version%-index %-%->(.-)<!%-%- bconomy:end version%-index %-%->') if not region then return '[[Update history|Browse the chronological index]]' end local root = mw.html.create('table'):addClass('bc-navbox-table bc-navbox-years') local year, month, monthTable, list for y, m, link in region:gmatch('| data%-sort%-value="(%d%d%d%d)%-(%d%d)%-%d%d"[^\n]*\n| (%[%[[^\n]+%]%])\n') do if year ~= y then year, month = y, nil local row = root:tag('tr') row:tag('th'):attr('scope', 'row'):addClass('bc-navbox-year'):wikitext(y) monthTable = row:tag('td'):addClass('bc-navbox-year-body') :tag('table'):addClass('bc-navbox-months') end if month ~= m then month = m local monthRow = monthTable:tag('tr') monthRow:tag('th'):attr('scope', 'row'):wikitext(months[tonumber(m)] or m) list = monthRow:tag('td'):tag('ul'):addClass('bc-release-links') end local target, label = link:match('^%[%[([^|%]]+)|?([^%]]*)%]%]$') if target then label = (label ~= '' and label or target):gsub('^V(%d)', 'v%1') list:tag('li'):wikitext('[[' .. target .. '|' .. label .. ']]') end end if not year then return '[[Update history|Browse the chronological index]]' end return tostring(root) end return p
Summary:
Please note that all contributions to Bconomy Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Bconomy Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Page included on this page:
Module:Update history navbox/doc
(
edit
)
Search
Search
Editing
Module
:
Update history navbox
Add topic