Jump to content

Module:Documentation: Difference between revisions

m
Make edit links behavior consistent with documentation: If both 1= and content= are specified, display links to 1, and content from content=.
m (Undid revision 908430596 by Paine Ellsworth (talk) srv - mybad)
m (Make edit links behavior consistent with documentation: If both 1= and content= are specified, display links to 1, and content from content=.)
Line 445: Line 445:
local links
local links
local content = args.content
local content = args.content
if not content then
if not content and not 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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.