Difference between revisions of "Module:Data/endpoints"

From Yugipedia
Jump to: navigation, search
(Add more endpoints (anime and manga namespaces).)
(Restoring revision 4841391 by User:Becasita on 2021-12-12 23:30:15. "Add smw/translatedName")
 
(2 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
getRarity  = 'static/rarity',
 
getRarity  = 'static/rarity',
 
getEdition  = 'static/edition',
 
getEdition  = 'static/edition',
 +
getRelease  = 'static/release',
  
 
-- SMW data:
 
-- SMW data:
getName         = 'smw/name',
+
getName           = 'smw/name',
getReleaseDate = 'smw/releaseDate',
+
getTranslatedName = 'smw/translatedName',
getFullCardType = 'smw/cardType', -- TODO: move module?
+
getReleaseDate   = 'smw/releaseDate',
 +
getFullCardType   = 'smw/cardType', -- TODO: move module?
 
 
 
-- Sub-Namespaces:
 
-- Sub-Namespaces:
anime = 'namespaces/anime',
+
anime     = 'namespaces/anime',
manga = 'namespaces/manga',
+
manga     = 'namespaces/manga',
 +
videoGames = 'namespaces/videoGames',
 
}
 
}
 
-- </pre>
 
-- </pre>

Latest revision as of 05:51, 15 March 2023

-- <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',
	getTranslatedName = 'smw/translatedName',
	getReleaseDate    = 'smw/releaseDate',
	getFullCardType   = 'smw/cardType', -- TODO: move module?
	
	-- Sub-Namespaces:
	anime      = 'namespaces/anime',
	manga      = 'namespaces/manga',
	videoGames = 'namespaces/videoGames',
}
-- </pre>