卡厄思梦境WIKI
菜单
图鉴
战斗员
伙伴
卡牌
装备
事件
怪物
命运
物品
服饰
贴纸
赛季力量
S2:装备重铸
S3:刻印
出击
卡牌
装备
事件
怪物
命运
搜索
链入页面
相关更改
特殊页面
页面信息
Cargo数据
最近更改
帮助
登录
模块
查看“︁Path”︁的源代码
←
模块:Path
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
local p = {} function p.main(frame) local args = frame:getParent().args local currentPage = mw.title.getCurrentTitle().text local root = mw.html.create('div') :addClass('path-breadcrumb') root:node( mw.html.create('span') :addClass('path-breadcrumb__item') :wikitext('[[首页]]') ) for _, v in ipairs(args) do v = mw.text.trim(v) if v ~= '' then root:node( mw.html.create('span') :addClass('path-breadcrumb__separator') :wikitext('/') ) root:node( mw.html.create('span') :addClass('path-breadcrumb__item') :wikitext('[[' .. v .. ']]') ) end end root:node( mw.html.create('span') :addClass('path-breadcrumb__separator') :wikitext('/') ) root:node( mw.html.create('span') :addClass('path-breadcrumb__item path-breadcrumb__item--current') :wikitext(currentPage) ) return tostring(root) end return p
该页面使用的模板:
模块:Path/doc
(
查看源代码
)
返回
模块:Path
。