15.075
Bearbeitungen
(+ Person(en)) |
(Auszeichnungsspalten vorläufig deaktiviert) |
||
| (6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 84: | Zeile 84: | ||
t = t .. "<br>'''".. n_basis_ort_geschlecht .. " " | t = t .. "<br>'''".. n_basis_ort_geschlecht .. " " | ||
if attr["Aufschlüsselung"] == "Personen" then | if attr["Aufschlüsselung"] == "Personen" then | ||
t = t .. " | t = t .. "Person(en) mit " | ||
end | end | ||
t = t .. " | t = t .. "Auszeichnung(en) gefunden" | ||
if attr["Geschlecht"] == nil then | if attr["Geschlecht"] == nil then | ||
local n_basis_ort_weiblich = mw.smw.ask(page_selector_basis .. page_selector_ort .. page_selector_weiblich .. "| format=count | limit=10000") | local n_basis_ort_weiblich = mw.smw.ask(page_selector_basis .. page_selector_ort .. page_selector_weiblich .. "| format=count | limit=10000") | ||
| Zeile 95: | Zeile 95: | ||
local p_basis_ort_maennlich = math.floor(n_basis_ort_maennlich / n_basis_ort_geschlecht * 100 + 0.5) | local p_basis_ort_maennlich = math.floor(n_basis_ort_maennlich / n_basis_ort_geschlecht * 100 + 0.5) | ||
local p_basis_ort_divers = math.floor(n_basis_ort_divers / n_basis_ort_geschlecht * 100 + 0.5) | local p_basis_ort_divers = math.floor(n_basis_ort_divers / n_basis_ort_geschlecht * 100 + 0.5) | ||
t = t .. "<br>→ davon " .. n_basis_ort_weiblich .. " (" .. p_basis_ort_weiblich.. " %) Frauen" | local p_basis_ort_unbekannt = math.floor(n_basis_ort_unbekannt / n_basis_ort_geschlecht * 100 + 0.5) | ||
t = t .. ", " .. n_basis_ort_maennlich .. " (" .. p_basis_ort_maennlich.. " %) Männer" | t = t .. "<br>→ davon " .. n_basis_ort_weiblich .. " (≈ " .. p_basis_ort_weiblich.. " %) Frauen" | ||
t = t .. " und " .. n_basis_ort_divers .. " (" .. p_basis_ort_divers.. " %) | t = t .. ", " .. n_basis_ort_maennlich .. " (≈ " .. p_basis_ort_maennlich.. " %) Männer" | ||
if n_basis_ort_unbekannt | t = t .. " und " .. n_basis_ort_divers .. " (≈ " .. p_basis_ort_divers.. " %) Diverse" | ||
t = t .. " ''' | if n_basis_ort_unbekannt > 0 then | ||
t = t .. ", '''bei " .. n_basis_ort_unbekannt .. " (≈ " .. p_basis_ort_unbekannt.. " %) Person(en) nicht bekannt'''" | |||
end | end | ||
end | end | ||
| Zeile 110: | Zeile 109: | ||
local p_basis_fuerth_geschlecht = math.floor(n_basis_fuerth_geschlecht / n_basis_ort_geschlecht * 100 + 0.5) | local p_basis_fuerth_geschlecht = math.floor(n_basis_fuerth_geschlecht / n_basis_ort_geschlecht * 100 + 0.5) | ||
local p_basis_ausserhalb_geschlecht = math.floor(n_basis_ausserhalb_geschlecht / n_basis_ort_geschlecht * 100 + 0.5) | local p_basis_ausserhalb_geschlecht = math.floor(n_basis_ausserhalb_geschlecht / n_basis_ort_geschlecht * 100 + 0.5) | ||
t = t .. "<br>→ davon " .. n_basis_fuerth_geschlecht .. " (" .. p_basis_fuerth_geschlecht.. " %) gebürtige Fürther" | local p_basis_unbekannt_geschlecht = math.floor(n_basis_unbekannt_geschlecht / n_basis_ort_geschlecht * 100 + 0.5) | ||
t = t .. " und " .. n_basis_ausserhalb_geschlecht .. " (" .. p_basis_ausserhalb_geschlecht.. " %) außerhalb Fürths geboren" | t = t .. "<br>→ davon " .. n_basis_fuerth_geschlecht .. " (≈ " .. p_basis_fuerth_geschlecht.. " %) gebürtige Fürther" | ||
if n_basis_unbekannt_geschlecht | t = t .. " und " .. n_basis_ausserhalb_geschlecht .. " (≈ " .. p_basis_ausserhalb_geschlecht.. " %) außerhalb Fürths geboren" | ||
t = t .. " ''' | if n_basis_unbekannt_geschlecht > 0 then | ||
t = t .. ", '''bei " .. n_basis_unbekannt_geschlecht .. " (≈ " .. p_basis_unbekannt_geschlecht.. " %) Person(en) nicht bekannt'''" | |||
end | end | ||
end | end | ||
| Zeile 125: | Zeile 123: | ||
t = t .. "|mainlabel=-" | t = t .. "|mainlabel=-" | ||
t = t .. "|?-has subobject.Seite=Person" | t = t .. "|?-has subobject.Seite=Person" | ||
-- t = t .. "|?-has subobject.Geburtsdatum" | |||
-- t = t .. "|?-has subobject.Geburtsort" | |||
-- t = t .. "|?-has subobject.Geschlecht" | |||
-- t = t .. "|?-has subobject.Beruf" | |||
t = t .. "|?Auszeichnung" | t = t .. "|?Auszeichnung" | ||
t = t .. "|?VerleihungAm=Verleihung" | t = t .. "|?VerleihungAm=Verleihung" | ||