1,677
回編集
Karanemi666 (トーク | 投稿記録) 編集の要約なし タグ: 差し戻し済み |
Karanemi666 (トーク | 投稿記録) 編集の要約なし タグ: 差し戻し済み |
||
98行目: | 98行目: | ||
if not child then | if not child then | ||
--tableタグ | --tableタグ | ||
result = '<table class="' .. (subbox and '' or 'infobox ') .. (args.bodyclass or '') .. '" style="' .. (subbox and 'min-width:100%; width:calc(100% + 6px); margin:-3px; ' or 'width: | result = '<table class="' .. (subbox and '' or 'infobox ') .. (args.bodyclass or '') .. '" style="' .. (subbox and 'min-width:100%; width:calc(100% + 6px); margin:-3px; ' or 'width:20%; ') .. (args.bodystyle or '') .. '"' .. (args.bodyitemtype and (' itemscope itemtype="' .. args.bodyitemtype .. '"') or '') .. ' itemref="' .. (args.bodyitemref or '') .. '">' | ||
if args.title then | if args.title then | ||
--captionタグ | --captionタグ | ||
142行目: | 142行目: | ||
link = 'Template:' .. link | link = 'Template:' .. link | ||
end | end | ||
result = result .. '<tr class="noprint"><td colspan=2 style="text-align:right; ">[[' .. link .. '|テンプレートを表示]]</td></tr>' | result = result .. '<tr class="noprint"><td colspan=2 style="text-align:right; font-size:85%;">[[' .. link .. '|テンプレートを表示]]</td></tr>' | ||
end | end | ||