Changes

Module:Documentation

212 bytes added, 19:26, 20 January 2014
tweak the _endBox comment and fix a few variables that were accidentally left undefined
-- Messages:
-- 'fmbox-id' --> 'documentation-meta-data'
-- 'fmbox-style' --> 'background-color: #ecfcf4' -- 'fmbox-textstyle' --> 'font-style: italic'
--]]
-- 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 (
text = text .. p.makeEndBoxExperimentBlurb(args, env)
text = text .. '<br />'
-- Show the categories text, but not if "we have the content" fed or "docname fed"on the template page itself, -- or if the documentation page has been specified explicitly, since then it is unclear -- where to add the categories. if not args.content and not docnameFed args[1] then
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
Anonymous user