Difference between revisions of "Template:Smart lookup"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) |
Kevin Wang (talk | contribs) m |
||
| Line 7: | Line 7: | ||
Given a list and an index ''i'', return the (''i'' mod ''N'')-th entry in the list. | Given a list and an index ''i'', return the (''i'' mod ''N'')-th entry in the list. | ||
| − | This behavior was extracted from [[Template:Quick links smart lingo]]. | + | This behavior was originally extracted from [[Template:Quick links smart lingo|Quick links smart lingo]] and was refactored to use [[Template:List lookup helper|List lookup helper]]. |
<pre> | <pre> | ||
{{Smart lookup|QBWiki:Quick links/lingo|1}} | {{Smart lookup|QBWiki:Quick links/lingo|1}} | ||
Revision as of 19:07, 14 December 2025
Template documentation
Given a list and an index i, return the (i mod N)-th entry in the list.
This behavior was originally extracted from Quick links smart lingo and was refactored to use List lookup helper.
{{Smart lookup|QBWiki:Quick links/lingo|1}}
Wondering why people keep saying "m"?