Difference between revisions of "Module:Data/endpoints"

From Yugipedia
Jump to: navigation, search
(Add more endpoints (anime and manga namespaces).)
(Add release endpoint.)
Line 7: Line 7:
 
getRarity  = 'static/rarity',
 
getRarity  = 'static/rarity',
 
getEdition  = 'static/edition',
 
getEdition  = 'static/edition',
 +
getRelease  = 'static/release',
  
 
-- SMW data:
 
-- SMW data:

Revision as of 13:32, 29 December 2019

-- <pre>
return {
	-- Static data:
	getRegion   = 'static/region',
	getLanguage = 'static/language',
	getMedium   = 'static/medium', -- TODO: Rename. "medium" could be CG, anime, manga, VG, etc..
	getRarity   = 'static/rarity',
	getEdition  = 'static/edition',
	getRelease  = 'static/release',

	-- SMW data:
	getName         = 'smw/name',
	getReleaseDate  = 'smw/releaseDate',
	getFullCardType = 'smw/cardType', -- TODO: move module?
	
	-- Sub-Namespaces:
	anime = 'namespaces/anime',
	manga = 'namespaces/manga',
}
-- </pre>