Difference between revisions of "Template:Size"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) |
Kevin Wang (talk | contribs) m |
||
| (One intermediate revision by the same user not shown) | |||
| Line 15: | Line 15: | ||
{{#vardefine:index|{{#expr:floor(({{#var:maxindex}}+{{#var:minindex}})/2)}}}} | {{#vardefine:index|{{#expr:floor(({{#var:maxindex}}+{{#var:minindex}})/2)}}}} | ||
}}{{#var:index}}</includeonly><noinclude> | }}{{#var:index}}</includeonly><noinclude> | ||
| − | Get size of list | + | {{Template doc| |
| + | Get size of a list given a template that maps index -> entry. | ||
| − | + | Largely deprecated by [[Template:List lookup helper|List lookup helper]]. | |
| − | + | ||
| − | + | <pre> | |
| − | + | {{Size|Quick links lingo}} | |
| − | + | ||
| − | + | {{Size|Anecdote}} | |
| − | + | </pre> | |
| − | |Anecdote | + | |
| − | |{{Size|Anecdote}} | + | {{Size|Quick links lingo}} |
| − | + | ||
| − | </noinclude> | + | {{Size|Anecdote}} |
| + | }}</noinclude> | ||
Latest revision as of 18:28, 14 December 2025
Template documentation
Get size of a list given a template that maps index -> entry.
Largely deprecated by List lookup helper.
{{Size|Quick links lingo}}
{{Size|Anecdote}}
5
0