Module:Lang-zh: Difference between revisions

Content deleted Content added
Read more of the documentation: this should work
Add lang-span etc. to case with no named params
Line 38:
if (c > "" or (s > "" and s == t)) then -- if simplified and traditional the same they are merged into Chinese.
c = c or s
c = p.lang("zh", c);
if (no) then -- handle "links=no"
body = body .. "Chinese: " .. c .. "; "
Line 152:
c = pframe.args[1] or ""
if (c > "") then -- if there is treat it as Chinese
c = p.lang("zh", c)
if (no) then -- handle "links=no"
return "Chinese: " .. c