Module:Chinese

From Laserwiki
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