Module:Documentation: Difference between revisions
don't use messages for fmbox parameter names
m>Mr. Stradivarius (use messages for the err function instead of hard-coded values) |
m>Mr. Stradivarius (don't use messages for fmbox parameter names) |
||
Line 562: | Line 562: | ||
-- Assemble the arguments for {{fmbox}}. | -- Assemble the arguments for {{fmbox}}. | ||
local fmargs = {} | local fmargs = {} | ||
fmargs | fmargs.id = message('fmboxId', 'string') -- Sets 'documentation-meta-data' | ||
fmargs | fmargs.image = message('fmboxImageNone', 'string') -- Sets 'none' | ||
fmargs | fmargs.style = message('fmboxStyle', 'string') -- Sets 'background-color: #ecfcf4' | ||
fmargs | fmargs.textstyle = message('fmboxTextstyle', 'string') -- 'font-style: italic;' | ||
-- Assemble the fmbox text field. | -- Assemble the fmbox text field. |