22.182
Bearbeitungen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 73: | Zeile 73: | ||
info = args.frame:callParserFunction("#info", info, "note") | info = args.frame:callParserFunction("#info", info, "note") | ||
end | end | ||
local | local field = | ||
"{{{field|" .. a .. "|" .. p.form_attr[a].field_args .. "}}}" | |||
if args.format == "vertical" then | if args.format == "vertical" then | ||
t = t .. | t = t .. | ||
| Zeile 79: | Zeile 80: | ||
" <th>" .. attr_text .. ":</th>\n" .. | " <th>" .. attr_text .. ":</th>\n" .. | ||
" <td>" .. info .. "</td>\n" .. | " <td>" .. info .. "</td>\n" .. | ||
" <td> | " <td>" .. field .. "</td>\n" .. | ||
"</tr>\n" | "</tr>\n" | ||
elseif args.format == "horizontal" then | elseif args.format == "horizontal" then | ||
l1 = l1 .. " <th>" .. attr_text .. info .. ":</th>\n" | l1 = l1 .. " <th>" .. attr_text .. info .. ":</th>\n" | ||
l2 = l2 .. " <td> | l2 = l2 .. " <td>" .. field .. "</td>\n" | ||
end | end | ||
end | end | ||