Anonymous user
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
-- or if the documentation page has been specified explicitly, since then it is unclear
--
if not args.content and not
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
|