33
次編輯
無編輯摘要 |
(添加了Last 的Tab 特殊判断) |
||
行 85: | 行 85: | ||
end | end | ||
end | end | ||
--Last判断 | |||
if id == 'last' | |||
then | |||
tab1, tab2, tab3, part1, part2, part3 = mw.html.create('div'), mw.html.create('div'), mw.html.create('div'), mw.html.create('div'), mw.html.create('div'), mw.html.create('div') | |||
tab1:wikitext('Normal') tab2:wikitext('Moment') tab3:wikitext('Eternity') | |||
tab1:addClass('img-tab-part ftr') tab2:addClass('img-tab-part byd') tab3:addClass('img-tab-part byd') | |||
tab:wikitext(tostring(tab1)) tab:wikitext(tostring(tab2)) tab:wikitext(tostring(tab3)) | |||
container:wikitext(tostring(tab)) | |||
part1:wikitext('[[文件:Songs last.jpg|256px|none]]'..labelText('画师')..normalJacket) part2:wikitext('[[文件:Songs last byd.jpg|256px|none]]'..labelText('画师')..normalJacket) part3:wikitext('[[文件:Songs last byd2.jpg|256px|none]]'..labelText('画师')..normalJacket) | |||
part1:addClass('active tab-text-'..mold) part2:addClass('tab-text-'..mold) part3:addClass('tab-text-'..mold) | |||
container:wikitext(tostring(part1)) container:wikitext(tostring(part2)) container:wikitext(tostring(part3)) | |||
return tostring(container) | |||
end | |||
if pst and prs and ftr | if pst and prs and ftr | ||
then | then |
次編輯