82.367
Bearbeitungen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 3: | Zeile 3: | ||
function p.Faktenbox( frame ) | function p.Faktenbox( frame ) | ||
pf = frame:getParent() | local pf = frame:getParent() | ||
args = pf.args | local args = pf.args | ||
t = p.Daten( frame, args ) | local t = p.Daten( frame, args ) | ||
-- Use preprocess to render the factbox and all contens at once | -- Use preprocess to render the factbox and all contens at once | ||
| Zeile 12: | Zeile 12: | ||
function p.Daten(frame, args) | function p.Daten(frame, args) | ||
title = mw.title.getCurrentTitle().text | local title = mw.title.getCurrentTitle().text | ||
t = '<table class="wikitable">'.. | local t = '<table class="wikitable">'.. | ||
'<th>[[FürthWiki:Semantik]]</th>'.. | '<th>[[FürthWiki:Semantik]]</th>'.. | ||
'<th colspan="3">'..'[[KlassenName::'..title..']]</th>' | '<th colspan="3">'..'[[KlassenName::'..title..']]</th>' | ||
| Zeile 21: | Zeile 21: | ||
if not isEmpty(args.KlassenBild) then | if not isEmpty(args.KlassenBild) then | ||
t=t..'<td colspan="3">[[KlassenBild::Datei:'..args.KlassenBild..']]</td>' | t=t..'<td colspan="3">[[KlassenBild::Datei:'..args.KlassenBild..']]</td>' | ||
end | end | ||
t=t..'</tr><tr>'.. | t=t..'</tr><tr>'.. | ||
'<td>[[Attribut:KlassenVorlage|Vorlage]]</td>' | '<td>[[Attribut:KlassenVorlage|Vorlage]]</td>' | ||
t=t..'<td colspan="3">[[KlassenVorlage::Vorlage:'..title..']]</td>' | |||
t=t..'</tr><tr>'.. | t=t..'</tr><tr>'.. | ||
'<td>[[Attribut:KlassenModul|Modul]]</td>' | '<td>[[Attribut:KlassenModul|Modul]]</td>' | ||
t=t..'<td colspan="3">[[KlassenModul::Modul:'..title..']]</td>' | |||
t=t..'</tr><tr>'.. | t=t..'</tr><tr>'.. | ||
| Zeile 43: | Zeile 39: | ||
t=t..'</tr><tr>'.. | t=t..'</tr><tr>'.. | ||
'<td>[[Attribut:KlassenFormular|Formular]]</td>' | '<td>[[Attribut:KlassenFormular|Formular]]</td>' | ||
t=t..'<td colspan="3">[[KlassenFormular::Formular:'..title..']]</td>' | |||
t=t..'</tr><tr>'.. | t=t..'</tr><tr>'.. | ||