因为以下原因,您没有权限编辑本页:
您可以查看和复制此页面的源代码。
local p = {}
local Unicode_data = require "Module:Unicode data"
local function errorf(level, ...)
if type(level) == "number" then
return error(string.format(...), level + 1)
else -- level is actually the format string.
return error(string.format(level, ...), 2)
end
end
-- from [[Template:Unichar]]
local styles = {
smallcaps = 'class="smallcaps" style="font-variant: small-caps; font-size: smaller;"',
monospace = 'style="font-family: monospace, monospace;"', -- why repeat it?
background_color = 'style="background: lightblue;"', -- for space characters
}
local function style(text, type)
if not styles[type] then
000
1:0
本页使用的模板:
返回模块:Unichar。