Änderungen

127 Bytes hinzugefügt ,  31 Januar
keine Bearbeitungszusammenfassung
Zeile 11: Zeile 11:  
function p.NewBox( frame, args )
 
function p.NewBox( frame, args )
 
t = '<table class="wikitable">'..
 
t = '<table class="wikitable">'..
'<th colspan="4">'..mw.title.getCurrentTitle().text..'</th>' ..
+
'<th colspan="4">'..mw.title.getCurrentTitle().text..'</th>'
'<tr>'..
+
 +
if not (args.Genre == '' or args.Genre == nil) then
 +
t=t..'<tr>'..
 
'<td>[[Attribut:Genre|Genre]]</td>' ..
 
'<td>[[Attribut:Genre|Genre]]</td>' ..
 
'<td colspan="3">' ..  
 
'<td colspan="3">' ..  
 
frame:callParserFunction(
 
frame:callParserFunction(
 
'#arraymap', args.Genre, ';', 'x', '[[:Kategorie:x|x]]') .. '</td>' ..
 
'#arraymap', args.Genre, ';', 'x', '[[:Kategorie:x|x]]') .. '</td>' ..
'</tr>'..
+
'</tr>'
'<tr>'..
+
end
 +
if not (args.Urheber == '' or args.Urheber == nil) then
 +
t=t..'<tr>'..
 
'<td>[[Attribut:Urheber|Urheber]]</td>' ..
 
'<td>[[Attribut:Urheber|Urheber]]</td>' ..
 
'<td colspan="3">' .. args.Urheber ..'</td>'..
 
'<td colspan="3">' .. args.Urheber ..'</td>'..
Zeile 25: Zeile 29:  
    '<td colspan="3">'..args.Quellangaben..'</td>'..
 
    '<td colspan="3">'..args.Quellangaben..'</td>'..
 
'</tr>'
 
'</tr>'
 +
end
 
if not (args.Ort == '' or args.Ort == nil) then
 
if not (args.Ort == '' or args.Ort == nil) then
 
t = t .. '<tr>'..
 
t = t .. '<tr>'..