Module:Documentation: Difference between revisions

tweak the _endBox comment and fix a few variables that were accidentally left undefined
(hardcode image=none in fmbox)
(tweak the _endBox comment and fix a few variables that were accidentally left undefined)
Line 620:
-- Messages:
-- 'fmbox-id' --> 'documentation-meta-data'
-- 'fmbox-style' --> 'background-color: #ecfcf4'
--
-- 'fmbox-textstyle' --> 'font-style: italic'
--]]
Line 633 ⟶ 634:
-- box by default if the documentation exists or if we are in the
-- user, module or template namespaces.
local linkBox = args['link box']
if linkBox == 'off'
or not (
Line 663 ⟶ 665:
text = text .. p.makeEndBoxExperimentBlurb(args, env)
text = text .. '<br />'
-- Show the categories text, but not if "we have the content" fedon the ortemplate "docnamepage fed"itself,
-- or if the documentation page has been specified explicitly, since then it is unclear
-- since then it is unclear where to add the categories.
if not args.content and not docnameFedargs[1] then
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
Anonymous user