Template:Smart lookup

From QBWiki
Revision as of 14:07, 8 December 2025 by Kevin Wang (talk | contribs)
Jump to navigation Jump to search

1 - page with list

2 - index

When index i <= # of entries in list, return value straight away. If i > #, it'll wrap around (mod #).