Template:Sublist
Jump to navigation
Jump to search
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/sublist case.
- sublist_index - is equal to the number of sublists (up to this point)
For long lists, subsections should be split into sections of less than 1000 characters.
{{Sublist|*entry 1
* entry 2
* entry 3
* entry 4}}
{{#var:sublist_index}}: {{#var:sublist_1}}
{{Sublist|*entry 5}}
{{#var:sublist_index}}: {{#var:sublist_2}}
- entry 1
- entry 2
- entry 3
- entry 4
1:
- entry 1
- entry 2
- entry 3
- entry 4
- entry 5
2:
- entry 5