Template:List lookup helper/sublist case

From QBWiki
Jump to navigation Jump to search

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