Module:Card/vgTable

local ct = {} function ct.card_table (frame) --    --     --     --    -- local SMW = {} local list_table = mw.html.create('table'):addClass('wikitable'):addClass('sortable') list_table:tag('tr') :tag('th'):attr('scope','col'):wikitext('Video game'):done :tag('th'):attr('scope','col'):wikitext('Date'):done :tag('th'):attr('scope','col'):wikitext('#'):done :tag('th'):attr('scope','col'):wikitext('Name'):done :tag('th'):attr('scope','col'):wikitext('Cost'):done :tag('th'):attr('scope','col'):wikitext('Alignment'):done :tag('th'):attr('scope','col'):wikitext('ATK'):done :tag('th'):attr('scope','col'):wikitext('DEF'):done :tag('th'):attr('scope','col'):wikitext('Status'):done :done if vg-dm1 then list_table:tag('tr') :tag('td'):wikitext("Duel Monsters"):done :tag('td'):attr('title', 'December 16, 1998'):wikitext('1998-12-16'):done :tag('td'):wikitext(       HF.Link('List of Yu-Gi-Oh! Duel Monsters cards', dm1_number)..       ' '        ):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('Present'):done :done -- SMW['DM1 number'] = dm1_number end if vg-dm2 then list_table:tag('tr') :tag('td'):wikitext("Duel Monsters II: Dark duel Stories"):done :tag('td'):attr('title', 'July 8, 1999'):wikitext('1999-07-08'):done :tag('td'):wikitext(       HF.Link('List of Yu-Gi-Oh! Duel Monsters II: Dark duel Stories cards', dm2_number)..       ' '        ):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('Present'):done :done -- SMW['DM2 number'] = dm2number end if vg-mcgb then list_table:tag('tr') :tag('td'):wikitext("Monster Capsule GB"):done :tag('td'):attr('title', 'April 13, 2000'):wikitext('2000-04-13'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('–'):done :tag('td'):wikitext('Present'):done :done end if vg-dds then list_table:tag('tr') :tag('td'):wikitext("Duel Monsters III: Tri-Holy God Advent / Dark Duel Stories"):done :tag('td'):attr('title', 'July 13, 2000'):wikitext('2000-07-13'):done :tag('td'):wikitext(       HF.Link('List of Yu-Gi-Oh! Dark Duel Stories cards', (dds_number or '–'))           ..(dds_number and (                ' '..                ' ') or '')       ):done :tag('td'):wikitext(       (t[dds_name] or '')..        ' '..        ' '        ):done :tag('td'):wikitext((dds_dc or '???')..' '):done :tag('td'):wikitext(           (t[dds_alignment] and (HF.Link(t[dds_alignment]..' (Alignment)', t[dds_alignment])..                   ' '):done    :tag('td'):wikitext((dds_def or '???')..' '):done    :tag('td'):wikitext('Present'):done    :done    -- SMW['DM3 number'] = dds_number    -- SMW['DDS number'] = dds_number    -- SMW['English alternate names'] = t[dds_name]    -- SMW['DDS name'] = t[dds_name]    -- SMW['DDS Deck Cost'] = dds_dc    -- SMW['DDS ATK'] = dds_atk    -- SMW['DDS DEF'] = dds_def    -- SMW['DDS Alignment'] = t[dds_alignment]    end    if vg-dm4 then     list_table:tag('tr')    :tag('td'):wikitext("Duel Monsters 4: Battle of Great Duelist"):done    :tag('td'):attr('title', 'December 7, 2000'):wikitext('2000-12-07'):done    :tag('td'):wikitext(        HF.Link('List of Yu-Gi-Oh! Duel Monsters 4: Battle of Great Duelist cards', dm4_number)..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    -- SMW['DM4 number'] = dm4_number    end    if vg-dm5 then     list_table:tag('tr')    :tag('td'):wikitext("Duel Monsters 5 Expert 1"):done    :tag('td'):attr('title', 'July 5, 2001'):wikitext('2001-07-05'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-dm6 then     list_table:tag('tr')    :tag('td'):wikitext("Duel Monsters 6 Expert 2"):done    :tag('td'):attr('title', 'December 20, 2001'):wikitext('2001-12-20'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-tsc then     list_table:tag('tr')    :tag('td'):wikitext("Duel Monsters 7: The Duelcity Legend / The Sacred Cards"):done    :tag('td'):attr('title', 'July 4, 2002'):wikitext('2002-07-04'):done    :tag('td'):wikitext(        HF.Link('List of Yu-Gi-Oh! The Sacred Cards cards', (tsc_number or '???') )..        ' '..        (t[tsc_number2] and             (' '..t[tsc_number2]..                ' ')             or )        ):done    :tag('td'):wikitext(        (t[tsc_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext((tsc_dc or '???')..' '):done    :tag('td'):wikitext(        (t[tsc_alignment] and             (HF.Link( t[tsc_alignment]..' (Alignment)', t[tsc_alignment] )..                ' ')             or '???')        ):done    :tag('td'):wikitext((tsc_atk or '???')..' '):done    :tag('td'):wikitext((tsc_def or '???')..' '):done    :tag('td'):wikitext(        HF.Link( (tsc_status or 'Unlimited') )..            ' '        ):done    :done    -- if tsc_number then table.insert(SMW, 'TSC number='..tsc_number) end    -- if t[tsc_number2] then table.insert(SMW, 'TSC number='..t[tsc_number2]) end    -- SMW['English alternate names'] = t[tsc_name]    -- SMW['TSC name'] = t[tsc_name]    -- SMW['TSC Deck Cost'] = tsc_dc    -- SMW['TSC Alignment'] = t[tsc_alignment]    -- SMW['TSC ATK'] = tsc_atk    -- SMW['TSC DEF'] = tsc_def    -- SMW['TSC Status'] = (tsc_status or 'Unlimited')    end    if vg-eds then     list_table:tag('tr')    :tag('td'):wikitext("The Eternal Duelist Soul"):done    :tag('td'):attr('title', 'October 15, 2002'):wikitext('2002-10-15'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[eds_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        HF.Link((eds_status or 'Unlimited'))..        ' '        ):done    :done    -- SMW['English alternate names'] = t[eds_name]    -- SMW['EDS name'] = t[eds_name]    -- SMW['EDS Status'] = (eds_status or 'Unlimited')    end    if vg-tfk then     list_table:tag('tr')    :tag('td'):wikitext("The Falsebound Kingdom"):done    :tag('td'):attr('title', 'December 5, 2002'):wikitext('2002-12-05'):done    :tag('td'):wikitext(        HF.Link('List of Yu-Gi-Oh! The Falsebound Kingdom cards', (tfk_number or '???'))..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(tfk_status or 'Unlimited')....        ' '        ):done    :done    -- SMW['TFK number'] = tfk_number    -- SMW['TFK Status'] = (tfk_status or 'Unlimited')    end    if vg-rod then     list_table:tag('tr')    :tag('td'):wikitext("Duel Monsters 8: Reshef of Destruction / Reshef of Destruction"):done    :tag('td'):attr('title', 'March 20, 2003'):wikitext('2003-03-20'):done    :tag('td'):wikitext(        ..(rod_number or '???')....        ' '..        ' '        ):done    :tag('td'):wikitext(        (t[rod_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext(        (rod_dc or '???')..        ' '        ):done    :tag('td'):wikitext(                ):done    :tag('td'):wikitext(        (rod_atk or '???')..        ' '        ):done    :tag('td'):wikitext(        (rod_def or '???')..        ' '        ):done    :tag('td'):wikitext(        ..(rod_status or 'Unlimited')....        ' '        ):done    :done    -- SMW['DM8 number'] = rod_number    -- SMW['ROD number'] = rod_number    end    if vg-sdd then     list_table:tag('tr')    :tag('td'):wikitext("Worldwide Edition: Stairway to the Destined Duel"):done    :tag('td'):attr('title', 'April 15, 2003'):wikitext('2003-04-15'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[sdd_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(sdd_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-pcy then     list_table:tag('tr')    :tag('td'):wikitext("Power of Chaos: Yugi the Destiny"):done    :tag('td'):attr('title', 'November 18, 2003'):wikitext('2003-11-18'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(                ):done    :done    end    if vg-wc4 then     list_table:tag('tr')    :tag('td'):wikitext("World Championship Tournament 2004"):done    :tag('td'):attr('title', 'February 5, 2004'):wikitext('2004-02-05'):done    :tag('td'):wikitext(        ..(wc4_number or '???')....        ' '        ):done    :tag('td'):wikitext(        (t[wc4_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(wc4_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-dod then     list_table:tag('tr')    :tag('td'):wikitext("The Dawn of Destiny"):done    :tag('td'):attr('title', 'March 23, 2004'):wikitext('2004-03-23'):done    :tag('td'):wikitext(        ..(dod_number or '???')....        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(dod_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-pck then     list_table:tag('tr')    :tag('td'):wikitext("Power of Chaos: Kaiba the Revenge"):done    :tag('td'):attr('title', 'April 6, 2004'):wikitext('2004-04-06'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(                ):done    :done    end    if vg-pcj then     list_table:tag('tr')    :tag('td'):wikitext("Power of Chaos: Joey the Passion"):done    :tag('td'):attr('title', 'July 2, 2004'):wikitext('2004-07-02'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(                ):done    :done    end    if vg-cmc then     list_table:tag('tr')    :tag('td'):wikitext("Capsule Monster Coliseum"):done    :tag('td'):attr('title', 'July 29, 2004'):wikitext('2004-07-29'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-wc5 then     list_table:tag('tr')    :tag('td'):wikitext("7 Trials to Glory: World Championship Tournament 2005"):done    :tag('td'):attr('title', 'December 30, 2004'):wikitext('2004-12-30'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[wc5_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(wc5_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-ntr then     list_table:tag('tr')    :tag('td'):wikitext("Nightmare Troubadour"):done    :tag('td'):attr('title', 'July 21, 2005'):wikitext('2005-07-21'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[ntr_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext(        (ntr_dp or '???')..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(ntr_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-ygo then     list_table:tag('tr')    :tag('td'):wikitext("Online"):done    :tag('td'):attr('title', 'November 4, 2005'):wikitext('2005-11-04'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[ygo_name] or )..        ' '..        ' '):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(ygo_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-gx1 then     list_table:tag('tr')    :tag('td'):wikitext("GX Duel Academy"):done    :tag('td'):attr('title', 'November 13, 2005'):wikitext('2005-11-13'):done    :tag('td'):wikitext(        ..(gx1_number or '???')....        ' '        ):done    :tag('td'):wikitext(        (t[gx1_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext(        (gx1_dp or '???')..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(gx1_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-wc6 then     list_table:tag('tr')    :tag('td'):wikitext("Ultimate Masters: World Championship Tournament 2006"):done    :tag('td'):attr('title', 'February 23, 2006'):wikitext('2006-02-23'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[wc6_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext(        (wc6_dp or '???')..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(wc6_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-gx02 then     list_table:tag('tr')    :tag('td'):wikitext("GX Tag Force"):done    :tag('td'):attr('title', 'September 14, 2006'):wikitext('2006-09-14'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[gx02_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext(        (gx02_dp or '???')..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(gx02_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-gx03 then     list_table:tag('tr')    :tag('td'):wikitext("GX Spirit Caller"):done    :tag('td'):attr('title', 'November 30, 2006'):wikitext('2006-11-30'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[gx03_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext(        (gx03_dp or '???')..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(gx03_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-wc07 then     list_table:tag('tr')    :tag('td'):wikitext("World Championship 2007"):done    :tag('td'):attr('title', 'March 15, 2007'):wikitext('2007-03-15'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[wc07_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext(        (wc07_dp or '???')..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(wc07_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-gx04 then     list_table:tag('tr')    :tag('td'):wikitext("GX Tag Force 2"):done    :tag('td'):attr('title', 'September 18, 2007'):wikitext('2007-09-18'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[gx04_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext(        (gx04_dp or '???')..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(gx04_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-wc08 then     list_table:tag('tr')    :tag('td'):wikitext("World Championship 2008"):done    :tag('td'):attr('title', 'November 29, 2007'):wikitext('2007-11-29'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[wc08_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext(        (wc08_dp or '???')..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(wc08_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-gx05 then     list_table:tag('tr')    :tag('td'):wikitext("GX Tag Force Evolution"):done    :tag('td'):attr('title', 'December 6, 2007'):wikitext('2007-12-06'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[gx05_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext(        (gx05_dp or '???')..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(gx05_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-dt then     list_table:tag('tr')    :tag('td'):wikitext("Duel Terminal"):done    :tag('td'):attr('title', 'April 12, 2008'):wikitext('2008-04-12'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-gx06 then     list_table:tag('tr')    :tag('td'):wikitext("GX Tag Force 3"):done    :tag('td'):attr('title', 'November 27, 2008'):wikitext('2008-11-27'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[gx06_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        ..(gx06_status or 'Unlimited')....        ' '        ):done    :done    end    if vg-wc09 then     list_table:tag('tr')    :tag('td'):wikitext("5D's World Championship 2009: Stardust Accelerator"):done    :tag('td'):attr('title', 'March 26, 2009'):wikitext('2009-03-26'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[wc09_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-wb01 then     list_table:tag('tr')    :tag('td'):wikitext("5D's Wheelie Breakers"):done    :tag('td'):attr('title', 'March 26, 2009'):wikitext('2009-03-26'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-tf04 then     list_table:tag('tr')    :tag('td'):wikitext("5D's Tag Force 4"):done    :tag('td'):attr('title', 'September 17, 2009'):wikitext('2009-09-17'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[tf04_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-wc10 then     list_table:tag('tr')    :tag('td'):wikitext("5D's World Championship 2010: Reverse of Arcadia"):done    :tag('td'):attr('title', 'February 18, 2010'):wikitext('2010-02-18'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[wc10_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-tf05 then     list_table:tag('tr')    :tag('td'):wikitext("5D's Tag Force 5"):done    :tag('td'):attr('title', 'September 16, 2010'):wikitext('2010-09-16'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[tf05_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-dd01 then     list_table:tag('tr')    :tag('td'):wikitext("5D's Decade Duels"):done    :tag('td'):attr('title', 'November 3, 2010'):wikitext('2010-11-03'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-ydt1 then     list_table:tag('tr')    :tag('td'):wikitext("5D's Duel Transer"):done    :tag('td'):attr('title', 'December 7, 2010'):wikitext('2010-12-07'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-wc11 then     list_table:tag('tr')    :tag('td'):wikitext("5D's World Championship 2011: Over the Nexus"):done    :tag('td'):attr('title', 'February 24, 2011'):wikitext('2011-02-24'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[wc11_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-tf06 then     list_table:tag('tr')    :tag('td'):wikitext("5D's Tag Force 6"):done    :tag('td'):attr('title', 'September 22, 2011'):wikitext('2011-09-22'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext(        (t[tf06_name] or )..        ' '..        ' '        ):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-dd02 then     list_table:tag('tr')    :tag('td'):wikitext("5D's Decade Duels Plus"):done    :tag('td'):attr('title', 'February 13, 2013'):wikitext('2013-02-13'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-zdc1 then     list_table:tag('tr')    :tag('td'):wikitext("ZEXAL World Duel Carnival"):done    :tag('td'):attr('title', 'December 5, 2013'):wikitext('2013-12-05'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-md then     list_table:tag('tr')    :tag('td'):wikitext("Millennium Duels"):done    :tag('td'):attr('title', 'March 26, 2014'):wikitext('2014-03-26'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-dar then     list_table:tag('tr')    :tag('td'):wikitext("Duel Arena"):done    :tag('td'):attr('title', 'June 26, 2014'):wikitext('2014-06-26'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-dg then     list_table:tag('tr')    :tag('td'):wikitext("Duel Generation"):done    :tag('td'):attr('title', 'October 30, 2014'):wikitext('2014-10-30'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-tfsp then     list_table:tag('tr')    :tag('td'):wikitext("ARC-V Tag Force Special"):done    :tag('td'):attr('title', 'January 22, 2015'):wikitext('2015-01-22'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-lotd then     list_table:tag('tr')    :tag('td'):wikitext("Legacy of the Duelist"):done    :tag('td'):attr('title', 'July 30, 2015'):wikitext('2015-07-30'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-scb then     list_table:tag('tr')    :tag('td'):wikitext("Saikyo Card Battle"):done    :tag('td'):attr('title', 'July 6, 2016'):wikitext('2016-07-06'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    if vg-duli then     list_table:tag('tr')    :tag('td'):wikitext("Duel Links"):done    :tag('td'):attr('title', 'October 27, 2016'):wikitext('2016-10-27'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('–'):done    :tag('td'):wikitext('Present'):done    :done    end    list_table:allDone    return tostring(list_table) end

return ct