Module:Warning/doc: Difference between revisions

Content deleted Content added
Wrote example with warning class
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 6:
<syntaxhighlight lang="lua">
local warn = require('Module:Warning')
warn('"Message'")
warn(('"TypeWarning: %s.'"):format(warning), level)
</syntaxhighlight><includeonly>
== See also ==
* [[:Module:Error]]
* [[:Module:If preview]]
<includeonly>
 
{{Sandbox other||