Module:Documentation: Difference between revisions
From Video Credit Archive
Content deleted Content added
wikpedia>Cobi m Make edit links behavior consistent with documentation: If both 1= and content= are specified, display links to 1, and content from content=. |
wikpedia>Cobi m Fix logic error |
||
Line 445: | Line 445: | ||
local links |
local links |
||
local content = args.content |
local content = args.content |
||
if not content |
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) |