15.082
Bearbeitungen
(fix Shoah-Query) |
(opferShoah() Deportationsdatum#ISO-P) |
||
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 29: | Zeile 29: | ||
-- Personen-spezifische Kategorien usw. | -- Personen-spezifische Kategorien usw. | ||
if (fbdata.pargs["Geburtsort"] or "") == "Fürth" then | if (fbdata.pargs["Geburtsort"] or "") ~= "" then | ||
if fbdata.pargs["Geburtsort"] == "Fürth" or mw.smw.ask("[[" .. fbdata.pargs["Geburtsort"] .. "]][[KlassenName::Stadtteil]]|format=count") == 1 then | |||
box = box .. "[[Kategorie:Söhne und Töchter der Stadt Fürth]]{{#set:GeburtsortHeuteFürth=wahr}}" | |||
else | |||
box = box .. "{{#set:GeburtsortHeuteFürth=falsch}}" | |||
end | |||
end | end | ||
if (fbdata.pargs["Nachname"] or "") ~= "" then | if (fbdata.pargs["Nachname"] or "") ~= "" then | ||
| Zeile 44: | Zeile 48: | ||
-- Sonstige gemeinsame Dinge anfügen (Klasse, Formular, Kategorien, Wartung, ...) | -- Sonstige gemeinsame Dinge anfügen (Klasse, Formular, Kategorien, Wartung, ...) | ||
box = box .. fab.common(fbdata) | box = box .. fab.common(fbdata) | ||
mw.log("box = " .. box) | |||
-- Pre-Processing und String-Länge checken | -- Pre-Processing und String-Länge checken | ||
| Zeile 136: | Zeile 140: | ||
query = query .. "[[Vorname::" .. (fbdata.pargs["Vorname"] or "") .. "]]" | query = query .. "[[Vorname::" .. (fbdata.pargs["Vorname"] or "") .. "]]" | ||
query = query .. "[[Nachname::" .. (fbdata.pargs["Nachname"] or "") .. "]]" | query = query .. "[[Nachname::" .. (fbdata.pargs["Nachname"] or "") .. "]]" | ||
query = query .. "|?Deportationsdatum#- | query = query .. "|?Deportationsdatum#ISO-P" | ||
query = query .. "|?Deportationsort" | query = query .. "|?Deportationsort" | ||
query = query .. "|?Todesursache" | query = query .. "|?Todesursache" | ||