Module:Set gallery/data

From Yugipedia
Jump to: navigation, search
Module documentation[create]
--  Region index list:
local rg_list = {
    'EN', 'NA', 'EU', 'AU', 'OC',
    'FR', 'FC',
    'DE', 'IT', 'PT', 'SP',
    'JP', 'JA',
    'AE', 'TC', 'KR'
};
--  Region name list:
local region_list = {
    ['en'] = 'Worldwide English',
    ['na'] = 'North American English',
    ['eu'] = 'European English',
    ['au'] = 'Australian English', ['oc'] = 'Australian English',
    ['fr'] = 'French', ['fc'] = 'French-Canadian',
    ['de'] = 'German',
    ['it'] = 'Italian',
    ['pt'] = 'Portuguese',
    ['es'] = 'Spanish', ['sp'] = 'Spanish',
    ['jp'] = 'Japanese',
    ['ja'] = 'Japanese-Asian',
    ['ae'] = 'Asian-English',
    ['tc'] = 'Chinese', ['zh'] = 'Chinese',
    ['ko'] = 'Korean', ['kr'] = 'Korean',
    --default = error('Invalid {{{region}}}!')
};
--  Language index list:
local ln_list = {
    [''] = 'en',   ['en'] = 'en',
    ['na'] = 'en',
    ['eu'] = 'en',
    ['au'] = 'en', ['oc'] = 'en',
    ['fr'] = 'fr', ['fc'] = 'fr',
    ['de'] = 'de',
    ['it'] = 'it',
    ['pt'] = 'pt',
    ['es'] = 'es', ['sp'] = 'es',
    ['jp'] = 'ja', ['ja'] = 'ja',
    ['ae'] = 'en',
    ['tc'] = 'zh', ['zh'] = 'zh',
    ['ko'] = 'ko', ['kr'] = 'ko'
};
--  Language name list:
local language_list = {
    ['en'] = 'English',
    ['fr'] = 'French',
    ['de'] = 'German',
    ['it'] = 'Italian',
    ['pt'] = 'Portuguese',
    ['es'] = 'Spanish',
    ['ja'] = 'Japanese',
    ['zh'] = 'Chinese',
    ['ko'] = 'Korean'
};
--  Edition index list:
local ed_list = {
    '1E', 'UE', 'LE', 'DT'
};
--  Edition name list:
local edition_list = {
    ['1e'] = '1st Edition',
    ['ue'] = 'Unlimited Edition',
    ['le'] = 'Limited Edition',
    ['dt'] = 'Duel Terminal Edition'
};
--  Medium list:
local medium_list = {
    ['jp'] = 'OCG', ['ja'] = 'OCG',
    ['ae'] = 'OCG',
    ['tc'] = 'OCG',
    ['kr'] = 'OCG'
};
--  Rarity code list:
local r_list = {
  ['c'] = 'C', ['common'] = 'C',
  ['nr'] = 'NR', ['normal'] = 'NR',
  ['sp'] = 'SP', ['short print'] = 'SP',
  ['ssp'] = 'SSP', ['super short print'] = 'SSP',
  ['hfr'] = 'HFR', ['holofoil'] = 'HFR',
  ['r'] = 'R', ['rare'] = 'R',
  ['sr'] = 'SR', ['super'] = 'SR',
  ['ur'] = 'UR', ['ultra'] = 'UR',
  ['utr'] = 'UtR', ['ultimate'] = 'UtR',
  ['gr'] = 'GR', ['ghost'] = 'GR',
  ['hgr'] = 'HGR', ['holographic'] = 'HGR',
  ['scr'] = 'ScR', ['secret'] = 'ScR',
  ['pscr'] = 'PScR', ['prismatic secret'] = 'PScR',
  ['uscr'] = 'UScR', ['ultra secret'] = 'UScR',
  ['scur'] = 'ScUR', ['secret ultra'] = 'ScUR',
  ['escr'] = 'EScR', ['extra secret'] = 'EScR',
  ['20scr'] = '20ScR', ['20th secret'] = '20ScR',
  ['10000scr'] = '10000ScR', ['10000 secret'] = '10000ScR',
  ['altr'] = 'StR', ['alternate'] = 'StR', ['str'] = 'StR', ['starlight'] = 'StR',
  ['plr'] = 'PlR', ['platinum'] = 'PlR',
  ['plscr'] = 'PlScR', ['platinum secret'] = 'PlScR',
  ['pr'] = 'PR', ['parallel'] = 'PR',
  ['pc'] = 'PC', ['parallel common'] = 'PC',
  ['npr'] = 'NPR', ['normal parallel'] = 'NPR',
  ['spr'] = 'SPR', ['super parallel'] = 'SPR',
  ['upr'] = 'UPR', ['ultra parallel'] = 'UPR',
  ['scpr'] = 'ScPR', ['secret parallel'] = 'ScPR',
  ['escpr'] = 'EScPR', ['extra secret parallel'] = 'EScPR',
  ['sfr'] = 'SFR', ['starfoil'] = 'SFR',
  ['msr'] = 'MSR', ['mosaic'] = 'MSR',
  ['shr'] = 'SHR', ['shatterfoil'] = 'SHR',
  ['cr'] = 'CR', ["collector's"] = 'CR', ['collectors'] = 'CR',
  ['rr'] = 'RR', ['rush'] = 'RR',
  ['hgpr'] = 'HGPR', ['holographic parallel'] = 'HGPR',
  ['kcc'] = 'KCC', ['kcn'] = 'KCC', ['kaiba corporation common'] = 'KCC', ['kaiba corporation normal'] = 'KCC',
  ['kcr'] = 'KCR', ['kaiba corporation'] = 'KCR',
  ['kcsr'] = 'KCSR', ['kaiba corporation super'] = 'KCSR',
  ['kcur'] = 'KCUR', ['kaiba corporation ultra'] = 'KCUR',
  ['mr'] = 'MLR', ['mlr'] = 'MLR', ['millennium'] = 'MLR',
  ['mlsr'] = 'MLSR', ['millennium super'] = 'MLSR',
  ['mlur'] = 'MLUR', ['millennium ultra'] = 'MLUR',
  ['mlscr'] = 'MLScR', ['millennium secret'] = 'MLScR',
  ['mlgr'] = 'MLGR', ['millennium gold'] = 'MLGR',
  ['gur'] = 'GUR', ['gold'] = 'GUR',
  ['gscr'] = 'GScR', ['gold secret'] = 'GScR',
  ['ggr'] = 'GGR', ['ghost/gold'] = 'GGR',
  ['pgr'] = 'PGR', ['premium gold'] = 'PGR',
  ['dpc'] = 'DPC', ['duel terminal parallel common'] = 'DPC',
  ['dnrpr'] = 'DNRPR', ['duel terminal normal rare parallel'] = 'DNRPR',
  ['duel terminal normal parallel'] = 'DNPR',
  ['dnpr'] = 'DNPR',
  ['drpr'] = 'DRPR', ['duel terminal parallel'] = 'DRPR',
  ['dspr'] = 'DSPR', ['duel terminal super parallel'] = 'DSPR',
  ['dupr'] = 'DUPR', ['duel terminal ultra parallel'] = 'DUPR',
  ['dscpr'] = 'DScPR', ['duel terminal secret parallel'] = 'DScPR',
  ['default'] = ''
};
--  Rarity list:
local rarity_list = {
   ['c'] = 'Common',
   ['nr'] = 'Normal Rare',
   ['sp'] = 'Short Print',
   ['ssp'] = 'Super Short Print',
   ['hfr'] = 'Holofoil Rare',
   ['r'] = 'Rare',
   ['sr'] = 'Super Rare',
   ['ur'] = 'Ultra Rare',
   ['utr'] = 'Ultimate Rare',
   ['gr'] = 'Ghost Rare',
   ['hgr'] = 'Holographic Rare',
   ['scr'] = 'Secret Rare',
   ['pscr'] = 'Prismatic Secret Rare',
   ['uscr'] = 'Ultra Secret Rare',
   ['scur'] = 'Secret Ultra Rare',
   ['escr'] = 'Extra Secret Rare',
   ['20scr'] = '20th Secret Rare',
   ['10000scr'] = '10000 Secret Rare',
   ['str'] = 'Starlight Rare',
   ['plr'] = 'Platinum Rare',
   ['plscr'] = 'Platinum Secret Rare',
   ['pr'] = 'Parallel Rare',
   ['pc'] = 'Parallel Common',
   ['npr'] = 'Normal Parallel Rare',
   ['spr'] = 'Super Parallel Rare',
   ['upr'] = 'Ultra Parallel Rare',
   ['scpr'] = 'Secret Parallel Rare',
   ['escpr'] = 'Extra Secret Parallel Rare',
   ['sfr'] = 'Starfoil Rare',
   ['msr'] = 'Mosaic Rare',
   ['shr'] = 'Shatterfoil Rare',
   ['cr'] = 'Collectors Rare', 
   ['rr'] = 'Rush Rare', 
   ['hgpr'] = 'Holographic Parallel Rare',
   ['kcc'] = 'Kaiba Corporation Common', ['kcn'] = 'Kaiba Corporation Common',
   ['kcr'] = 'Kaiba Corporation Rare',
   ['kcsr'] = 'Kaiba Corporation Super Rare',
   ['kcur'] = 'Kaiba Corporation Ultra Rare',
   ['mr'] = 'Millennium Rare', ['mlr'] = 'Millennium Rare',
   ['mlsr'] = 'Millennium Super Rare',
   ['mlur'] = 'Millennium Ultra Rare',
   ['mlscr'] = 'Millennium Secret Rare',
   ['mlgr'] = 'Millennium Gold Rare',
   ['gur'] = 'Gold Rare', 
   ['gscr'] = 'Gold Secret Rare', 
   ['ggr'] = 'Ghost/Gold Rare',
   ['pgr'] = 'Premium Gold Rare', 
   ['dpc'] = 'Duel Terminal Parallel Common', 
   ['dnrpr'] = 'Duel Terminal Normal Rare Parallel Rare', 
   ['dnpr'] = 'Duel Terminal Normal Parallel Rare',
   ['drpr'] = 'Duel Terminal Rare Parallel Rare',
   ['dspr'] = 'Duel Terminal Super Parallel Rare',
   ['dupr'] = 'Duel Terminal Ultra Parallel Rare',
   ['dscpr'] = 'Duel Terminal Secret Parallel Rare',
   ['default'] = ''
};

return {
    ['rg_list']       = rg_list,
    ['region_list']   = region_list,
    ['ln_list']       = ln_list,
    ['language_list'] = language_list,
    ['ed_list']       = ed_list,
    ['edition_list']  = edition_list,
    ['medium_list']   = medium_list,
    ['r_list']        = r_list,
    ['rarity_list']   = rarity_list
}