Module:Template invocation: Difference between revisions
m
note sorting
m (sort parameters alphabetically instead of returning them in random order) |
m (note sorting) |
||
Line 41: | Line 41: | ||
-- name and the arguments given. Note that it isn't | -- name and the arguments given. Note that it isn't | ||
-- perfect: we have no way of knowing what whitespace was | -- perfect: we have no way of knowing what whitespace was | ||
-- in the original invocation, the | -- in the original invocation, the named parameters will be | ||
-- | -- alphabetically sorted, and any parameters with duplicate keys | ||
-- will be removed. | -- will be removed. | ||
-- Parameters: name - the template name, formatted as it will appear | -- Parameters: name - the template name, formatted as it will appear |