Module:Warning/doc: Difference between revisions

Content deleted Content added
m Removed extra <p> in /doc view
Wrote example with warning class
Line 7:
local warn = require('Module:Warning')
warn('Message')
warn(('CustomTypeWarning: %s.'):format(warning))
</syntaxhighlight><includeonly>