模块:Navbox:修订间差异

添加111字节 、​ 2022年8月5日 (星期五)
无编辑摘要
(// Edit via Wikiplus)
无编辑摘要
第8行: 第8行:
end
end
local function border(arg)
local function border(arg)
   if(arg=="subgroup" or arg=="child") then
   if(arg=="subgroup" or arg=="child")  
  then
     return "</div>"
     return "</div>"
   elseif(arg=="none") then
   elseif(arg=="none")  
  then
     return ""
     return ""
   else
   else
     local table = mw.html.create( 'table' )
     local table = mw.html.create( 'table' )
     return tostring(table)
     return '<table class="navbox {{{class|}}}" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">'
   end
   end
end
end
维护员、​界面管理员、​巡查员、​监督员、​小部件编辑者
3,469

个编辑