Difference between revisions of "Module:Data/endpoints"
(Add getMedium. Add some comments.) |
(Restoring revision 4841391 by User:Becasita on 2021-12-12 23:30:15. "Add smw/translatedName") |
||
(6 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
return { | return { | ||
-- Static data: | -- Static data: | ||
− | getRegion = 'static/region', | + | getRegion = 'static/region', |
getLanguage = 'static/language', | getLanguage = 'static/language', | ||
− | getMedium = 'static/medium', | + | getMedium = 'static/medium', -- TODO: Rename. "medium" could be CG, anime, manga, VG, etc.. |
− | + | getRarity = 'static/rarity', | |
− | getRarity = 'static/rarity', | + | getEdition = 'static/edition', |
+ | getRelease = 'static/release', | ||
-- SMW data: | -- SMW data: | ||
− | + | getName = 'smw/name', | |
− | + | getTranslatedName = 'smw/translatedName', | |
− | getReleaseDate = 'smw/releaseDate', | + | getReleaseDate = 'smw/releaseDate', |
+ | getFullCardType = 'smw/cardType', -- TODO: move module? | ||
+ | |||
+ | -- Sub-Namespaces: | ||
+ | anime = 'namespaces/anime', | ||
+ | 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>