Module:Chinese

From Laserwiki
Revision as of 15:26, 12 July 2020 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Chinese/doc

local p = {}

function p.hello()
    a = 'a: *alo\n123"*'
    a0 = [==[a0: *alo 
 123"*]==]
    a1 = "a1: *alo\n123\"*"
    a2 = 'a2: *\97lo\10\04923"*'
    a3 = [[a3: *alo
123"*]]
    a4 = [==[
     a4: *alo
123"*]==]
    a5 = [[a5: *alo 
    123"*]]
    a6 = [==[
     a6: *alo 
    123"*]==]
    a7 = [==[a7: *alo 
 123"*]==]
    lang = mw.language.new('zh')
    a8 = lang:formatDate( 'U', '2013-02-14')
    return "您好,[[中文]]!\a啊啊啊啊啊\r硕鼠硕鼠", a,a0, a1,a2,a3,a4,a5,a6,a7,a8
end    

return p