「モジュール:Infobox/former」の版間の差分
ナビゲーションに移動
検索に移動
細
1版 をインポートしました
ja>Waiesu |
ja>Ochaochaocha3 細 (1版 をインポートしました) |
||
101行目: | 101行目: | ||
if args.title then | if args.title then | ||
--captionタグ | --captionタグ | ||
result = result .. '<caption itemprop="name" class="' .. (args.titleclass or '') .. ' | result = result .. '<caption itemprop="name" class="' .. (args.titleclass or '') .. ' style="' .. (args.titlestyle or '') .. '">' .. args.title .. '</caption>' | ||
end | end | ||
if args.above then | if args.above then | ||
128行目: | 128行目: | ||
--本体部 | --本体部 | ||
for k, v in ipairs(sbody) do | for k, v in ipairs(sbody) do | ||
result = result .. row(v.header, v.headerstyle, v.label, v.labelstyle, v.data, v.datastyle, v.rowstyle, v.class, v.rowclass, v.id, v.itemprop, v.rowitemprop, v.itemtype, v.rowitemtype, v.itemref, v.rowitemref) | result = result .. row(v.header, v.headerstyle, v.label, v.labelstyle, v.data, v.datastyle, v.rowstyle, v.class, v.rowclass or args.rowclass, v.id, v.itemprop, v.rowitemprop, v.itemtype, v.rowitemtype, v.itemref, v.rowitemref) | ||
end | end | ||