FANDOM


Simplified and abridged version of the General Timeline for 1983: Doomsday.

For a detailed report of Sept 26, 1983 Doomsday

And this takes you back to Back to Main Page


September 19, 1983 P.O.D. Edit

File:Doomsday Map 1982.PNG
  • Colonel Gennady Akrimov replaces Col. Stanislav Petrov as watch officer at the Serpukhov-15 bunker near Moscow.

Sept. 26, 1983 – 00:40 GMT+3 (Moscow Time)Edit

  • Akrimov's bunker's computers mistakenly indicate that US missiles are heading toward the Soviet Union. He does not realize that it is a glitch, and nuclear war erupts between the USSR and USA, quickly spreading to China, NATO and the Warsaw Pact nations - 3000 nuclear weapons in all.
  • EMPs (electro-magnetic pulses) from airburst weapons destroy some 70% of the electronics across the Northern Hemisphere.
  • Final death toll on the first day: 1.53 billion people.

September 1983-December 1983 : Aftermath Edit

General OverviewEdit

  • Fallout, fires, starvation, dehydration, disease, etc. adds another 700 million to the death toll.
  • No "nuclear winter": cloud patterns return to normal by mid-October.
  • Much of North America, Europe, the Soviet Union, and China are uninhabitable.

North America Edit

U.S. Edit

  • President Reagan is transferred to the Mount Weather command bunker. Vice-President George Bush is relocated to the Greenbrier Hotel facility.
  • Hawaiian government taken over by farm labor union. Because of its small size, Hawaii is the only US state with a functioning government covering the entire state.
  • All over the former US, though, regional and local governments are in the process of forming provisional governments in the name of their states. Alaska, the first state hit, struggles with an isolated government in Juneau.

Cuba Edit

  • Havana and Santiago hit. Surviving government officials advise migration to Central or South America.

Central AmericaEdit

South AmericaEdit

  • No direct attacks in South America, but breakdowns in trade and civil unrest have taken their toll. Some fallout along the northern coast.
  • Argentina suspends presidential elections.
  • Some guerrillas in Colombia achieve a stronger position due to the unrest.
  • Almost completely dominated by oil exports to the US, Venezuela's economy collapses.

OceaniaEdit

  • Governing Committee established for both halves of Samoa.

AsiaEdit

  • Separatist uprisings shake parts of Indonesia. Suharto regime withdraws from peripheral regions.
  • GAM (Acehnese separatist) commander Hosein di Tiro regroups loyal GAM units in Banda Aceh, where they start to fight for control of the city.

EuropeEdit

  • In Portugal, a provisional government is established at Punta Delgada in the Azores.
  • 100,000 British refugees flee to Ireland. Parliament takes emergency measures to contain civil disorder.
  • 4 weeks after DD, British Privy Councilor Gordon Wilson integrates Northern Irish regiments into the Irish Armed Forces, laying the foundations for the future Celtic Alliance.

Soviet Union Edit

  • Initial estimates place death toll at 260 million. Very few officials survive, leaving the remaining population in anarchy.
  • People and institutions in Siberia and the Russian Far East have survived Doomsday much better than Europe and Central Asia.

Middle EastEdit

  • Israel and Jordan are hit yet retain organized government. Syria is hit and descends into anarchy. Egypt is not hit but falls to Islamist revolution.

1984: DesperationEdit

  • "Nuclear summer": nitrogen oxides and a reduced ozone layer raise temperatures to an average high of 10-25 F (5-14 C) over normal.

North America Edit

USEdit

  • April 23rd: Reagan and Bush leave the US to head for Australia.
  • May 5th: They leave. Reagan makes it safely to Hawaii.
  • May 6th: Reagan's plane crashes into the South Pacific after leaving Hawaii.

CanadaEdit

  • A new government arises in the sparsely hit Atlantic Provinces.

OceaniaEdit

  • By November, Australia and New Zealand have aligned and in some cases combined key branches of government.

South AmericaEdit

  • FARC, M-19 and EPL guerrillas reach a ceasefire with the Colombian government.

AsiaEdit

EuropeEdit

  • Some RAF units return to the UK from the Falkland Islands. They evacuate a few survivors to South Africa.

1985: Puzzling Pieces Edit

  • Two years after Doomsday, starvation has killed another 200 million people. Cannibalism, roving gangs, anarchy, clan warfare, and warlordism continue to make efforts at civil government unsuccessful.
  • In a few regions, surviving nations and remaining governing bodies reluctantly start cooperating with neighbours.
  • Radiation has spread to Brazil, southern Africa and northern Australia. These areas suffer little permanent damage, but violent weather and the destruction of trade cause hardship.

EuropeEdit

  • The provincial government of the Spanish Canary Islands, together with the POLISARIO rebels in Western Sahara, form the País del Oro (Golden Land) government, a successor to Spain.
  • The Irish government produces the principal agreements for the Celtic Alliance. The Scottish islands come under further stress due to refugees from the Glasgow area.

OceaniaEdit

  • The existing ANZUS defence pact between the USA, Australia and New Zealand is modified and extended. All remaining American and NATO forces placed under ANZUS command.
  • On June 1st, the ANZUS "Gathering Order" tells all able units to gather in Australian, New Zealand and Hawaiian waters. The Benjamin Franklin and Nimitz are recovered.
  • The American Provisional Authority and Samoa's Governing Committee agree to share power in American Samoa.

AsiaEdit

  • GAM gains control over the Banda Aceh.
  • In October, GAM re-establishes a Sultanate Government under Hosein di Tiro and institutes Islamic law.

AfricaEdit

  • The loss of American, European and Soviet aid has plunged most of the African nations into chaos and starvation.
  • The economy of South Africa collapses. The white minority hoards food and fuel, provoking rioting.
  • August 17th: The ANC rescues Nelson Mandela from prison, but he soon dies in a bombing raid in Pretoria.

South AmericaEdit

  • November: Eruption of Ruiz volcano Colombia causes landslides, which are made worse by the lack of infrastructure.

1986: The Celts emerge from the radioactive mist Edit

  • March 20th: Celtic Alliance formed to replace the UK and the Irish Republic. The Alliance claims sovereignty over the UK and dependencies.
  • Election year in Colombia. Barco unseats conservative Belisario Betancur in a landslide. Both candidates share the intention to build a South American economic bloc.
  • British refugees and displaced English from South Africa and Zimbabwe found the Anglo-African state of New Britain in Port Elizabeth.
  • New Samoan constitution is ratified. Elections held in May; the United Fono first meets in September.

1987Edit

  • In Hawaii, the assassination of Governor Goldblatt sparks a new round of intense civil war.
  • Bermuda becomes a kingdom under King John (formerly Governor John, Viscount Dunrossil).
  • Failed truce in Costa Rica between Sandinista, Contra, and Limónese (Government) factions.
  • Egypt attacks Israel. Israel launches the last nuclear attack to date, destroying Egypt's Islamist government.

1988Edit

  • George Bush and ANZUS troops restore order in Hawaii. Power transferred to a military committee answerable to the American Provisional Administration.
  • October 5th: Chilean De facto President Augusto Pinochet Ugarte is defeated in a national plebiscite which sought to renew his mandate.

1989Edit

  • November 7: The military supervises elections to bring a democratically elected government back to Hawaii.
  • Sandinistas occupying Costa Rica's Central Valley sever ties with the Nicaraguan government.

1990: Out of Chaos Comes OrderEdit

  • January: Harry Kim is peacefully sworn in as Hawaii's new governor. Kim appoints Andrew Pi'ikoi Kawananakoa, a royal claimant and leader of a civil war faction, as Lieutenant Governor. Food riots in Maui.

EuropeEdit

  • Cape Verde joins with the Portuguese Interim Government.
  • June: The first small aid convoy arrives at the Azores from Brazil.
  • September 26th: Governments of Iceland and Norway create the Nordic Union comprising Iceland, parts of Norway, Faroe Islands, Svalbard and Bouvet. Swedish and Danish survivors, including some royals, settle in the union.

South America Edit

  • The Andean Nations Pact (PAN) becomes the Andean Union (UA), a free market agreement between Venezuela, Colombia, Ecuador, Peru and Bolivia.
  • Barco in Colombia is succeeded by Liberal candidate Luis Carlos Galán. Galán easily defeats Patriotic Union candidate Carlos Pizarro and Conservative Rodrigo Lloreda.
  • Mario Vargas Lleras is elected president in Peru, succeeding Alan García.

1991: Voyage of DiscoveryEdit

  • A depleted ozone layer takes its toll. Sunburns begin in southern Australia after only a few minutes' exposure. Sunscreen now is a top priority in the surviving nations.
  • A general rise in temperatures and an increase in UV-radiation also occur.
  • The USS Benjamin Franklin is re-fitted by the Royal Australian Navy and sent on a worldwide intelligence gathering mission, which lasts until August 1992.
    • Along the west coast of the US, the situation is "medieval". Estimated population of the US less than 10 million.
    • Contact made with western US, the Canadian Remnant, the Azores, Pais del Oro, Ireland, and the Nordic Union.
    • Global warming is depleting the northern ice cap.
    • China, Japan, and much of Asia are as "medieval" as the United States.
    • India has suffered mass starvation and disintegrated into numerous warlordships.
  • American Football League founded in Pago Pago.

1992Edit

Northern AtlanticEdit

  • January: Portuguese Interim Government establishes contact with other neighbors in the North Atlantic, beginning a period of renewed cooperation among old NATO members.

AsiaEdit

  • Aceh claims all of Sumatra. GAM troops and the IIIL army fight to a two-week stalemate. Provisional border between Aceh and IIIL is established.
  • Pakistan invades and assumes control over the formally Indian- and Chinese-administrated areas of Kashmir.

OceaniaEdit

  • A joint US/Australian team restores the LORAN radio navigation station on Marcus Island.
  • A US military conspiracy to desert and settle the North American coast is foiled in Hawaii.

1993Edit

EuropeEdit

  • September 26: Remnants of Denmark and Sweden join the Nordic Union.

AmericasEdit

  • Partido Urbano, a left-wing but anti-Sandinista localist movement, gains control over Alajuela, Costa Rica.

OceaniaEdit

  • Canberra Conference: the ANZUS powers agree to transfer some former UK naval units to the Celtic Alliance.
  • The entire surviving population of the Bonin Islands (c. 600 Japanese) is evacuated to Maui.

1994Edit

EuropeEdit

1995 - End of an Age Edit

US/ OceaniaEdit

  • May 1: The American Provisional Administration formally ends. Bush encourages American expats to accept Australian citizenship.
  • Summer: The Continuity Act transfers American sovereignty to "a legitimate successor" to be "elected by the American people” in the future.
  • A third and final ANZUS-Treaty integrates "Gathering" forces into the ANZC military.
  • American Samoa, Micronesia and the Marshall Islands vote to join the ANZC; Hawaii and Alaska become associated states.
  • New Hawaiian Constitution restores the old monarchy under King Andrew I.

1996Edit

  • January 20: Andrew is crowned King of Hawaii and opens first Congress of the Free State.
  • March 30: Samoa, Micronesia, and Marshall Islands are formally incorporated into the ANZC.
  • April 22: Swains Island, the last territory under the US government, is transferred to Tokelau Islands (ANZC colony).

1997Edit

  • Experimental plant opened on Hawaii's Big Island to convert sugarcane into fuel.

1998Edit

1999Edit

2000Edit

  • The new Millennium begins without much fanfare.
  • April: Another ANZC recon mission of the world. Surveys made of the west coast of the United States, surviving European territories, Japan, and China.
    • New contact is made with Sri Lanka, Cyprus and Sicily.
    • Western US found to consist of scattered group of heavily fortified villages. Plant life is appearing in former desert areas. Radiation has dropped to low levels.
  • King John of Bermuda dies and is succeeded by his wife Diana.

2001Edit

  • A joint European-South American team launches a new Odessey-class rocket from the Guiana Space Centre in Kouru, French Guiana.

2002Edit

2003Edit

  • Twenty years after the war, some improvements in the climate and environment are noted. CO2 levels and accompanying temperatures have dropped. Ozone levels beginning to recover over the Antarctic, but are still dangerously low.

Asia/Oceania:Edit

  • India: In a short cease fire, warlords establish the Union Constitutional Council. Fighting starts again within weeks.
  • Bougainville invades and occupies the Solomon Islands.
  • April 4th: Papua (Papua New Guinea and the western Papuan Provinces of Indonesia) become an associated territory of the ANZC.

2004 Edit

South AmericaEdit

OceaniaEdit

  • Prime Minister Paul Keating and the ANZC Parliament create a "World Census and Reclamation Bureau". Numerous missions are conducted to tally the population of the world. Temporary bases are established in many countries in the process.
  • Their findings:
    • Total World Population: 800 million, primarily in the Southern Hemisphere.
    • Chief causes of death: communicable disease, cancer, and starvation.
    • Infant mortality rate: 40%
    • 60% or three out of five children die before reaching age five.
    • Average life-span: 38 years.
    • Literacy rates for those under 20 years of age: 2% (outside of ANZC, SAC, Nordic nations, Celtic Alliance).

2005Edit

  • Hawaii and the ANZC finally agree on how to divide the former American islands of the Pacific.

2006Edit

U.S.Edit

South AmericaEdit

  • The SAC now consists of eight South American States. A new policy requires its members to have democratic governments, although this is interpreted very broadly.

AfricaEdit

  • Conditions are mostly horrifying.
  • A joint ANZ-SAC force establishes a South African Provisional Government (the RZA) at Cape Town.

2007Edit

  • The ANZC Prime Minister initiates secret talks about re-establishing a League of Nations. Portuguese mediation is key to achieving South American cooperation. An acceptable plan is found by May 2007.

Africa Edit

  • The twin cities of Kinshasa and Brazzaville in former Zaire form a “Self–Defense Council”.

Asia/OceaniaEdit

Europe and North AmericaEdit

2008 – Dawn of a New Hope --- and a new, dark threat in EuropeEdit

  • ANZ PM Keating and other world leaders reveal their plans for a new UN-like organization in their New Year's Day addresses.
  • On September 26th: exactly 25 years Doomsday, representatives of most acknowledged nations meet at Canberra to sign the Foundation Charter of the League of Nations.
  • November 8th: The expanding Mafia state of Sicily officially declares the long-awaited blockade of all Mediterranean Sea territories under its control.
  • ADC, LoN, Aegean Federation and Suez Channel Zone troops are sent to the Sicily region.
  • November 11th: League of Nations SECGen orders an immediate emergency session to resolve the conflict.
  • December 9th with now sign of a back down the LoN asks the Celtic Alliance to intervene and the C.A.N Scimitar is dispatched to the region followed by the Aircraft carrier C.A.N Leeming...

2009 - Troubles MultiplyEdit

  • The League of Nations continues to expand its scope. In January, it takes over the Guiana Space Centre. In March, the new Red Cross is founded in Geneva.

North AmericaEdit

  • Australian aircraft cease to report after flying over the east coast of the old United States.
  • Mexico's Good Friday Riots bring two new parties, the PAN and the PRD, to power. The parties change their names to the Partido Conservatívo and the Partido Democrático, respectively.
  • Bermuda makes contact with the Celtic Alliance.

Southeast AsiaEdit

  • In March, Indonesians adopt a new constitution.

OceaniaEdit

  • On February 12, Hawaii's Governor Lingle resigns due to skin cancer.

AfricaEdit

  • New Britain has proposed an African Economic Community to engender wealth production in all of Southern Africa.

2010 - Picking Up the Pieces and a New America Edit

File:World map feb 10.png

South AmericaEdit

  • February 27th: An 8.8-magnitude earthquake occurs in Chile, triggering a tsunami over the Pacific and killing 497. The earthquake is one of the largest in recorded history.
  • Brazilian presidential candidate José Serra (PSDB) is assassinated.

Central AmericaEdit

  • An earthquake in Haiti kills well over 200,000 people, leaving more than one million people homeless.

EuropeEdit

North AmericaEdit

AsiaEdit

AfricaEdit

2011Edit

2012Edit

2013 Edit

2014 Edit

2015 Edit

--

-- This module will implement Template loop detected: Template:Navbox --

local p = {}

local HtmlBuilder = require('Module:HtmlBuilder') local navbar = require('Module:Navbar')._navbar local getArgs -- lazily initialized

local args local tableRowAdded = false local border local listnums = {}

local function trim(s)

   return (mw.ustring.gsub(s, "^%s*(.-)%s*$", "%1"))

end

local function addNewline(s)

   if s:match('^[*:;#]') or s:match('^{|') then
       return '\n' .. s ..'\n'
   else
       return s
   end

end

local function addTableRow(tbl)

   -- If any other rows have already been added, then we add a 2px gutter row.
   if tableRowAdded then
       tbl
           .tag('tr')
               .css('height', '2px')
               .tag('td')
               	.attr('colspan',2)
   end

   tableRowAdded = true

   return tbl.tag('tr')

end

local function renderNavBar(titleCell)

   -- Depending on the presence of the navbar and/or show/hide link, we may need to add a spacer div on the left
   -- or right to keep the title centered.
   local spacerSide = nil

   if args.navbar == 'off' then
       -- No navbar, and client wants no spacer, i.e. wants the title to be shifted to the left. If there's
       -- also no show/hide link, then we need a spacer on the right to achieve the left shift.
       if args.state == 'plain' then spacerSide = 'right' end
   elseif args.navbar == 'plain' or (not args.name and mw.getCurrentFrame():getParent():getTitle() == 'Template:Navbox' and (border == 'subgroup' or border == 'child' or border == 'none')) then
       -- No navbar. Need a spacer on the left to balance out the width of the show/hide link.
       if args.state ~= 'plain' then spacerSide = 'left' end
   else
       -- Will render navbar (or error message). If there's no show/hide link, need a spacer on the right
       -- to balance out the width of the navbar.
       if args.state == 'plain' then spacerSide = 'right' end

       titleCell.wikitext(navbar{ 
           args.name, 
           mini = 1, 
           fontstyle = (args.basestyle or ) .. ';' .. (args.titlestyle or ) ..  ';background:none transparent;border:none;'
       })
   end

   -- Render the spacer div.
   if spacerSide then
       titleCell
           .tag('span')
               .css('float', spacerSide)
               .css('width', '6em')
               .wikitext(' ')
   end

end

-- -- Title row -- local function renderTitleRow(tbl)

   if not args.title then return end

   local titleRow = addTableRow(tbl)

   if args.titlegroup then
       titleRow
           .tag('th')
               .attr('scope', 'row')
               .addClass('navbox-group')
               .addClass(args.titlegroupclass)
               .cssText(args.basestyle)
               .cssText(args.groupstyle)
               .cssText(args.titlegroupstyle)
               .wikitext(args.titlegroup)
   end

   local titleCell = titleRow.tag('th').attr('scope', 'col')

   if args.titlegroup then
       titleCell
           .css('border-left', '2px solid #fdfdfd')
           .css('width', '100%')
   end

   local titleColspan = 2
   if args.imageleft then titleColspan = titleColspan + 1 end
   if args.image then titleColspan = titleColspan + 1 end
   if args.titlegroup then titleColspan = titleColspan - 1 end

   titleCell
       .cssText(args.basestyle)
       .cssText(args.titlestyle)
       .addClass('navbox-title')
       .attr('colspan', titleColspan)

   renderNavBar(titleCell)

   titleCell
        .tag('div')
            .addClass(args.titleclass)
            .css('font-size', '110%')
            .wikitext(addNewline(args.title))

end

-- -- Above/Below rows --

local function getAboveBelowColspan()

   local ret = 2
   if args.imageleft then ret = ret + 1 end
   if args.image then ret = ret + 1 end
   return ret

end

local function renderAboveRow(tbl)

   if not args.above then return end

   addTableRow(tbl)
       .tag('td')
           .addClass('navbox-abovebelow')
           .addClass(args.aboveclass)
           .cssText(args.basestyle)
           .cssText(args.abovestyle)
           .attr('colspan', getAboveBelowColspan())
           .tag('div')
               .wikitext(addNewline(args.above))

end

local function renderBelowRow(tbl)

   if not args.below then return end

   addTableRow(tbl)
       .tag('td')
           .addClass('navbox-abovebelow')
           .addClass(args.belowclass)
           .cssText(args.basestyle)
           .cssText(args.belowstyle)
           .attr('colspan', getAboveBelowColspan())
           .tag('div')
               .wikitext(addNewline(args.below))

end

-- -- List rows -- local function renderListRow(tbl, listnum)

   local row = addTableRow(tbl)

   if listnum == 1 and args.imageleft then
       row
           .tag('td')
               .addClass('navbox-image')
               .addClass(args.imageclass)
               .css('width', '0%')
               .css('padding', '0px 2px 0px 0px')
               .cssText(args.imageleftstyle)
               .attr('rowspan', 2 * #listnums - 1)
               .tag('div')
                   .wikitext(addNewline(args.imageleft))
   end

   if args['group' .. listnum] then
       local groupCell = row.tag('th')

       groupCell
              .attr('scope', 'row')
              .addClass('navbox-group')
              .addClass(args.groupclass)
              .cssText(args.basestyle)

       if args.groupwidth then
           groupCell.css('width', args.groupwidth)
       end

       groupCell
           .cssText(args.groupstyle)
           .cssText(args['group' .. listnum .. 'style'])
           .wikitext(args['group' .. listnum])
   end

   local listCell = row.tag('td')

   if args['group' .. listnum] then
       listCell
           .css('text-align', 'left')
           .css('border-left-width', '2px')
           .css('border-left-style', 'solid')
   else
       listCell.attr('colspan', 2)
   end

   if not args.groupwidth then 
       listCell.css('width', '100%')
   end

   local isOdd = (listnum % 2) == 1
   local rowstyle = args.evenstyle
   if isOdd then rowstyle = args.oddstyle end

   local evenOdd
   if args.evenodd == 'swap' then
       if isOdd then evenOdd = 'even' else evenOdd = 'odd' end
   else
       if isOdd then evenOdd = args.evenodd or 'odd' else evenOdd = args.evenodd or 'even' end
   end

   listCell
       .css('padding', '0px')
       .cssText(args.liststyle)
       .cssText(rowstyle)
       .cssText(args['list' .. listnum .. 'style'])
       .addClass('navbox-list')
       .addClass('navbox-' .. evenOdd)
       .addClass(args.listclass)
       .tag('div')
           .css('padding', (listnum == 1 and args.list1padding) or args.listpadding or '0em 0.25em')
           .wikitext(addNewline(args['list' .. listnum]))

   if listnum == 1 and args.image then
       row
           .tag('td')
               .addClass('navbox-image')
               .addClass(args.imageclass)
               .css('width', '0%')
               .css('padding', '0px 0px 0px 2px')
               .cssText(args.imagestyle)
               .attr('rowspan', 2 * #listnums - 1)
               .tag('div')
                   .wikitext(addNewline(args.image))
   end

end


-- -- Tracking categories --

local function needsHorizontalLists()

   if border == 'child' or border == 'subgroup'  or args.tracking == 'no' then return false end

   local listClasses = {'plainlist', 'hlist', 'hlist hnum', 'hlist hwrap', 'hlist vcard', 'vcard hlist', 'hlist vevent'}
   for i, cls in ipairs(listClasses) do
       if args.listclass == cls or args.bodyclass == cls then
           return false
       end
   end

   return true

end

local function hasBackgroundColors()

   return mw.ustring.match(args.titlestyle or ,'background') or mw.ustring.match(args.groupstyle or ,'background') or mw.ustring.match(args.basestyle or ,'background')

end

local function getTrackingCategories()

   local cats = {}
   if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end
   if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end
   return cats

end

local function renderTrackingCategories(builder)

   local title = mw.title.getCurrentTitle()
   if title.namespace ~= 10 then return end -- not in template space
   local subpage = title.subpageText
   if subpage == 'doc' or subpage == 'sandbox' or subpage == 'testcases' then return end

   for i, cat in ipairs(getTrackingCategories()) do
       builder.wikitext() 
   end

end

-- -- Main navbox tables -- local function renderMainTable()

   local tbl = HtmlBuilder.create('table')
       .attr('cellspacing', 0)
       .addClass('nowraplinks')
       .addClass(args.bodyclass)

   if args.title and (args.state ~= 'plain' and args.state ~= 'off') then
       tbl
           .addClass('collapsible')
           .addClass(args.state or 'autocollapse')
   end

   tbl.css('border-spacing', 0)
   if border == 'subgroup' or border == 'child' or border == 'none' then
       tbl
           .addClass('navbox-subgroup')
           .cssText(args.bodystyle)
           .cssText(args.style)
   else -- regular navobx - bodystyle and style will be applied to the wrapper table
       tbl
           .addClass('navbox-inner')
           .css('background', 'transparent')
           .css('color', 'inherit')
   end
   tbl.cssText(args.innerstyle)

   renderTitleRow(tbl)
   renderAboveRow(tbl)
   for i, listnum in ipairs(listnums) do
       renderListRow(tbl, listnum) 
   end
   renderBelowRow(tbl)

   return tbl

end

function p._navbox(navboxArgs)

   args = navboxArgs

   for k, v in pairs(args) do
       local listnum = ( .. k):match('^list(%d+)$')
       if listnum then table.insert(listnums, tonumber(listnum)) end
   end
   table.sort(listnums)

   border = trim(args.border or args[1] or )

   -- render the main body of the navbox
   local tbl = renderMainTable()

   -- render the appropriate wrapper around the navbox, depending on the border param
   local res = HtmlBuilder.create()
   if border == 'none' then
       res.node(tbl)
   elseif border == 'subgroup' or border == 'child' then
       -- We assume that this navbox is being rendered in a list cell of a parent navbox, and is
       -- therefore inside a div with padding:0em 0.25em. We start with a </div> to avoid the
-- padding being applied, and at the end add a
to balance out the parent's
       res
           .tag('/div', {unclosed = true})
               .done()
           .node(tbl)
           .tag('div', {unclosed = true})
   else
       res
           .tag('table')
               .attr('cellspacing', 0)
               .addClass('navbox')
               .css('border-spacing', 0)
               .cssText(args.bodystyle)
               .cssText(args.style)
               .tag('tr')
                   .tag('td')
                       .css('padding', '2px')
                       .node(tbl)
   end

   renderTrackingCategories(res)

   return tostring(res)

end

function p.navbox(frame)

   if not getArgs then
   	getArgs = require('Module:Arguments').getArgs
   end
   args = getArgs(frame)

   -- Read the arguments in the order they'll be output in, to make references number in the right order.
   local _
   _ = args.title
   _ = args.above
   for i = 1, 20 do
       _ = args["group" .. tostring(i)]
       _ = args["list" .. tostring(i)]
   end    
   _ = args.below

   return p._navbox(args)

end

return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.