540
edits
(use yesno to test whether to add a border) |
m (24 revisions imported from wikipedia:Module:File_link: see Topic:Vtixlm0q28eo6jtf) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 84: | Line 84: | ||
wrappers = 'Template:File link' | wrappers = 'Template:File link' | ||
}) | }) | ||
if not origArgs.file then | |||
error("'file' parameter missing from [[Template:File link]]", 0) | |||
end | |||
-- Copy the arguments that were passed to a new table to avoid looking up | -- Copy the arguments that were passed to a new table to avoid looking up | ||
-- every possible parameter in the frame object. | -- every possible parameter in the frame object. |