Template:Sublist
Revision as of 16:21, 20 December 2025 by Kevin Wang (talk | contribs)
Template documentation
An attempt to get around the 1000 character limit for functions in ParserFunctions when constructing a list that can be accessed with List lookup helper.
For long lists, subsections should be split into sections of less than 1000 characters - this template calls the "len" function so that an error will be emitted if it is too long.
{{Sublist|*entry 1}}
{{#var:sublist_index}}: {{#var:sublist_1}}
{{Sublist|*entry 2}}
{{#var:sublist_index}}: {{#var:sublist_2}}
- entry 18
1:
- entry 1
- entry 28
2:
- entry 2