访客,您必须在登录后才能编辑,请登录/注册

模板:Navbox:修订间差异

来自苦力怕Wiki
无编辑摘要
标签已被回退
无编辑摘要
 
(未显示2个用户的4个中间版本)
第1行: 第1行:
-- 此模块引用自维基百科同名页面,引用行为依据 CC BY-SA 3.0 条款
<includeonly><!--
-- 部分内容因为本地化或其他修改,可能与原模块有出入


-- 此模块实现了 {{Navbox}}
-->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table class="navbox {{{class|}}}" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!--


local p = {}
--><table cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|#default=mw-collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="display:table;width:100%;{{{bodystyle|}}};{{{style|}}}|#default=" style="display:table;width:100%;background:transparent;color:inherit}};{{{innerstyle|}}};"><!--
local navbar = require('Module:Navbar')._navbar
local getArgs -- lazily initialized


local args
local tableRowAdded = false
local border
local listnums = {}


local function trim(s)
    return (mw.ustring.gsub(s, "^%s*(.-)%s*$", "%1"))
end


local function addNewline(s)
---Title and Navbar---
    if s:match('^[*:;#]') or s:match('^{|') then
-->{{#if:{{{title|}}}|<tr>{{#if:{{{titlegroup|}}}|<!--
        return '\n' .. s ..'\n'
--><td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}">{{{titlegroup|}}}</td><!--
    else
--><th style="border-left:2px solid #fdfdfd;width:100%;|<th style="}}{{{basestyle|}}};{{{titlestyle|}}}" <!--
        return s
-->colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} <!--
    end
-->class="navbox-title"><!--
end


local function addTableRow(tbl)
-->{{#if:{{#switch:{{{navbar|}}}|plain|off=1}}<!--
    -- If any other rows have already been added, then we add a 2px gutter row.
-->{{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}|<!--
    if tableRowAdded then
-->{{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}|<!--
        tbl
-->{{#ifeq:{{{state|}}}|plain||<div style="float:left; width:6em;text-align:left;">&nbsp;</div>}}}}|<!--
            :tag('tr')
--><div style="float:left; width:6em;text-align:left;"><!--
                :css('height', '2px')
-->{{Navbar|{{{name}}}|fontstyle={{{basestyle|}}};{{{titlestyle|}}};border:none;|mini=1}}<!--
                :tag('td')
--></div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}}<!--
                :attr('colspan', 3)
    end
   
    tableRowAdded = true
   
    return tbl:tag('tr')
end


local function renderNavBar(titleCell)
--><span style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"><!--
    -- Depending on the presence of the navbar and/or show/hide link, we may need to add a spacer div on the left
-->{{{title}}}</span></th></tr>}}<!--
    -- or right to keep the title centered.
    local spacerSide = nil


    if args.navbar == 'off' then
        -- No navbar, and client wants no spacer, i.e. wants the title to be shifted to the left. If there's
        -- also no show/hide link, then we need a spacer on the right to achieve the left shift.
        if args.state == 'plain' then spacerSide = 'right' end
    elseif args.navbar == 'plain' or (not args.name and mw.getCurrentFrame():getParent():getTitle() == 'Template:Navbox' and (border == 'subgroup' or border == 'child' or border == 'none')) then
        -- No navbar. Need a spacer on the left to balance out the width of the show/hide link.
        if args.state ~= 'plain' then spacerSide = 'left' end
    else
        -- Will render navbar (or error message). If there's no show/hide link, need a spacer on the right
        -- to balance out the width of the navbar.
        if args.state == 'plain' then spacerSide = 'right' end


        titleCell:wikitext(navbar{
            args.name,
            mini = 1,
            fontstyle = (args.basestyle or '') .. ';' .. (args.titlestyle or '') ..  ';background:none transparent;border:none;'
        })
    end
   
    -- Render the spacer div.
    if spacerSide then
        titleCell
            :tag('span')
                :css('float', spacerSide)
                :css('width', '8em')
                :css('font-size', '80%')
                :css('margin-' .. (spacerSide == 'left' and 'right' or 'left'), '0.5em')
                :wikitext('&nbsp;')
    end
end


--
---Above---
--   Title row
-->{{#if:{{{above|}}}|<!--
--
  -->{{#if:{{{title|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
local function renderTitleRow(tbl)
--><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" <!--
    if not args.title then return end
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{above}}}</td></tr>}}<!--
   
    local titleRow = addTableRow(tbl)
   
    if args.titlegroup then
        titleRow
            :tag('th')
                :attr('scope', 'row')
                :addClass('navbox-group')
                :addClass(args.titlegroupclass)
                :cssText(args.basestyle)
                :cssText(args.groupstyle)
                :cssText(args.titlegroupstyle)
                :wikitext(args.titlegroup)
    end
   
    local titleCell = titleRow:tag('th'):attr('scope', 'col')
           
    if args.titlegroup then
        titleCell
            :css('border-left', '2px solid #fdfdfd')
            :css('width', '100%')
    end
   
    local titleColspan = 2
    if args.imageleft then titleColspan = titleColspan + 1 end
    if args.image then titleColspan = titleColspan + 1 end
    if args.titlegroup then titleColspan = titleColspan - 1 end
   
    titleCell
        :cssText(args.basestyle)
        :cssText(args.titlestyle)
        :addClass('navbox-title')
        :addClass(args.titleclass)
        :attr('colspan', titleColspan)
    renderNavBar(titleCell)


    titleCell
        :tag('div')
            :css('font-size', '110%')
            :wikitext(addNewline(args.title))
end


--
--  Above/Below rows
--


local function getAboveBelowColspan()
---Body---
    local ret = 2
    if args.imageleft then ret = ret + 1 end
    if args.image then ret = ret + 1 end
    return ret
end


local function renderAboveRow(tbl)
---First group/list and images---
    if not args.above then return end
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<tr style="height:2px;"><td></td></tr>}}<tr><!--


    addTableRow(tbl)
-->{{#if:{{{imageleft|}}}|<!--
        :tag('td')
--><td style="width:0%;padding:0px 2px 0px 0px;{{{imageleftstyle|}}}" <!--
            :addClass('navbox-abovebelow')
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!--
            :addClass(args.aboveclass)
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!--
            :cssText(args.basestyle)
-->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}<!--
            :cssText(args.abovestyle)
-->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
            :attr('colspan', getAboveBelowColspan())
-->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}<!--
            :tag('div')
-->{{#if:{{{list21|}}}|+2}}{{#if:{{{list22|}}}|+2}}}}><!--
                :wikitext(addNewline(args.above))
-->{{{imageleft|}}}</td>}}<!--
end


local function renderBelowRow(tbl)
-->{{#if:{{{group1|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group1style|}}}"><!--
    if not args.below then return end
-->{{{group1}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{list1padding|{{{listpadding|0em 0.25em}}}}}}">{{{list1}}}</div></td><!--


    addTableRow(tbl)
-->{{#if:{{{image|}}}|<!--
        :tag('td')
--><td style="width:0%;padding:0px 0px 0px 2px;{{{imagestyle|}}}" <!--
            :addClass('navbox-abovebelow')
-->rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}<!--
            :addClass(args.belowclass)
-->{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}<!--
            :cssText(args.basestyle)
-->{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}<!--
            :cssText(args.belowstyle)
-->{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}<!--
            :attr('colspan', getAboveBelowColspan())
-->{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}<!--
            :tag('div')
-->{{#if:{{{list21|}}}|+2}}{{#if:{{{list22|}}}|+2}}}}><!--
                :wikitext(addNewline(args.below))
-->{{{image|}}}</td>}}<!--
end
--
--   List rows
--
local function renderListRow(tbl, listnum)
    local row = addTableRow(tbl)
   
    if listnum == 1 and args.imageleft then
        row
            :tag('td')
                :addClass('navbox-image')
                :addClass(args.imageclass)
                :css('width', '0%')
                :css('padding', '0px 2px 0px 0px')
                :cssText(args.imageleftstyle)
                :attr('rowspan', 2 * #listnums - 1)
                :tag('div')
                    :wikitext(addNewline(args.imageleft))
    end
    if args['group' .. listnum] then
        local groupCell = row:tag('th')
       
        groupCell
              :attr('scope', 'row')
              :addClass('navbox-group')
              :addClass(args.groupclass)
              :cssText(args.basestyle)
             
        if args.groupwidth then
            groupCell:css('width', args.groupwidth)
        end
         
        groupCell
            :cssText(args.groupstyle)
            :cssText(args['group' .. listnum .. 'style'])
            :wikitext(args['group' .. listnum])
    end
   
    local listCell = row:tag('td')


    if args['group' .. listnum] then
--></tr>}}<!--
        listCell
            :css('text-align', 'left')
            :css('border-left-width', '2px')
            :css('border-left-style', 'solid')
    else
        listCell:attr('colspan', 2)
    end
   
    if not args.groupwidth then
        listCell:css('width', '100%')
    end
   
    local isOdd = (listnum % 2) == 1
    local rowstyle = args.evenstyle
    if isOdd then rowstyle = args.oddstyle end
    local evenOdd
    if args.evenodd == 'swap' then
        if isOdd then evenOdd = 'even' else evenOdd = 'odd' end
    else
        if isOdd then evenOdd = args.evenodd or 'odd' else evenOdd = args.evenodd or 'even' end
    end


    listCell
        :css('padding', '0px')
        :cssText(args.liststyle)
        :cssText(rowstyle)
        :cssText(args['list' .. listnum .. 'style'])
        :addClass('navbox-list')
        :addClass('navbox-' .. evenOdd)
        :addClass(args.listclass)
        :tag('div')
            :css('padding', (listnum == 1 and args.list1padding) or args.listpadding or '0em 0.25em')
            :wikitext(addNewline(args['list' .. listnum]))


    if listnum == 1 and args.image then
        row
            :tag('td')
                :addClass('navbox-image')
                :addClass(args.imageclass)
                :css('width', '0%')
                :css('padding', '0px 0px 0px 2px')
                :cssText(args.imagestyle)
                :attr('rowspan', 2 * #listnums - 1)
                :tag('div')
                    :wikitext(addNewline(args.image))
    end
end


---Remaining groups/lists---


--
-->{{#if:{{{list2|}}}|<!--
--   Tracking categories
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
--
-->{{#if:{{{group2|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group2style|}}}"><!--
-->{{{group2}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list2style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list2}}}</div></td></tr>}}<!--


local function needsHorizontalLists()
-->{{#if:{{{list3|}}}|<!--
    if border == 'child' or border == 'subgroup'  or args.tracking == 'no' then return false end
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}|<tr style="height:2px"><td></td></tr>}}<tr><!--
   
-->{{#if:{{{group3|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group3style|}}}"><!--
    local listClasses = {'plainlist', 'hlist', 'hlist hnum', 'hlist hwrap', 'hlist vcard', 'vcard hlist', 'hlist vevent'}
-->{{{group3}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
    for i, cls in ipairs(listClasses) do
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list3style|}}}" <!--
        if args.listclass == cls or args.bodyclass == cls then
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
            return false
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list3}}}</div></td></tr>}}<!--
        end
    end


    return true
-->{{#if:{{{list4|}}}|<!--
end
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group4|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group4style|}}}"><!--
-->{{{group4}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list4style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list4}}}</div></td></tr>}}<!--


local function hasBackgroundColors()
-->{{#if:{{{list5|}}}|<!--
    return mw.ustring.match(args.titlestyle or '','background') or mw.ustring.match(args.groupstyle or '','background') or mw.ustring.match(args.basestyle or '','background')
--><tr style="height:2px"><td></td></tr><tr><!--
end
-->{{#if:{{{group5|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group5style|}}}"><!--
-->{{{group5}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list5style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list5}}}</div></td></tr>}}<!--


local function argNameAndRealTitleAreDifferent()
-->{{#if:{{{list6|}}}|<!--
if border == 'child' or border == 'subgroup' or args.tracking == 'no' then return false end
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group6|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group6style|}}}"><!--
-->{{{group6}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list6style|}}}" <!--
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list6}}}</div></td></tr>}}<!--


if args.name ~= mw.title.getCurrentTitle().text then
-->{{#if:{{{list7|}}}|<!--
return true
--><tr style="height:2px"><td></td></tr><tr><!--
end
-->{{#if:{{{group7|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group7style|}}}"><!--
return false
-->{{{group7}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
end
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list7style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list7}}}</div></td></tr>}}<!--


local function getTrackingCategories()
-->{{#if:{{{list8|}}}|<!--
    local cats = {}
--><tr style="height:2px"><td></td></tr><tr><!--
    if needsHorizontalLists() then table.insert(cats, '没有使用水平列表的导航框') end
-->{{#if:{{{group8|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group8style|}}}"><!--
    if hasBackgroundColors() then table.insert(cats, '使用背景颜色的导航框') end
-->{{{group8}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
    if argNameAndRealTitleAreDifferent() then table.insert(cats, 'name参数和实际不同的导航框') end
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list8style|}}}" <!--
    return cats
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
end
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list8}}}</div></td></tr>}}<!--


local function renderTrackingCategories(builder)
-->{{#if:{{{list9|}}}|<!--
    local title = mw.title.getCurrentTitle()
--><tr style="height:2px"><td></td></tr><tr><!--
    if title.namespace ~= 10 then return end -- not in template space
-->{{#if:{{{group9|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group9style|}}}"><!--
    local subpage = title.subpageText
-->{{{group9}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
    if subpage == 'doc' or subpage == 'sandbox' or subpage == 'testcases' then return end
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list9style|}}}" <!--
   
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
    for i, cat in ipairs(getTrackingCategories()) do
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list9}}}</div></td></tr>}}<!--
        builder:wikitext('[[Category:' .. cat .. ']]')
    end
end


--
-->{{#if:{{{list10|}}}|<!--
--   Main navbox tables
--><tr style="height:2px"><td></td></tr><tr><!--
--
-->{{#if:{{{group10|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group10style|}}}"><!--
local function renderMainTable()
  -->{{{group10}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
    local tbl = mw.html.create('table')
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list10style|}}}" <!--
        :attr('cellspacing', 0)
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
        :addClass('nowraplinks')
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list10}}}</div></td></tr>}}<!--
        :addClass(args.bodyclass)
           
    if args.title and (args.state ~= 'plain' and args.state ~= 'off') then
        tbl
            :addClass('mw-collapsible')
            :addClass(args.state or 'autocollapse')
    end
   
    tbl:css('border-spacing', 0)
    if border == 'subgroup' or border == 'child' or border == 'none' then
        tbl
            :addClass('navbox-subgroup')
            :cssText(args.bodystyle)
            :cssText(args.style)
    else -- regular navobx - bodystyle and style will be applied to the wrapper table
        tbl
            :addClass('navbox-inner')
            :css('background', 'transparent')
            :css('color', 'inherit')
    end
    tbl:cssText(args.innerstyle)
    renderTitleRow(tbl)
    renderAboveRow(tbl)
    for i, listnum in ipairs(listnums) do
        renderListRow(tbl, listnum)
    end
    renderBelowRow(tbl)
   
    return tbl
end


function p._navbox(navboxArgs)
-->{{#if:{{{list11|}}}|<!--
    args = navboxArgs
--><tr style="height:2px"><td></td></tr><tr><!--
   
-->{{#if:{{{group11|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group11style|}}}"><!--
    for k, v in pairs(args) do
-->{{{group11}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
        local listnum = ('' .. k):match('^list(%d+)$')
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list11style|}}}" <!--
        if listnum then table.insert(listnums, tonumber(listnum)) end
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
    end
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list11}}}</div></td></tr>}}<!--
    table.sort(listnums)
   
    border = trim(args.border or args[1] or '')


    -- render the main body of the navbox
-->{{#if:{{{list12|}}}|<!--
    local tbl = renderMainTable()
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group12|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group12style|}}}"><!--
-->{{{group12}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list12style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list12}}}</div></td></tr>}}<!--


    -- render the appropriate wrapper around the navbox, depending on the border param
-->{{#if:{{{list13|}}}|<!--
    local res = mw.html.create()
--><tr style="height:2px"><td></td></tr><tr><!--
    if border == 'none' then
-->{{#if:{{{group13|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group13style|}}}"><!--
        res:node(tbl)
-->{{{group13}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
    elseif border == 'subgroup' or border == 'child' then
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list13style|}}}" <!--
        -- We assume that this navbox is being rendered in a list cell of a parent navbox, and is
  -->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
        -- therefore inside a div with padding:0em 0.25em. We start with a </div> to avoid the
  --><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list13}}}</div></td></tr>}}<!--
        -- padding being applied, and at the end add a <div> to balance out the parent's </div>
        res
            :wikitext('</div>') -- mw.html 未支持 unclosed
            :node(tbl)
            :wikitext('<div>') -- mw.html 未支持 unclosed
    else
        res
            :tag('table')
                :attr('cellspacing', 0)
                :addClass('navbox')
                :css('border-spacing', 0)
                :cssText(args.bodystyle)
                :cssText(args.style)
                :tag('tr')
                    :tag('td')
                        :css('padding', '2px')
                        :node(tbl)
    end
   
    -- renderTrackingCategories(res) -- 本 Wiki 暂不需要此功能
   
    return tostring(res)
end
function p.navbox(frame)
    if not getArgs then
    getArgs = require('Module:Arguments').getArgs
    end
    -- args = getArgs(frame, {wrappers = 'Template:Navbox'}) -- 可能导致无法获取正确参数的问题
    args = getArgs(frame)


    -- Read the arguments in the order they'll be output in, to make references number in the right order.
-->{{#if:{{{list14|}}}|<!--
    local _
--><tr style="height:2px"><td></td></tr><tr><!--
    _ = args.title
-->{{#if:{{{group14|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group14style|}}}"><!--
    _ = args.above
-->{{{group14}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
    for i = 1, 35 do
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list14style|}}}" <!--
        _ = args["group" .. tostring(i)]
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
        _ = args["list" .. tostring(i)]
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list14}}}</div></td></tr>}}<!--
    end   
    _ = args.below


    return p._navbox(args)
-->{{#if:{{{list15|}}}|<!--
end
--><tr style="height:2px"><td></td></tr><tr><!--
   
-->{{#if:{{{group15|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group15style|}}}"><!--
return p
-->{{{group15}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list15style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list15}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list16|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group16|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group16style|}}}"><!--
-->{{{group16}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list16style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list16}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list17|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group17|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group17style|}}}"><!--
-->{{{group17}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list17style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list17}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list18|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group18|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group18style|}}}"><!--
-->{{{group18}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list18style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list18}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list19|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group19|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group19style|}}}"><!--
-->{{{group19}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list19style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list19}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list20|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group20|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group20style|}}}"><!--
-->{{{group20}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list20}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list21|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group21|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group21style|}}}"><!--
-->{{{group21}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list21style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list21}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list22|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group22|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group22style|}}}"><!--
-->{{{group22}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list22style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list22}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list23|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group23|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group23style|}}}"><!--
-->{{{group23}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list23style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list23}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list24|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group24|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group24style|}}}"><!--
-->{{{group24}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list24style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list24}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list25|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group25|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group25style|}}}"><!--
-->{{{group25}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list25style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list25}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list26|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group26|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group26style|}}}"><!--
-->{{{group26}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list26style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list26}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list27|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group27|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group27style|}}}"><!--
-->{{{group27}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list27style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list27}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list28|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group28|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group28style|}}}"><!--
-->{{{group28}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list28style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list28}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list29|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group29|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group29style|}}}"><!--
-->{{{group29}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list29style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list29}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list30|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
  -->{{#if:{{{group30|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group30style|}}}"><!--
-->{{{group30}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list30style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list30}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list31|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group31|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group31style|}}}"><!--
-->{{{group31}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list31style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list31}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list32|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group32|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group32style|}}}"><!--
-->{{{group32}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list32style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list32}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list33|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group33|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group33style|}}}"><!--
-->{{{group33}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list33style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list33}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list34|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group34|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group34style|}}}"><!--
-->{{{group34}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list34style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list34}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list35|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group35|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group35style|}}}"><!--
-->{{{group35}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list35style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list35}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list36|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group36|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group36style|}}}"><!--
-->{{{group36}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list36style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list36}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list37|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group37|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group37style|}}}"><!--
-->{{{group37}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list37style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list37}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list38|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group38|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group38style|}}}"><!--
-->{{{group38}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list38style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list38}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list39|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group39|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group39style|}}}"><!--
-->{{{group39}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list39style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list39}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list40|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group40|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group40style|}}}"><!--
-->{{{group40}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list40style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list40}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list41|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group41|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group41style|}}}"><!--
-->{{{group41}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list41style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list41}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list42|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group42|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group42style|}}}"><!--
-->{{{group42}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list42style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list42}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list43|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group43|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group43style|}}}"><!--
-->{{{group43}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list43style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list43}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list44|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group44|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group44style|}}}"><!--
-->{{{group44}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list44style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list44}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list45|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group45|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group45style|}}}"><!--
-->{{{group45}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list45style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list45}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list46|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group46|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group46style|}}}"><!--
-->{{{group46}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list46style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list46}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list47|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group47|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group47style|}}}"><!--
-->{{{group47}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list47style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list47}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list48|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group48|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group48style|}}}"><!--
-->{{{group48}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list48style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list48}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list49|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group49|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group49style|}}}"><!--
-->{{{group49}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{oddstyle|}}};{{{list49style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list49}}}</div></td></tr>}}<!--
 
-->{{#if:{{{list50|}}}|<!--
--><tr style="height:2px"><td></td></tr><tr><!--
-->{{#if:{{{group50|}}}|<td class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group50style|}}}"><!--
-->{{{group50}}}</td><td style="text-align:left;border-left:2px solid #fdfdfd;|<td colspan=2 style="}}<!--
-->width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list50style|}}}" <!--
-->class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}"><!--
--><div style="padding:{{{listpadding|0em 0.25em}}}">{{{list50}}}</div></td></tr>}}<!--
 
 
---Below---
-->{{#if:{{{below|}}}|<!--
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<tr style="height:2px;"><td></td></tr>}}<!--
--><tr><td class="navbox-abovebelow" style="{{{basestyle|}}};{{{belowstyle|}}}" <!--
-->colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}">{{{below}}}</td></tr>}}<!--
 
 
--></table>{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=<div>|none=|#default=</td></tr></table>}}<!--
 
--></includeonly><noinclude>
{{Documentation}}
[[分类:导航模板]]
</noinclude>

2023年2月6日 (一) 17:33的最新版本

模板文档 [ 模板文档页面 ](※提醒:此模板有时隐藏或不可见)