切換搜尋
搜尋
切換選單
5
23
卡特霍普
導覽
首頁
近期變更
隨機頁面
MediaWiki說明
特殊頁面
上傳檔案
切換偏好設定選單
通知
切換個人選單
尚未登入
若您做出任何編輯,會公開您的 IP 位址。
user-interface-preferences
個人工具
登入
檢視 模組:Infobox 的原始碼
出自卡特霍普
視圖
閱讀
檢視原始碼
檢視歷史
associated-pages
模組
討論
更多操作
←
模組:Infobox
由於以下原因,您無權編輯此頁面:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
local capiunto = require 'capiunto' local p = {} function p.main(frame) local args = frame:getParent().args local retval = capiunto.create( { title = args.title, top = args.top, bottom = args.bottom, } ) if args.subtitle and args.subtitle ~= '' then retval:addSubHeader( args.subtitle ) end if args.image1 and args.image1 ~= '' then retval:addImage( args.image1, args.caption1 ) end if args.image2 and args.image2 ~= '' then retval:addImage( args.image2, args.caption2 ) end if args.header1 and args.header1 ~= '' then retval:addHeader( args.header1 ) end if args.data1 and args.data1 ~= '' then retval:addRow( args.label1, args.data1 ) end if args.header2 and args.header2 ~= '' then retval:addHeader( args.header2 ) end if args.data2 and args.data2 ~= '' then retval:addRow( args.label2, args.data2 ) end if args.header3 and args.header3 ~= '' then retval:addHeader( args.header3 ) end if args.data3 and args.data3 ~= '' then retval:addRow( args.label3, args.data3 ) end if args.header4 and args.header4 ~= '' then retval:addHeader( args.header4 ) end if args.data4 and args.data4 ~= '' then retval:addRow( args.label4, args.data4 ) end if args.header5 and args.header5 ~= '' then retval:addHeader( args.header5 ) end if args.data5 and args.data5 ~= '' then retval:addRow( args.label5, args.data5 ) end if args.header6 and args.header6 ~= '' then retval:addHeader( args.header6 ) end if args.data6 and args.data6 ~= '' then retval:addRow( args.label6, args.data6 ) end if args.header7 and args.header7 ~= '' then retval:addHeader( args.header7 ) end if args.data7 and args.data7 ~= '' then retval:addRow( args.label7, args.data7 ) end if args.header8 and args.header8 ~= '' then retval:addHeader( args.header8 ) end if args.data8 and args.data8 ~= '' then retval:addRow( args.label8, args.data8 ) end if args.header9 and args.header9 ~= '' then retval:addHeader( args.header9 ) end if args.data9 and args.data9 ~= '' then retval:addRow( args.label9, args.data9 ) end if args.header10 and args.header10 ~= '' then retval:addHeader( args.header10 ) end if args.data10 and args.data10 ~= '' then retval:addRow( args.label10, args.data10 ) end return retval end return p
此頁面使用了以下模板:
模組:Infobox/doc
(
檢視原始碼
)
返回到「
模組:Infobox
」。