因为以下原因,您没有权限编辑本页:
您可以查看和复制此页面的源代码。
-- Imported from: https://en.wikipedia.org/wiki/Module:Error
-- This module implements {{error}}.
local p = {}
local function _error(args)
local tag = mw.ustring.lower(tostring(args.tag))
-- Work out what html tag we should use.
if not (tag == 'p' or tag == 'span' or tag == 'div') then
tag = 'strong'
end
-- Generate the html.
return tostring(mw.html.create(tag)
:addClass('error')
:wikitext(tostring(args.message or args[1] or error('no message specified', 2)))
)
end
000
1:0
本页使用的模板:
- 模板:High-use(查看源代码)
- 模板:Module other(查看源代码)
- 模板:Module rating(查看源代码)
- 模板:Ombox(查看源代码)
- 模板:Sandbox other(查看源代码)
- 模板:Tl(查看源代码)
- 模块:Arguments(查看源代码)
- 模块:Effective protection level(查看源代码)
- 模块:Error/doc(查看源代码)
- 模块:High-use(查看源代码)
- 模块:Message box(查看源代码)
- 模块:Message box/configuration(查看源代码)
- 模块:Message box/ombox.css(查看源代码)
- 模块:String(查看源代码)
- 模块:Transclusion count(查看源代码)
- 模块:Transclusion count/data/E(查看源代码)
- 模块:Yesno(查看源代码)
返回模块:Error。