Difference between revisions of "Template:List lookup helper/default case"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) (Created page with "<includeonly>{{#vardefine:cleaned_page|{{#explode:{{#var:loaded_page}}|==|0}}}}{{#vardefine:minindex|0}}{{#vardefine:maxindex|1}}<!-- Find the upper bound of the size in step...") |
Kevin Wang (talk | contribs) m |
||
| Line 19: | Line 19: | ||
}}{{Copy|index|length}}<!-- | }}{{Copy|index|length}}<!-- | ||
| − | -->{{#loop:ii|1|{{#var:length}}|{{#vardefine:entry_{{#var:ii}}|{{#explode:{{#var:cleaned_page}}|*|{{#var:ii}}|1000 | + | -->{{#loop:ii|1|{{#var:length}}|{{#vardefine:entry_{{#var:ii}}|{{#explode:{{#var:cleaned_page}}|*|{{#var:ii}}|1000}}}}}}</includeonly><noinclude> |
{{Template doc| | {{Template doc| | ||
Default handling for [[Template:List lookup helper]]. When [[Template:Sublist]] is being used, [[Template:List lookup helper/sublist case]] is used instead. | Default handling for [[Template:List lookup helper]]. When [[Template:Sublist]] is being used, [[Template:List lookup helper/sublist case]] is used instead. | ||
Latest revision as of 17:09, 20 December 2025
Template documentation
Default handling for Template:List lookup helper. When Template:Sublist is being used, Template:List lookup helper/sublist case is used instead.
Expects that "loaded_page" has been defined with the contents of the target list.
Sets:
- length
- entry_i
- loaded_page
- cleaned_page
{{List lookup helper/default case}}
{{#var:length}}
0