檢視 模組:導覽列 的原始碼
外觀
由於以下原因,您無權編輯此頁面:
您可以檢視並複製此頁面的原始碼。
local p = {}
local getArgs
function p._navbar(args)
local titleArg = 1
if args.collapsible then
titleArg = 2
if not args.plain then
args.mini = 1
end
if args.fontcolor then
args.fontstyle = 'color:' .. args.fontcolor .. ';'
end
args.style = 'float:left; text-align:left'
end
local titleText = args[titleArg] or (':' .. mw.getCurrentFrame():getParent():getTitle())
local title = mw.title.new(mw.text.trim(titleText), 'Template');
if not title then
000
1:0
此頁面使用了以下模板:
返回到「模組:導覽列」。