Template:List lookup helper/sublist case
< Template:List lookup helper
Jump to navigation
Jump to search
Revision as of 18:33, 20 December 2025 by Kevin Wang (talk | contribs)
Template documentation
Special handling for Template:List lookup helper when Template:Sublist is being used.
Is intended to be used as a special case in the above template. Expects that "loaded_page" has been defined with the contents of the target list, which should have defined the "sublist_n" variables.
Provides alternate route to:
- length
- entry_i.
{{Sublist|
* 1
* 2
}}{{Sublist|
* 3
* 4
}}
{{List lookup helper/sublist case}}
{{#var:length}} ({{#var:sublist_index}}): {{#var:entry_1}}, {{#var:entry_2}}
- 1
- 2
- 3
- 4
4 (2): 1, 2, 3, 4