Änderungen

153 Bytes hinzugefügt ,  3 Februar
keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:  
pf = frame:getParent()
 
pf = frame:getParent()
 
args = pf.args
 
args = pf.args
t1 = p.Daten( frame, args )  
+
t1 = p.Daten( frame, args )
 
t2 = p.NewBox( frame, args )
 
t2 = p.NewBox( frame, args )
 
return frame:preprocess(t1..'<br/>\n'..t2)
 
return frame:preprocess(t1..'<br/>\n'..t2)
Zeile 13: Zeile 13:  
t = '<table class="wikitable">'..
 
t = '<table class="wikitable">'..
 
'<th colspan="4">'..mw.title.getCurrentTitle().text..'</th>'
 
'<th colspan="4">'..mw.title.getCurrentTitle().text..'</th>'
 +
 +
-- Liste Freiattribute und Werte auf
 
for i=1,6 do
 
for i=1,6 do
 
a='Attribut'..i
 
a='Attribut'..i
 
w='Wert'..i
 
w='Wert'..i
 
if not isEmpty(args[a]) then
 
if not isEmpty(args[a]) then
t=t..'<tr><td>'..args[a]..'</td>'..
+
t=t..'<tr>'..
'<td colspan="3">'..args[w]..'</td></tr>'
+
'<td>[[Attribut:'..args[a]..'|'..args[a]..']]</td>'..
 +
'<td colspan="3">[['..frame:callParserFunction(
 +
'#arraymap', args[w], ';', 'x', '[[x]]')..']]</td>'..
 +
'</tr>'
 
end
 
end
 
end
 
end
 +
 
if not isEmpty(args.Genre) then
 
if not isEmpty(args.Genre) then
 
t=t..'<tr>'..
 
t=t..'<tr>'..