Module:File

local f = {}

function f.main(frame) local result = {} local game = frame:getParent.args["game"] or "" local description = frame:getParent.args["description"] or "" local type = mw.ustring.lower(frame:getParent.args["type"] or "") local meta = mw.ustring.lower(frame:getParent.args["meta"] or "") local user = frame:getParent.args["user"] or "" local source = frame:getParent.args["source"] or nil local license = frame:getParent.args["license"] or nil local resized = frame:getParent.args["resized"] or nil local youtube = frame:getParent.args["youtube"] or nil local fandom = frame:getParent.args["fandom"] or nil function TEXT(X) local amiibo = "Amiibo" local alternalog = "Alterna Log" local artwork = "Artwork" local audio = "Audio" local animated = "Animated image" local music = "Music" local boxart = "Box artwork" local barnsquid = "Barnsquid" local brandlogo = "Brand logo" local control = "Controller button" local controllerphoto = "Controller photo" local conceptart = "Concept artwork" local characterrender = "Character render" local characterart = "Character artwork" local clothingicon = "Clothing icon" local creditsartwork = "Credits artwork" local css = " This image is used within the site's CSS stylesheet. This file should not be moved or modified without first checking how it will affect the CSS. " local diagram = "Diagram" local flag = "Flag" local decorationicon = "Decoration icon" local gearcloseup = "Gear close-up" local clothingcloseup = "Clothing close-up" local shoecloseup = "Shoe close-up" local headgearcloseup = "Headgear close-up" local gearpromo = "Gear promo" local headgearicon = "Headgear icon" local icon = "Icon" local logo = "Logo" local lockericon = "Locker icon" local language = "Language" local line = "LINE sticker" local map = "Map" local mangascan = "Scan from the manga" local memcake = "Mem cake" local miiverse = "Miiverse post" local model = "Model" local merch = "Merchandise" local promotional = "Promotional image" local promoart = "Promotional artwork" local promoshot = "Promotional screenshot" local photo = "Real-world photo" local prerelease = "Pre-release image" local pccu = "Player customization close-ups" local person = "Real life person" local rating = "Rating icon" local render = "Render" local trailerscreenshot = "Trailer screenshot" local texture = "Texture" local team = "Team" local screenshot = "Screenshot" local shoeicon = "Shoe icon" local stageicon = "Stage icon" local stagemap = "Stage map" local sprite = "Sprite" local splashtag = "Splashtag banner" local sunkenscroll = "Sunken scroll" local splatfestart = "Splatfest artwork" local splatfestteamart = "Splatfest team artwork" local splatfesticon = "Splatfest icon" local splatfestwin = "Splatfest win screen" local splatfestpromo = "Splatfest promotional image" local stickericon = "Sticker icon" local system = "Console images" local user = "This file is a personal file belonging to ".. user .."." local template = "Template image" local video = "Video" local wallpaper = "Wallpaper" local weaponrender = "Weapon render" local weaponartwork = "Weapon artwork" local weaponicon = "Weapon icon" local wiki = "Inkipedia image" local main = "Game image" local mainimage = "Game image" local ilc = "Inkipedia Logo Contest 2022 entry" local none = " Error: Invalid type entered, please consult the list of types." local t = {} t = { ['amiibo'] = amiibo,

['2d'] = artwork, ['2dart'] = artwork, ['2d art'] = artwork, ['2d artwork'] = artwork, ['art'] = artwork, ['artwork'] = artwork, ['art work'] = artwork, ['3d'] = render, ['3dart'] = render, ['3d art'] = render, ['3d artwork'] = render, ['render'] = render, ['rendering'] = render,

['alternalog'] = alternalog, ['alterna log'] = alternalog, ['al'] = alternalog, ['anim'] = animated, ['animated'] = animated, ['animation'] = animated, ['animated image'] = animated, ['animated images'] = animated, ['animated img'] = animated, ['gif'] = animated, ['music'] = music, ['song'] = music, ['songs'] = music,

['audio'] = audio, ['sound'] = audio, ['voice clip'] = audio, ['voice'] = audio, ['box'] = boxart, ['boxart'] = boxart, ['boxartwork'] = boxart, ['box art'] = boxart, ['box artwork'] = boxart,

['barnsquid'] = barnsquid, ['barn squid'] = barnsquid, ['award'] = barnsquid,

['brandlogo'] = brandlogo, ['brand logo'] = brandlogo, ['bl'] = brandlogo,

['conceptart'] = conceptart, ['conceptartwork'] = conceptart, ['concept art'] = conceptart, ['concept artwork'] = conceptart, ['early art'] = conceptart, ['early artwork'] = conceptart, ['earlyart'] = conceptart, ['earlyartwork'] = conceptart, ['button'] = control, ['buttons'] = control, ['control'] = control, ['controller'] = control, ['controller button'] = control, ['joystick'] = control, ['controllerphoto'] = controllerphoto, ['controller photo'] = controllerphoto, ['controlphoto'] = controllerphoto, ['control photo'] = controllerphoto,

['characterrender'] = characterrender, ['character render'] = characterrender, ['cr'] = characterrender,

['css'] = css, ['site styling'] = css, ['sitestyling'] = css,

['characterart'] = characterart, ['characterartwork'] = characterart, ['character art'] = characterart, ['character artwork'] = characterart, ['charart'] = characterart,

['clothingicon'] = clothingicon, ['clothing icon'] = clothingicon, ['ci'] = clothingicon,

['creditsartwork'] = creditsartwork, ['creditsart'] = creditsartwork, ['credits artwork'] = creditsartwork, ['credits art'] = creditsartwork, ['credart'] = creditsartwork,

['diagram'] = diagram, ['graph'] = diagram, ['graphs'] = diagram, ['chart'] = diagram, ['flag'] = flag,

['decorationicon'] = decorationicon, ['decoration icon'] = decorationicon, ['decorations'] = decorationicon, ['decor icon'] = decorationicon, ['decoricon'] = decorationicon,

['gearcloseup'] = gearcloseup, ['gear close up'] = gearcloseup, ['gear close-up'] = gearcloseup, ['gear closeup'] = gearcloseup, ['gcu'] = gearcloseup, ['gear'] = gearcloseup,

['headgearcloseup'] = headgearcloseup, ['headgear close up'] = headgearcloseup, ['headgear close-up'] = headgearcloseup, ['headgear closeup'] = headgearcloseup, ['hcu'] = headgearcloseup,

['shoecloseup'] = shoecloseup, ['shoe close up'] = shoecloseup, ['shoe close-up'] = shoecloseup, ['shoe closeup'] = shoecloseup, ['scu'] = shoecloseup,

['clothingcloseup'] = clothingcloseup, ['clothing close up'] = clothingcloseup, ['clothing close-up'] = clothingcloseup, ['clothing closeup'] = clothingcloseup, ['ccu'] = clothingcloseup,

['gearpromo'] = gearpromo, ['gear promo'] = gearpromo, ['gear promotional'] = gearpromo, ['gp'] = gearpromo,

['headgearicon'] = headgearicon, ['headgear icon'] = headgearicon, ['hi'] = headgearicon, ['ico'] = icon, ['icon'] = icon, ['icons'] = icon, ['logo'] = logo, ['logomark'] = logo, ['logos'] = logo, ['logotype'] = logo, ['wordmark'] = logo,

['language'] = language, ['lang'] = language, ['map'] = map, ['maps'] = map,

['mangascan'] = mangascan, ['mangapage'] = mangascan,

['lockericon'] = lockericon, ['locker icon'] = lockericon, ['locker'] = lockericon,

['memcake'] = memcake, ['mem cake'] = memcake,

['miiverse'] = miiverse,

['main'] = main, ['mainimage'] = mainimage, ['mainimages'] = mainimage,

['line'] = line, ['LINE'] = line, ['line sticker'] = line, ['3dmodel'] = model, ['3d model'] = model, ['model'] = model, ['models'] = model,

['merch'] = merch, ['merchandise'] = merch, ['toy'] = merch, ['photo'] = photo, ['photos'] = photo, ['photography'] = photo, ['reallife'] = photo, ['real life'] = photo,

['promotional'] = promotional, ['promo'] = promotional, ['advertisement'] = promotional, ['ad'] = promotional,

['person'] = person, ['real person'] = person, ['human person'] = person, ['people'] = person, ['real people'] = person,

['promoshot'] = promoshot, ['promotional screenshot'] = promoshot, ['promo screenshot'] = promoshot,

['promoart'] = promoart, ['promotional artwork'] = promoart, ['promo artwork'] = promoart, ['Promoart'] = promoart, ['Promotional Artwork'] = promoart, ['Promo Artwork'] = promoart,

['prerelease'] = prerelease, ['pre-release'] = prerelease, ['p-r'] = prerelease, ['beta'] = prerelease,

['pccu'] = pccu, ['player customization'] = pccu, ['player customization close up'] = pccu, ['player customization close-up'] = pccu, ['inkling customization'] = pccu, ['cero'] = rating, ['esrb'] = rating, ['pegi'] = rating, ['rating'] = rating, ['ratings'] = rating, ['prtscr'] = screenshot, ['printscreen'] = screenshot, ['print screen'] = screenshot, ['scr'] = screenshot, ['screen'] = screenshot, ['screenshot'] = screenshot, ['scrshot'] = screenshot, ['screen shot'] = screenshot,

['trailerscreenshot'] = trailerscreenshot, ['trailer screenshot'] = trailerscreenshot,

['team'] = team, ['teams'] = team, ['competitive'] = team,

['template'] = template,

['texture'] = texture, ['pixelart'] = sprite, ['pixel art'] = sprite, ['sprite'] = sprite, ['sprites'] = sprite, ['sys'] = system, ['system'] = system, ['system image'] = system, ['system images'] = system, ['console'] = system, ['switch'] = system, ['wiiu'] = system,

['shoeicon'] = shoeicon, ['shoe icon'] = shoeicon,

['stageicon'] = stageicon, ['stage icon'] = stageicon,

['stagemap'] = stagemap, ['stage map'] = stagemap,

['splashtag'] = splashtag, ['splashtag banner'] = splashtag,

['sunkenscroll'] = sunkenscroll, ['sunken scroll'] = sunkenscroll,

['splatfestart'] = splastfestart, ['splatfest art'] = splatfestart, ['splatfest artwork'] = splatfestart, ['splatfestartwork'] = splatfestart, ['sa'] = splatfestart, ['splatfestteamart'] = splatfestteamart, ['splatfest team art'] = splatfestteamart, ['splatfest team artwork'] = splatfestteamart, ['splatfestteamartwork'] = splatfestteamart, ['splatfestteam'] = splatfestteamart, ['splatfest team'] = splatfestteamart, ['st'] = splatfestteamart, ['sta'] = splatfestteamart,

['splatfesticon'] = splatfesticon, ['splatfest icon'] = splatfesticon, ['si'] = splatfesticon,

['splatfestwin'] = splatfestwin, ['splatfest win'] = splatfestwin, ['splatfest victory'] = splatfestwin, ['splatfest winner'] = splatfestwin, ['sw'] = splatfestwin,

['splatfestpromo'] = splatfestpromo, ['splatfest promotional'] = splatfestpromo, ['sfp'] = splatfestpromo,

['stickericon'] = stickericon, ['sticker icon'] = stickericon,

['personal'] = user, ['personal img'] = user, ['personal image'] = user, ['user'] = user, ['userimg'] = user, ['user image'] = user, ['video'] = video, ['videos'] = video, ['inkipedia'] = wiki, ['wiki'] = wiki,

['wallpaper'] = wallpaper, ['wall paper'] = wallpaper, ['screensaver'] = wallpaper, ['background'] = wallpaper,

['weaponrender'] = weaponrender, ['weapon render'] = weaponrender, ['weapon model'] = weaponrender,

['weaponartwork'] = weaponartwork, ['weaponart'] = weaponartwork, ['weapon art'] = weaponartwork, ['weapon artwork'] = weaponartwork,

['weaponicon'] = weaponicon, ['weapon icon'] = weaponicon,

['ilc'] = ilc, ['ilc2022'] = ilc, ['logo contest'] = ilc, ['Inkipedia Logo Contest 2022'] = ilc, ['inkipedia logo contest 2022'] = ilc, ['Inkipedia Logo Contest'] = ilc, ['inkipedia logo contest'] = ilc, }		if not t[X] then return none else return t[X] end end function CAT(X,Y) if Y == true then Y = game .. ' ' else Y = "" end local amiibo = "" local artwork = "" local alternalog = "" local animated = "" local music = "" local audio = "" local boxart = "" local barnsquid = "" local brandlogo = "" local control = "" local controllerphoto = "" local conceptart = "" local clothingicon = "" local characterrender = "" local characterart = "" local creditsartwork = "" local css = "" local diagram = "" local decorationicon = "" local gearpromo = "" local gearcloseup = "" local headgearcloseup = "" local clothingcloseup = "" local shoecloseup = "" local headgearicon = "" local icon = "" local flag = "" local logo = "" local lockericon = "" local line = "" local main = "" local mainimage = "" local miiverse = "" local memcake = "" local mangascan = "" local map = "" local language = "" local model = "" local merch = "" local promotional = "" local promoshot = "" local promoart = "" local prerelease = "" local photo = "" local pccu = "" local person = "" local rating = "" local screenshot = "" local shoeicon = "" local stageicon = "" local stagemap = "" local sprite = "" local system = "" local splashtag = "" local sunkenscroll = "" local splatfestart = "" local splatfestteamart = "" local splatfesticon = "" local trailerscreenshot = "" local splatfestwin = "" local splatfestpromo = "" local stickericon = "" local render = "" local texture = "" local user = "" local template = "" local team = "" local video = "" local wiki = "" local weaponrender = "" local wallpaper = "" local weaponartwork = "" local weaponicon = "" local ilc = "" local none = "" local t = {} t = { ['amiibo'] = amiibo,

['2d'] = artwork, ['2dart'] = artwork, ['2d art'] = artwork, ['2d artwork'] = artwork, ['art'] = artwork, ['artwork'] = artwork, ['art work'] = artwork, ['3d'] = render, ['3dart'] = render, ['3d art'] = render, ['3d artwork'] = render, ['render'] = render, ['rendering'] = render,

['alternalog'] = alternalog, ['alterna log'] = alternalog, ['al'] = alternalog, ['anim'] = animated, ['animated'] = animated, ['animation'] = animated, ['animated image'] = animated, ['animated images'] = animated, ['animated img'] = animated, ['gif'] = animated, ['music'] = music, ['song'] = music, ['songs'] = music,

['audio'] = audio, ['sound'] = audio, ['voice clip'] = audio, ['voice'] = audio,

['flag'] = flag, ['box'] = boxart, ['boxart'] = boxart, ['boxartwork'] = boxart, ['box art'] = boxart, ['box artwork'] = boxart,

['barnsquid'] = barnsquid, ['barn squid'] = barnsquid, ['award'] = barnsquid,

['brandlogo'] = brandlogo, ['brand logo'] = brandlogo, ['bl'] = brandlogo,

['conceptart'] = conceptart, ['conceptartwork'] = conceptart, ['concept art'] = conceptart, ['concept artwork'] = conceptart, ['early art'] = conceptart, ['early artwork'] = conceptart, ['earlyart'] = conceptart, ['earlyartwork'] = conceptart, ['button'] = control, ['buttons'] = control, ['control'] = control, ['controller'] = control, ['controller button'] = control, ['joystick'] = control, ['controllerphoto'] = controllerphoto, ['controller photo'] = controllerphoto, ['controlphoto'] = controllerphoto, ['control photo'] = controllerphoto,

['characterrender'] = characterrender, ['character render'] = characterrender, ['cr'] = characterrender,

['characterart'] = characterart, ['characterartwork'] = characterart, ['character art'] = characterart, ['character artwork'] = characterart, ['charart'] = characterart,

['css'] = css, ['site styling'] = css, ['sitestyling'] = css,

['clothingicon'] = clothingicon, ['clothing icon'] = clothingicon, ['ci'] = clothingicon,

['creditsartwork'] = creditsartwork, ['creditsart'] = creditsartwork, ['credits artwork'] = creditsartwork, ['credits art'] = creditsartwork, ['credart'] = creditsartwork,

['diagram'] = diagram, ['graph'] = diagram, ['graphs'] = diagram, ['chart'] = diagram,

['decorationicon'] = decorationicon, ['decoration icon'] = decorationicon, ['decorations'] = decorationicon, ['decor icon'] = decorationicon, ['decoricon'] = decorationicon,

['gearcloseup'] = gearcloseup, ['gear close up'] = gearcloseup, ['gear close-up'] = gearcloseup, ['gear closeup'] = gearcloseup, ['gcu'] = gearcloseup, ['gear'] = gearcloseup,

['headgearcloseup'] = headgearcloseup, ['headgear close up'] = headgearcloseup, ['headgear close-up'] = headgearcloseup, ['headgear closeup'] = headgearcloseup, ['hcu'] = headgearcloseup,

['shoecloseup'] = shoecloseup, ['shoe close up'] = shoecloseup, ['shoe close-up'] = shoecloseup, ['shoe closeup'] = shoecloseup, ['scu'] = shoecloseup,

['clothingcloseup'] = clothingcloseup, ['clothing close up'] = clothingcloseup, ['clothing close-up'] = clothingcloseup, ['clothing closeup'] = clothingcloseup, ['ccu'] = clothingcloseup,

['gearpromo'] = gearpromo, ['gear promo'] = gearpromo, ['gear promotional'] = gearpromo, ['gp'] = gearpromo,

['headgearicon'] = headgearicon, ['headgear icon'] = headgearicon, ['hi'] = headgearicon, ['ico'] = icon, ['icon'] = icon, ['icons'] = icon, ['logo'] = logo, ['logomark'] = logo, ['logos'] = logo, ['logotype'] = logo, ['wordmark'] = logo, ['map'] = map, ['maps'] = map,

['mangascan'] = mangascan, ['mangapage'] = mangascan,

['lockericon'] = lockericon, ['locker icon'] = lockericon, ['locker'] = lockericon,

['memcake'] = memcake, ['mem cake'] = memcake,

['miiverse'] = miiverse,

['main'] = main, ['mainimage'] = mainimage, ['mainimages'] = mainimage,

['line'] = line, ['LINE'] = line, ['line sticker'] = line, ['3dmodel'] = model, ['3d model'] = model, ['model'] = model, ['models'] = model,

['merch'] = merch, ['merchandise'] = merch, ['toy'] = merch, ['photo'] = photo, ['photos'] = photo, ['photography'] = photo, ['reallife'] = photo, ['real life'] = photo,

['promotional'] = promotional, ['promo'] = promotional, ['advertisement'] = promotional, ['ad'] = promotional,

['promoshot'] = promoshot, ['promotional screenshot'] = promoshot, ['promo screenshot'] = promoshot,

['promoart'] = promoart, ['promotional artwork'] = promoart, ['promo artwork'] = promoart, ['Promoart'] = promoart, ['Promotional Artwork'] = promoart, ['Promo Artwork'] = promoart,

['prerelease'] = prerelease, ['pre-release'] = prerelease, ['p-r'] = prerelease, ['beta'] = prerelease,

['pccu'] = pccu, ['player customization'] = pccu, ['player customization close up'] = pccu, ['player customization close-up'] = pccu, ['inkling customization'] = pccu,

['person'] = person, ['real person'] = person, ['human person'] = person, ['people'] = person, ['real people'] = person, ['cero'] = rating, ['esrb'] = rating, ['pegi'] = rating, ['rating'] = rating, ['ratings'] = rating, ['prtscr'] = screenshot, ['printscreen'] = screenshot, ['print screen'] = screenshot, ['scr'] = screenshot, ['screen'] = screenshot, ['screenshot'] = screenshot, ['scrshot'] = screenshot, ['screen shot'] = screenshot,

['language'] = language, ['lang'] = language,

['trailerscreenshot'] = trailerscreenshot, ['trailer screenshot'] = trailerscreenshot, ['pixelart'] = sprite, ['pixel art'] = sprite, ['sprite'] = sprite, ['sprites'] = sprite, ['sys'] = system, ['system'] = system, ['system image'] = system, ['system images'] = system, ['console'] = system, ['switch'] = system, ['wiiu'] = system,

['shoeicon'] = shoeicon, ['shoe icon'] = shoeicon,

['stageicon'] = stageicon, ['stage icon'] = stageicon,

['stagemap'] = stagemap, ['stage map'] = stagemap,

['splashtag'] = splashtag, ['splashtag banner'] = splashtag,

['sunkenscroll'] = sunkenscroll, ['sunken scroll'] = sunkenscroll,

['splatfestart'] = splastfestart, ['splatfest art'] = splatfestart, ['splatfest artwork'] = splatfestart, ['splatfestartwork'] = splatfestart, ['sa'] = splatfestart, ['splatfestteamart'] = splatfestteamart, ['splatfest team art'] = splatfestteamart, ['splatfest team artwork'] = splatfestteamart, ['splatfestteamartwork'] = splatfestteamart, ['splatfestteam'] = splatfestteamart, ['splatfest team'] = splatfestteamart, ['st'] = splatfestteamart, ['sta'] = splatfestteamart,

['splatfesticon'] = splatfesticon, ['splatfest icon'] = splatfesticon, ['si'] = splatfesticon,

['splatfestwin'] = splatfestwin, ['splatfest win'] = splatfestwin, ['splatfest victory'] = splatfestwin, ['splatfest winner'] = splatfestwin, ['sw'] = splatfestwin,

['splatfestpromo'] = splatfestpromo, ['splatfest promotional'] = splatfestpromo, ['sfp'] = splatfestpromo,

['stickericon'] = stickericon, ['sticker icon'] = stickericon,

['template'] = template,

['team'] = team, ['teams'] = team, ['competitive'] = team,

['texture'] = texture,

['personal'] = user, ['personal img'] = user, ['personal image'] = user, ['user'] = user, ['userimg'] = user, ['user image'] = user, ['video'] = video, ['videos'] = video, ['inkipedia'] = wiki, ['wiki'] = wiki,

['wallpaper'] = wallpaper, ['wall paper'] = wallpaper, ['screensaver'] = wallpaper, ['background'] = wallpaper,

['weaponrender'] = weaponrender, ['weapon render'] = weaponrender, ['weapon model'] = weaponrender,

['weaponartwork'] = weaponartwork, ['weaponart'] = weaponartwork, ['weapon art'] = weaponartwork, ['weapon artwork'] = weaponartwork,

['weaponicon'] = weaponicon, ['weapon icon'] = weaponicon,

['ilc'] = ilc, ['ilc2022'] = ilc, ['logo contest'] = ilc, ['Inkipedia Logo Contest 2022'] = ilc, ['inkipedia logo contest 2022'] = ilc, ['Inkipedia Logo Contest'] = ilc, ['inkipedia logo contest'] = ilc, }

if not t[X] then return none else return t[X] end end function SRC(X) local myself = "Media created by the uploader" local user2 = "Media created by ".. user .."" local fandom = "FANDOM image " local youtube = "YouTube image " local presskit = "Press kit image " local missing = " This file is missing a source. " local splatnet = "This file has been taken from" local splatnet1 = splatnet .. ' SplatNet ' local splatnet2 = splatnet .. ' SplatNet 2 ' local splatnet3 = splatnet .. ' SplatNet 3 ' local haikarawalker = "This file has been taken from HaikaraWalker. " local taos = "This file has been taken from The Art of Splatoon. " local taos2 = "This file has been taken from The Art of Splatoon 2. " local prima = "This file has been taken from a Prima guide. " local nso = "This file has been taken from Nintendo Switch Online. " local t = {} t = { ['me'] = myself, ['my'] = myself, ['myself'] = myself, ['self'] = myself, ['Me'] = myself, ['My'] = myself, ['Myself'] = myself, ['Self'] = myself,

['other'] = user2, ['someone'] = user2, ['someone else'] = user2, ['user'] = user2, ['Other'] = user2, ['Someone'] = user2, ['Someone else'] = user2, ['User'] = user2, ['gamepedia'] = fandom, ['fandom'] = fandom, ['wikia'] = fandom, ['gamefaqs'] = fandom, ['Gamepedia'] = fandom, ['Fandom'] = fandom, ['Wikia'] = fandom, ['Gamefaqs'] = fandom, ['GameFAQs'] = fandom, ['youtube'] = youtube, ['yt'] = youtube, ['Youtube'] = youtube, ['YT'] = youtube, ['YouTube'] = youtube, ['kit'] = presskit, ['press'] = presskit, ['presskit'] = presskit, ['press kit'] = presskit, ['Kit'] = presskit, ['Press'] = presskit, ['Presskit'] = presskit, ['Press kit'] = presskit, ['splatnet'] = splatnet1, ['splatnet1'] = splatnet1, ['splatnet 1'] = splatnet1, ['splatnet'] = splatnet1, ['splatnet1'] = splatnet1, ['splatnet 1'] = splatnet1, ['Splatnet'] = splatnet1, ['Splatnet1'] = splatnet1, ['Splatnet 1'] = splatnet1, ['Splatnet1'] = splatnet1, ['Splatnet 1'] = splatnet1, ['SplatNet1'] = splatnet1, ['SplatNet'] = splatnet1, ['SplatNet 1'] = splatnet1, ['SplatNet1'] = splatnet1, ['SplatNet 1'] = splatnet1, ['splatnet2'] = splatnet2, ['splatnet 2'] = splatnet2, ['splatnet2'] = splatnet2, ['splatnet 2'] = splatnet2, ['Splatnet2'] = splatnet2, ['Splatnet 2'] = splatnet2, ['Splatnet2'] = splatnet2, ['Splatnet 2'] = splatnet2, ['SplatNet2'] = splatnet2, ['SplatNet 2'] = splatnet2, ['SplatNet2'] = splatnet2, ['SplatNet 2'] = splatnet2, ['splatnet3'] = splatnet3, ['splatnet 3'] = splatnet3, ['splatnet3'] = splatnet3, ['splatnet 3'] = splatnet3, ['Splatnet3'] = splatnet3, ['Splatnet 3'] = splatnet3, ['Splatnet3'] = splatnet3, ['Splatnet 3'] = splatnet3, ['SplatNet3'] = splatnet3, ['SplatNet 3'] = splatnet3, ['SplatNet3'] = splatnet3, ['SplatNet 3'] = splatnet3,

['HaikaraWalker'] = haikarawalker, ['haikarawalker'] = haikarawalker, ['HaikaraWalker'] = haikarawalker, ['haikarawalker'] = haikarawalker, ['hw'] = haikarawalker, ['HW'] = haikarawalker,

['The Art of Splatoon 2'] = taos2, ['The Art of Splatoon 2'] = taos2, ['Art of Splatoon 2'] = taos2, ['the art of splatoon 2'] = taos2, ['The art of splatoon 2'] = taos2, ['The art of splatoon 2'] = taos2, ['art of splatoon 2'] = taos2, ['taos2'] = taos2, ['TAOS2'] = taos2,

['The Art of Splatoon'] = taos, ['The Art of Splatoon'] = taos, ['Art of Splatoon'] = taos, ['the art of splatoon'] = taos, ['The art of splatoon'] = taos, ['The art of splatoon'] = taos, ['art of splatoon'] = taos, ['taos'] = taos, ['TAOS'] = taos,

['Prima Official Starter Guide'] = prima, ['Prima Guide'] = prima, ['Prima guide'] = prima, ['prima guide'] = prima, ['Prima Games'] = prima, ['Prima games'] = prima, ['prima games'] = prima, ['prima official starter guide'] = prima, ['Prima'] = prima, ['prima'] = prima,

['nso'] = nso, ['NSO'] = nso, ['Switch Online'] = nso, ['Online'] = nso, ['Nintendo Switch Online'] = nso, ['switch online'] = nso, ['online'] = nso, ['nintendo switch online'] = nso, }		if source and source ~= "" then if not t[X] then return X			else return t[X] end else return missing end end function LIC(X) local ccbysa10 = "This file is distributed under the Creative Commons Attribution-ShareAlike 1.0 license." local ccby20 = "This file is distributed under the Creative Commons Attribution 2.0 license." local ccbysa21jp = "This file is distributed under the Creative Commons Attribution-ShareAlike 2.1 Japan license." local ccby25 = "This file is distributed under the Creative Commons Attribution 2.5 license." local ccbysa25 = "This file is distributed under the Creative Commons Attribution-ShareAlike 2.5 license." local ccby30 = "This file is distributed under the Creative Commons Attribution 3.0 license." local ccbync30 = "This file is distributed under the Creative Commons Attribution Non-Commercial 3.0 license." local ccbysa30 = "This file is distributed under the Creative Commons Attribution-ShareAlike 3.0 license." local ccbysa40 = "This file is distributed under the Creative Commons Attribution-ShareAlike 4.0 license." local lgpl = "This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU Lesser General Public License for more details." local pd = "This file has been released into the public domain by the copyright holder, its copyright has expired, or it is ineligible for copyright. This applies worldwide." local pds = "This file has been released into the public domain by the uploading user. This applies worldwide." local fairuse = "This file is subject to copyright. Copyright is most likely held by the company that published the game or the media portrayed. Inkipedia's use of this work qualifies as fair use under United States copyright law, or the author's permission is given. It is used on the wiki only in the belief that the information the file portrays is designed to be an accompaniment to playing the game or media, and its use here will not:Detract from the experience of playing the game or using the media in question.Harm the author's sales or reputation." local t = {} t = { ['ccbysa10'] = ccbysa10, ['ccybysa1.0'] = ccbysa10, ['cc by sa 1.0'] = ccbysa10, ['cc-by-sa-1.0'] = ccbysa10, ['cc-by-sa 1.0'] = ccbysa10, ['ccby20'] = ccby20, ['ccyby2.0'] = ccby20, ['cc by 2.0'] = ccby20, ['cc-by-2.0'] = ccby20, ['cc-by 2.0'] = ccby20, ['ccbysa21jp'] = ccbysa21jp, ['ccybysa2.1jp'] = ccbysa21jp, ['cc by sa 2.1 jp'] = ccbysa21jp, ['cc-by-sa-2.1 jp'] = ccbysa21jp, ['cc-by-sa 2.1 jp'] = ccbysa21jp, ['cc-by-sa 2.1 japan'] = ccbysa21jp, ['ccby25'] = ccby25, ['ccyby2.5'] = ccby25, ['cc by 2.5'] = ccby25, ['cc-by-2.5'] = ccby25, ['cc-by-2.5'] = ccby25, ['ccbysa25'] = ccbysa25, ['ccybysa2.5'] = ccbysa25, ['cc by sa 2.5'] = ccbysa25, ['cc-by-sa-2.5'] = ccbysa25, ['cc-by-sa 2.5'] = ccbysa25, ['ccby30'] = ccbysa30, ['ccyby3.0'] = ccby30, ['cc by 3.0'] = ccby30, ['cc-by-3.0'] = ccby30, ['cc-by-3.0'] = ccby30, ['ccbysa30'] = ccbysa30, ['ccybysa3.0'] = ccbysa30, ['cc by sa 3.0'] = ccbysa30, ['cc-by-sa-3.0'] = ccbysa30, ['cc-by-sa 3.0'] = ccbysa30,

['ccbync30'] = ccbync30, ['ccybync3.0'] = ccbync30, ['cc by nc 3.0'] = ccbync30, ['cc-by-nc-3.0'] = ccbync30, ['cc-by-nc 3.0'] = ccbync30, ['ccbysa40'] = ccbysa40, ['ccybysa4.0'] = ccbysa40, ['cc by sa 4.0'] = ccbysa40, ['cc-by-sa-4.0'] = ccbysa40, ['cc-by-sa 4.0'] = ccbysa40, ['pd'] = pd, ['public'] = pd, ['publicdomain'] = pd, ['public domain'] = pd,

['lgpl'] = lgpl, ['GNU Lesser'] = lgpl, ['pds'] = pds, ['publicself'] = pds, ['publicdomain self'] = pds, ['public domain self'] = pds, ['public domain by myself'] = pds, }		if not t[X] then return fairuse else return t[X] end end local panel_type = "" local panel_meta = ""

if not type or type == "" then type = {} else type = mw.text.split(type, ',%s*') for i = 1, #type do type[i] = TEXT(type[i]) .. CAT(type[i],true) end if #type > 4 then panel_type = ' Type(s) Way too many types! Try using up to 4 types max. '		else panel_type = ' Type(s)  '.. table.concat(type,", ") ..' ' end end if not meta or meta == "" then meta = {} else meta = mw.text.split(meta, ',%s*') for i = 1, #meta do meta[i] = TEXT(meta[i]) .. CAT(meta[i],false) end if #meta > 4 then panel_meta = ' Meta Type(s) Way too many types! Try using up to 4 types max. '		else panel_meta = ' Meta Type(s)  '.. table.concat(meta,", ") ..' ' end end local panel_game = ' Game  '.. game ..'  ' local panel_description = ' Description  '.. description ..' ' local panel_user = ' User  '.. user ..'  ' local panel_source = ' Source  '.. SRC(source) ..' ' local panel_license = ' License  '.. LIC(license) ..' ' local panel_resized = ' Resized  This file has been resized. '	local panel_youtube = ' YouTube  This file has been taken from YouTube, and should be re-captured in-game when possible. '	local panel_fandom = ' FANDOM  This file has been taken from FANDOM (or a subsidiary) and should be re-captured as soon as possible. '	if game == "" then panel_game = "" end if description == "" then panel_description = "" end if user == "" then panel_user = "" end if resized ~= "yes" then panel_resized = "" end if youtube ~= "yes" then panel_youtube = "" end if fandom ~= "yes" then panel_fandom = "" end local panel = ' ' table.insert(result, panel) return table.concat(result, "") end

return f