Difference between revisions of "Module:Int"

48 bytes added ,  21:52, 28 January 2017
preprocess
>Shirayuki
>Shirayuki
(preprocess)
Line 17: Line 17:
     local lang = templateTranslation.getLanguage()
     local lang = templateTranslation.getLanguage()
     if (msg:exists() and not msg:isDisabled()) then
     if (msg:exists() and not msg:isDisabled()) then
         return msg:inLanguage(lang):plain()
         local msgstr = msg:inLanguage(lang):plain()
        return frame:preprocess(msgstr)
     else
     else
         return '⧼' .. args[1] .. '⧽'
         return '⧼' .. args[1] .. '⧽'
Anonymous user