Module:File/Data

local utilsTable = require("Module:UtilsTable")

local p = {}

p.types = { {       key = "artwork", cat = "Artwork", },   {    	key = "icon", cat = "Sprites", },	{       key = "map", cat = "Maps", },	{       key = "merchandise", cat = "Merchandise", },	{       key = "model", cat = "Models", },	{       key = "print", cat = "Printed Media", },	{       key = "render", cat = "Renders", },	{       key = "screenshot", cat = "Screenshots", },	{       key = "sound", cat = "Sounds", },	{       key = "sprite", cat = "Sprites", },	{       key = "symbol", cat = "Symbols", },	{       key = "texture", cat = "Textures", },   {    	key = "video", cat = "Videos", },	{       key = "concept artwork", cat = "Concept Artwork", },	{       key = "concept logo", cat = "Concept Logos", },	{       key = "concept map", cat = "Concept Maps", },	{       key = "concept merchandise", cat = "Concept Merchandise", },	{       key = "concept model", cat = "Concept Models", },	{       key = "concept render", cat = "Concept Renders", },	{       key = "concept screenshot", cat = "Concept Screenshots", },	{       key = "concept sound", cat = "Concept Sounds", },	{       key = "concept sprite", cat = "Concept Sprites", },	{       key = "concept texture", cat = "Concept Textures", },   {    	key = "concept video", cat = "Concept Videos", },	{       key = "flag", cat = "Flags", nogame = true, },	{       key = "logo", cat = "Logos", },	{       key = "photo", cat = "Photographs", },	{		key = "signature", cat = "Signatures", nogame = true, },	{       key = "user", cat = "Personal Images", nogame = true, },   {    	key = "wiki symbol", cat = "Wiki Symbols", nogame = true, } } p.typesEnum = utilsTable.map(p.types, "key") p.typesEnum.reference = "Module:File/Data"

p.typesByKey = utilsTable.keyBy(p.types, "key")

p.licenses = { "Copyright", "Fan Art", "Public Domain", "PD-Simple", "GFDL", "CC-BY-SA", "CC-BY-NC-SA", "Copyright-ZW", } p.licenses.reference = "Module:File/Data"

return p