Module:Template invocation: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
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 order of the parameters
-- in the original invocation, the named parameters will be
-- may be changed, and any parameters with duplicate keys
-- 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