Module:Documentation: Difference between revisions
Jump to navigation
Jump to search
m>Mr. Stradivarius replace another argument name with a hardcoded value |
m>Mr. Stradivarius control for blank values of linksData |
||
Line 358: | Line 358: | ||
-- No need to include the links if the documentation is on the template page itself. | -- No need to include the links if the documentation is on the template page itself. | ||
local linksData = p.makeStartBoxLinksData(args, env) | local linksData = p.makeStartBoxLinksData(args, env) | ||
links = p.renderStartBoxLinks(linksData) | if linksData then | ||
links = p.renderStartBoxLinks(linksData) | |||
end | |||
end | end | ||
-- Generate the start box html. | -- Generate the start box html. |