Module:LoadData/doc explained
A more complex version of with more options and the ability to select indexes with an inequality operator.
Usage
{}
- Zeroth parameter is the name of the data module to read, without Module:, e.g.
Example/data
- Next parameters, for an index starting at one, are called for the exact index you need, coerced to number if possible, to select the highest numerical index less than or equal to the argument, or for the opposite.
- is a printf-style string to interpolate the resulting value(s) into, e.g.
<nowiki><b>%s</b></nowiki>
.
- is like except that
frame:preprocess
is run on it; this makes e.g. template transclusions work.
- is the string to return if the result is nil. Default is nil, which comes out as the empty string.