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>' |
| + | |
| + | if not isEmpty(args.Genre) then |
| + | t=t..'<tr>'.. |
| + | '<td>[[Attribut:Genre|Genre]]</td>' .. |
| + | '<td colspan="3">' .. |
| + | frame:callParserFunction( |
| + | '#arraymap', args.Genre, ';', 'x', '[[:Kategorie:x|x]]') .. '</td>' .. |
| + | '</tr>' |
| + | end |
| | | |
| -- Liste Freiattribute und Werte auf | | -- Liste Freiattribute und Werte auf |
Zeile 27: |
Zeile 36: |
| end | | end |
| | | |
− | if not isEmpty(args.Genre) then
| |
− | t=t..'<tr>'..
| |
− | '<td>[[Attribut:Genre|Genre]]</td>' ..
| |
− | '<td colspan="3">' ..
| |
− | frame:callParserFunction(
| |
− | '#arraymap', args.Genre, ';', 'x', '[[:Kategorie:x|x]]') .. '</td>' ..
| |
− | '</tr>'
| |
− | end
| |
| if not isEmpty(args.Urheber) then | | if not isEmpty(args.Urheber) then |
| t=t..'<tr>'.. | | t=t..'<tr>'.. |
Zeile 41: |
Zeile 42: |
| '</tr>' | | '</tr>' |
| end | | end |
| + | |
| if not isEmpty(args.Quellangaben) then | | if not isEmpty(args.Quellangaben) then |
| t=t..'<tr>'.. | | t=t..'<tr>'.. |
Zeile 47: |
Zeile 49: |
| '</tr>' | | '</tr>' |
| end | | end |
| + | |
| if not isEmpty(args.Ort) then | | if not isEmpty(args.Ort) then |
| t = t .. '<tr>'.. | | t = t .. '<tr>'.. |
Zeile 59: |
Zeile 62: |
| t=t..z..'</tr>' | | t=t..z..'</tr>' |
| end | | end |
| + | |
| if not isEmpty(args.Strasse) then | | if not isEmpty(args.Strasse) then |
| t=t..'<tr>'.. | | t=t..'<tr>'.. |