Module:Documentation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 68: | Line 68: | ||
colour = 'F9F2EA' | colour = 'F9F2EA' | ||
message = "'''This " .. pageType .. "'s documentation needs improving or additional information.'''" | message = "'''This " .. pageType .. "'s documentation needs improving or additional information.'''" | ||
end | |||
local certainty = 'should' | |||
if pageType == 'module' then | |||
certainty = 'will' | |||
end | end | ||
| Line 73: | Line 78: | ||
'<div style="margin-bottom:0.8em;padding:0.8em 1em 0.7em;background-color:#' .. colour .. ';border:1px solid #AAA">', | '<div style="margin-bottom:0.8em;padding:0.8em 1em 0.7em;background-color:#' .. colour .. ';border:1px solid #AAA">', | ||
'<div style="float:right">[[' .. page:fullUrl( 'action=purge' ) .. ' purge]]</div>', | '<div style="float:right">[[' .. page:fullUrl( 'action=purge' ) .. ' purge]]</div>', | ||
'<p style="margin: 0">This is the documentation page, it | '<p style="margin: 0">This is the documentation page, it ' .. certainty .. ' be transcluded into the main ' .. pageType .. ' page. See [[Template:Documentation]] for more information.</p>', | ||
message, | message, | ||
'</div>' | '</div>' | ||