Module:Warning/doc
Appearance
This is the documentation page for Modul:Warning
| This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
Ushbu modul oddiygina Module:Errorga o'xshash barcha ogohlantirish xabarlarining formatlanishini birlashtiradi. Hozirda bu oddiy matn, lekin muhokama sahifasida muhokama qilingandan soʻng maxsus formatlash qoʻllanilishi mumkin. Tahrirni oldindan ko'rishda ogohlantirishlar oldindan ko'rish ustida ko'rsatiladi.
Ishlatilishi
local warn = require('Module:Warning')
warn("Message")
warn(("TypeWarning: %s"):format(warning), level)