Jump to content

Module:Documentation: Difference between revisions

m
fix comment for the message function
m>Mr. Stradivarius
(handle nil values of addTrackingCategory properly, and don't categorise testcases pages in the module namespace)
m>Mr. Stradivarius
m (fix comment for the message function)
Line 28: Line 28:
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- message are substituted with values from the table keys [1], [2] etc.
-- message are substituted with values from the table keys [1], [2] etc.
-- For example, if the message cfg.fooMessage had the value 'Foo $2 bar $1.',
-- For example, if the message "foo-message" had the value 'Foo $2 bar $1.',
-- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz."
-- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz."
--]]
--]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.