Module:Documentation: Difference between revisions

Reverted to revision 924022556 by Cobi (talk): Restoring (TW)
m (1 revision imported)
(Reverted to revision 924022556 by Cobi (talk): Restoring (TW))
Line 445: Line 445:
local links
local links
local content = args.content
local content = args.content
if not content then
if not content or args[1] then
-- 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)
Anonymous user