“模块:Ship Specs”的版本间的差异

来自星际公民宇宙百科
跳转至: 导航搜索
第2行: 第2行:
  
 
function p.text( json )
 
function p.text( json )
json = (string.gsub(json, "<[/]?nowiki>", ""))
+
 
 
return tostring(json)
 
return tostring(json)
 
end
 
end

2015年10月4日 (日) 21:20的版本

此模块的文档可以在模块:Ship Specs/doc创建

local p = {}

function p.text( json )

	return tostring(json)
end

function p.main( frame )
	return p.text(frame.args[1])
end

return p