Mòdul:Preinfobox person/prova
Aparença
Documentació del mòdul [ mostra ] [ modifica el codi ] [ mostra l'historial ] [ refresca ]
A continuació es mostra la documentació transclosa de la subpàgina /ús. [salta a la caixa de codi]
{{#invoke:Preinfobox person/prova|infobox |item=Q1001 |parametrefals= 1234 |nom=El bapu |religio=hindú, respectant }}
{{#invoke:Preinfobox person/prova|infobox |item=Q1001 |nome=El bapu |relixión=hindú, respectant |lang=gl }}
{{#invoke:Preinfobox person/prova|infobox |item=Q1001 |nome=El bapu |relixión=hindú, respectant |lang=ar }}
--[[
For translation of this module, you must customize:
Module:Global infobox tools/i18n
Module:Infobox medical intervention/i18n
Module:Medical infotable items/i18n
--]]
local p = {}
local SA = require "Module:SimpleArgs"
local SD = require "Module:SimpleDebug"
local WD = require "Module:Wikidades"
local MLMT = require "Module:Multilang module tools/prova"
local GIBT = require "Module:Global infobox tools/prova"
local GIBTi = require "Module:Global infobox tools/prova/items"
local PiPi = require "Module:Preinfobox person/prova/items"
local GIBTi18n
local PiPi18n
local ModuleName = 'Preinfobox person/prova'
local rs = { --reserved keys and their modified values for infobox configuration
--for default stored values of the other options look at list with allitems=list
}
local rss = { --reserved keys and their values for this infobox (specific)
[PiPi.krs.rs_icon_at_position] = true,
}
local cat = { --tracking categories
[GIBTi.rk.rs_cat_arg_error] = "_Q56486184", -- specific category: "_Q89868158",
[GIBTi.rk.rs_cat_no_image] = "_Q8097070",
}
local default = 'default'
local DCC = GIBT.rs[GIBTi.rk.rs_def_charnum_cllps]
local items = { --parameter and label used
[MLMT.k.Args] = { --parameter key, its name/s (as parameter) and optional Wikidata qualifiers/properties
-- 1. TOP HEADER SECTION -->
[GIBTi.rk.name] = {"name", "",},
[PiPi.k.honorific_prefix] = {"honorific_prefix", "_P511",},
[PiPi.k.honorific_suffix] = {"honorific_suffix", "_P1035",},
-- 2. SPECIAL NAMES SECTION -->
[PiPi.k.native_label] = {"native_label", "_P1705",},
[PiPi.k.temple_name] = {"temple_name", "_P1785",},
[PiPi.k.posthumous_name] = {"posthumous_name", "_P1786",},
[PiPi.k.other_name] = {"other_name", "_P2561",},
-- 3. BIOGRAPHY SECTION -->
[PiPi.k.group_humans] = {"group_humans", "_P527",},
[PiPi.k.date_birth] = {{"date_birth",
"birth_date"}, "_P569",},
[PiPi.k.place_birth] = {"place_birth", "_P19",},
[PiPi.k.birth_name] = {"birth_name", "_P1477",},
[PiPi.k.list_birth] = {"list_birth", "",},
[PiPi.k.baptism] = {{"baptism","baptised"}, "_P1636",},
[PiPi.k.floruit] = {"floruit", "_P1317",},
[PiPi.k.disappearance] = {{"disappearance",
"disappeared_date"}, "_P746",},
[PiPi.k.date_death] = {{"date_death",
"death_date"}, "_P570",},
[PiPi.k.place_death] = {"place_death", "_P20",},
[PiPi.k.manner_death] = {"manner_death", "_P1196",},
[PiPi.k.cause_death] = {{"cause_death",
"death_cause"}, "_P509",},
[PiPi.k.place_burial] = {{"place_burial",
"burial_place"}, "_P119",},
[PiPi.k.coordinates_burial] = {{"coordinates_burial",
"burial_coordinates"}, "_P119-P625",},
-- 4. POSITION SECTION -->
[PiPi.k.position_held] = {"position_held", "_P39",},
-- 4.1 PHARAON BLOCK -->
[PiPi.k.prenomen] = {{"Prenomen","prenomen"}, "",},
[PiPi.k.prenomen_hiero] = {{"Prenomen_hiero",
"prenomen_hiero"}, "",},
[PiPi.k.prenomen2] = {{"Prenomen2",
"prenomen2"}, "",},
[PiPi.k.prenomen_hiero2] = {{"Prenomen_hiero2",
"prenomen_hiero2"}, "",},
[PiPi.k.nomen] = {{"Nomen","nomen"}, "",},
[PiPi.k.nomen_hiero] = {{"Nomen_hiero",
"nomen_hiero"}, "",},
[PiPi.k.nomen2] = {{"Nomen2","nomen2"}, "",},
[PiPi.k.nomen_hiero2] = {{"Nomen_hiero2",
"nomen_hiero2"}, "",},
[PiPi.k.horus] = {{"Horus","horus"}, "",},
[PiPi.k.horus_hiero] = {{"Horus_hiero",
"horus_hiero"}, "",},
[PiPi.k.horus_prefix] = {{"Horus_prefix",
"horus_prefix"}, "",},
[PiPi.k.horus2] = {{"Horus2","horus2"}, "",},
[PiPi.k.horus_hiero2] = {{"Horus_hiero2",
"horus_hiero2"}, "",},
[PiPi.k.nebty] = {{"Nebty","nebty"}, "",},
[PiPi.k.nebty_hiero] = {{"Nebty_hiero",
"nebty_hiero"}, "",},
[PiPi.k.golden] = {{"Golden","golden"}, "",},
[PiPi.k.golden_hiero] = {{"Golden_hiero",
"golden_hiero"}, "",},
-- 5. PERSONAL DATA SECTION -->
[PiPi.k.pseudonym] = {"pseudonym", "_P742",},
[PiPi.k.residence] = {"residence", "_P551",},
[PiPi.k.nationality] = {"nationality", "",},
[PiPi.k.citizenship] = {"citizenship", "_P27",},
[PiPi.k.ethnic_group] = {"ethnic_group", "_P172",},
[PiPi.k.political_ideology] = {"political_ideology", "_P1142",},
[PiPi.k.religion] = {"religion", "_P140",},
[PiPi.k.education] = {"education", "",},
[PiPi.k.educated_at] = {{"educated_at",
"alma_mater"}, "_P69",},
[PiPi.k.know_by] = {"know_by", "",},
-- 5.1. BIOMETRIC DATA -->
[PiPi.k.height] = {"height", "_P2048",},
[PiPi.k.height_unit] = {"height_unit", default,},
[PiPi.k.weight] = {"weight", "_P2067",},
[PiPi.k.weight_unit] = {"weight_unit", default,},
[PiPi.k.handedness] = {"handedness", "_P552",},
[PiPi.k.eye_color] = {"eye_color", "_P1340",},
[PiPi.k.hair_color] = {"hair_color", "_P1884",},
-- 6. ACTIVITY SECTION -->
[PiPi.k.doctoral_thesis] = {"doctoral_thesis", "_P1026",},
[PiPi.k.thesis_url] = {"thesis_url", "_P1026-P2699",},
[PiPi.k.thesis_year] = {"thesis_year", "_P1026-P585",},
[PiPi.k.doctoral_advisor] = {"doctoral_advisor", "_P184",},
[PiPi.k.field_work] = {"field_work", "_P101",},
[PiPi.k.occupation] = {"occupation", "_P106",},
[PiPi.k.time_period] = {{"time_period",
"years_active"}, "_P2348",},
[PiPi.k.work_period] = {"work_period", "_P2031",},
[PiPi.k.work_period_start] = {"work_period_start", "",},
[PiPi.k.work_period_end] = {"work_period_end", "",},
[PiPi.k.floruit] = {"floruit", "_P1317",},
[PiPi.k.employer] = {"employer", "_P108",},
[PiPi.k.political_party] = {"political_party", "_P102",},
[PiPi.k.member_of] = {"member_of", ""},
[PiPi.k.cllps_member_of] = {"cllps_member_of", DCC,},
-- 6.1. STYLE & INFLUENCES BLOCK -->
[PiPi.k.interested_in] = {"interested_in", "_P2650",},
[PiPi.k.idea] = {"idea", "",},
[PiPi.k.art] = {"art", "",},
[PiPi.k.genre] = {"genre", "_P136",},
[PiPi.k.movement] = {"movement", "_P135",},
[PiPi.k.style] = {"style", "",},
[PiPi.k.student_of] = {"student_of", "_P1066",},
[PiPi.k.student] = {"student", "_P802",},
[PiPi.k.influenced_by] = {"influenced_by", "_P737",},
[PiPi.k.cllps_influenced_by] = {"collapse_influenced_by", DCC,},
[PiPi.k.influences_on] = {"influences_on", "",},
-- 6.2. WRITER & JOURNALIST BLOCK -->
[PiPi.k.languages] = {"languages", "_P1412",},
[PiPi.k.represented_by] = {"represented_by", "_P1875",},
[PiPi.k.editor] = {"editor", "",},
[PiPi.k.base_salary] = {"base_salary", "_P3618",},
[PiPi.k.net_worth] = {"net_worth", "_P2218",},
[PiPi.k.other_positions] = {"other_positions", "",},
-- 6.3. MUSICIEN BLOCK -->
[PiPi.k.voice_type] = {"voice_type", "_P412",},
[PiPi.k.instrument] = {"instrument", "_P1303",},
[PiPi.k.featured_instruments] = {"featured_instruments", "",},
[PiPi.k.record_label] = {"record_label", "_P264",},
[PiPi.k.catalog] = {"catalog", "",},
[PiPi.k.orchestra] = {"orchestra", "",},
[PiPi.k.related_artists] = {"related_artists", "",},
[PiPi.k.musical_conductor] = {"musical_conductor", "_P3300",},
[PiPi.k.deputy_music_director] = {"deputy_music_director", "",},
-- 6.4. MILITARY AND ASTRONAUT BLOCK -->
[PiPi.k.allegiance] = {"allegiance", "_P945",},
[PiPi.k.military_period] = {"military_period", "",},
[PiPi.k.military_branch] = {"military_branch", "_P241",},
[PiPi.k.military_rank] = {"military_rank", "_P410",},
[PiPi.k.military_unit] = {"military_unit", "",},
[PiPi.k.commander_of] = {"commander_of", "_P598",},
[PiPi.k.conflict] = {"conflict", "_P607",},
[PiPi.k.victory] = {"victory", "",},
[PiPi.k.time_in_space] = {"time_in_space", "_P2873",},
[PiPi.k.extra_vehicular] = {"extra_vehicular", "_P793-01",},
[PiPi.k.astronaut_mission] = {"astronaut_mission", "_P450",},
[PiPi.k.mission_logo] = {"mission_logo", "_P450-P154",},
-- 6.5. RELIGIOUS BLOCK -->
[PiPi.k.religious_order] = {"religious_order", "_P611",},
[PiPi.k.date_ordination] = {"date_ordination", "_P611-P585",},
[PiPi.k.consecration] = {"consecration", "_P1598",},
[PiPi.k.created_cardinal] = {"created_cardinal", "",},
[PiPi.k.canonization_status] = {"canonization_status", "_P411",},
[PiPi.k.veneration] = {"veneration", "_P1049",},
[PiPi.k.date_beatification] = {"date_beatification", "",},
[PiPi.k.place_beatification] = {"place_beatification", "",},
[PiPi.k.beatification_by] = {"beatification_by", "",},
[PiPi.k.date_canonization] = {"date_canonization", "",},
[PiPi.k.place_canonization] = {"place_canonization", "",},
[PiPi.k.canonization_by] = {"canonization_by", "",},
[PiPi.k.place_devotion] = {"place_devotion", "_P5873",},
[PiPi.k.feast_day] = {"feast_day", "_P841",},
[PiPi.k.significant_event] = {"significant_event", "_P793",},
[PiPi.k.iconography] = {"iconography", "_P4185",},
[PiPi.k.domain_saint] = {"domain_saint", "_P4185",},
-- 6.6. SPORTS BLOCK -->
[PiPi.k.country_sport] = {"country_sport", "_P1532",},
[PiPi.k.sport] = {"sport", "_P641",},
[PiPi.k.sports_discipline] = {"sports_discipline", "_P2416",},
[PiPi.k.competition_class] = {"competition_class", "_P2094",},
[PiPi.k.league] = {"league", "_P118",},
[PiPi.k.position_team] = {"position_team", "_P413",},
[PiPi.k.playing_hand] = {"playing_hand", "_P741",},
[PiPi.k.current_club] = {"current_club", "",},
[PiPi.k.sport_number] = {"sport_number", "_P1618",},
[PiPi.k.date_debut] = {"date_debut", "",},
[PiPi.k.place_debut] = {"place_debut", "",},
[PiPi.k.date_service_retirement]= {"date_service_retirement", "",},
[PiPi.k.place_service_retirement]= {"place_service_retirement", "",},
[PiPi.k.co_driver] = {"co-driver", "_P2095",},
[PiPi.k.coach] = {"coach", "_P286",},
[PiPi.k.drafted_by] = {"drafted_by", "_P647",},
[PiPi.k.draft_pick_number] = {"draft_pick_number", "_P1836",},
[PiPi.k.draft_year] = {"draft_year", "_P647-P585",},
[PiPi.k.kit_supplier] = {"kit_supplier", "_P5995",},
[PiPi.k.sponsor] = {"sponsor", "_P859",},
-- 6.6.0 Initial block -->
[PiPi.k.block_sport_param] = {"block_sport_param", "",},
-- 6.6.1 Chess block -->
[PiPi.k.title_chess] = {"title_chess", "_P2962",},
[PiPi.k.elo_rating] = {"elo_rating", "_P1087",},
[PiPi.k.personal_record] = {"personal_record", "_P2415",},
-- 6.6.2 Tennis block -->
[PiPi.k.hof] = {"hof", "_P3363",},
[PiPi.k.atp] = {"atp", "_P536",},
[PiPi.k.wta] = {"wta", "_P597",},
-- 6.6.3 Sports race -->
[PiPi.k.sports_team] = {"sports_team", "_P54",},
-- 6.6.4 Unclassified block -->
[PiPi.k.hd_participant_of] = {{"participant_of",
"exten_particip_events",}, "_P1344",},
[PiPi.k.cllps_participant_of] = {"collapse_participant_of", DCC,},
-- 6.7. WORK BLOCK -->
[PiPi.k.hd_works] = {"works", "",},
[PiPi.k.early_works] = {"early_works", "",},
[PiPi.k.broadcasting_program] = {"broadcasting_program", "",},
-- 6.7.1. ACTOR BLOCK -->
[PiPi.k.series] = {"series", "",},
[PiPi.k.films] = {"films", "",},
[PiPi.k.cast] = {"cast", "",},
-- 6.7.2. CREATOR & ARTIST BLOCK -->
[PiPi.k.hd_notable_work] = {{"notable_work",
"notable_works",}, "_P800",},
[PiPi.k.cllps_notable_work] = {"collapse_notable_work", DCC,},
-- 6.7.3. ARCHITECT BLOCK -->
[PiPi.k.project] = {"project", "",},
-- 6.7.4. SCIENTIFIC BLOCK -->
[PiPi.k.doctoral_student] = {"doctoral_student", "_P185",},
[PiPi.k.botanist_author_abbrev] = {"botanist_author_abbrev", "_P428",},
[PiPi.k.zoologist_author_abbrev]= {"zoologist_author_abbrev", "_P835",},
[PiPi.k.archives_at] = {"archives_at", "_P485",},
[PiPi.k.hd_repertoire] = {"repertoire", "",},
[PiPi.k.hd_trajectory] = {"trajectory", "",},
-- 7. FAMILY/OTHER SECTION -->
-- 7.1 FAMILY BLOCK -->
[PiPi.k.noble_title] = {"noble_title", "_P97",},
[PiPi.k.family] = {"family", "_P53",},
[PiPi.k.spouse] = {"spouse", "_P26",},
[PiPi.k.partner] = {"partner", "_P451",},
[PiPi.k.child] = {{"child","children"}, "_P40",},
[PiPi.k.progenitors] = {"progenitors", "",},
[PiPi.k.father] = {"father", "_P22",},
[PiPi.k.mother] = {"mother", "_P25",},
[PiPi.k.sibling] = {"sibling", "_P3373",},
[PiPi.k.relatives] = {"relatives", "_P1038",},
-- 7.2 OTHER BLOCK -->_
[PiPi.k.charge] = {"charge", "_P1595",},
[PiPi.k.convicted_of] = {"convicted_of", "_P1399",},
[PiPi.k.significant_event] = {"significant_event", "_P793",},
-- 8. AWARD SECTION -->
[PiPi.k.hd_award_received] = {"award_received", "_P166",},
[PiPi.k.cllps_award_received] = {"collapse_award_received", DCC,},
[PiPi.k.memorials] = {"memorials", "_P1299",},
-- 9. NOTABLE WORK SECTION (ARTISTS AND ARCHITECTS) -->
[PiPi.k.image_work] = {"image_work", "",},
[PiPi.k.foot_image_work] = {"foot_image_work", "",},
-- 10. BOTTOM SECTION -->
[PiPi.k.signature] = {"signature", "_P109",},
[PiPi.k.coat_arms_image] = {"coat_arms_image", "_P94",},
[PiPi.k.motto_text] = {"motto_text", "_P1451",},
[PiPi.k.voice_recording] = {"voice_recording", "_P990",},
[PiPi.k.official_website] = {"official_website", "",},
[PiPi.k.medal_table] = {"medal_table", "",},
[PiPi.k.notes] = {{"notes","footnotes",}, "",},
},
[MLMT.k.Labels] = { --label or header (hd_) key, and its value as Wikidata qualifier or property to read (or text)
-- 1. TOP HEADER SECTION -->
-- 2. SPECIAL NAMES SECTION -->
[PiPi.k.native_label] = "_Q45025080",
[PiPi.k.temple_name] = "_P1785",
[PiPi.k.posthumous_name] = "_P1786",
[PiPi.k.other_name] = "_Q82799",
-- 3. BIOGRAPHY SECTION -->
[PiPi.k.hd_biography] = "_Q36279",
[PiPi.k.hd_component] = "_Q1310239",
[PiPi.k.group_humans] = "_Q16887380",
[PiPi.k.birth] = "_Q14819852",
[PiPi.k.baptism] = "_Q35856",
[PiPi.k.floruit] = "_Q36424",
[PiPi.k.disappearance] = "_Q3030513",
[PiPi.k.death] = "_Q4",
[PiPi.k.cause_death] = "_Q1931388",
[PiPi.k.place_burial] = "_Q173387",
-- 4. POSITION SECTION -->
[PiPi.k.discontinuation_position]= "_Q62002577",
[PiPi.k.new_position] = "_Q79146715",
[PiPi.k.hd_personal_data] = "_Q3702971",
[PiPi.k.electoral_district] = "_P768",
[PiPi.k.elected_in] = "_P2715",
[PiPi.k.appointed] = "_P748",
[PiPi.k.together_with] = "_P1706",
[PiPi.k.diocese] = "_P708",
[PiPi.k.cabinet] = "_P5054",
-- 4.1 PHARAON BLOCK -->
[PiPi.k.a_epypt_royal_tit] = "_Q263595",
[PiPi.k.prenomen] = "_Q1413565",
[PiPi.k.nomen] = "_Q1303227",
[PiPi.k.horus] = "_Q153263",
[PiPi.k.nebty] = "_Q15523428",
[PiPi.k.golden] = "_Q1535966",
-- 5. PERSONAL DATA SECTION -->
[PiPi.k.pseudonym] = "_Q61002",
[PiPi.k.residence] = "_P551",
[PiPi.k.nationality] = "_Q231002",
[PiPi.k.citizenship] = "_Q42138",
[PiPi.k.ethnic_group] = "_P172",
[PiPi.k.political_ideology] = "_Q12909644",
[PiPi.k.religion] = "_Q9174",
[PiPi.k.education] = "_Q828812",
[PiPi.k.educated_at] = "_P69",
[PiPi.k.know_by] = "_Q89547790",
-- 5.1. BIOMETRIC DATA -->
[PiPi.k.height] = "_Q208826",
[PiPi.k.weight] = "_Q25288",
[PiPi.k.handedness] = "_Q2421902",
[PiPi.k.eye_color] = "_Q23786",
[PiPi.k.hair_color] = "_P1884",
-- 6. ACTIVITY SECTION -->
[PiPi.k.hd_activity] = "_Q1914636",
[PiPi.k.doctoral_thesis] = "_Q187685",
[PiPi.k.doctoral_advisor] = "_P184",
[PiPi.k.field_work] = "_Q627436",
[PiPi.k.occupation] = "_Q12737077",
[PiPi.k.time_period] = "_Q11514315",
[PiPi.k.work_period] = "_Q55579539",
[PiPi.k.floruit] = "_Q36424",
[PiPi.k.employer] = "_P108",
[PiPi.k.political_party] = "_Q7278",
[PiPi.k.member_of] = "_P463",
-- 6.1. STYLE & INFLUENCES BLOCK -->
[PiPi.k.interested_in] = "_P2650",
[PiPi.k.idea] = "_Q131841",
[PiPi.k.art] = "_Q735",
[PiPi.k.genre] = "_Q483394",
[PiPi.k.movement] = "_Q2198855",
[PiPi.k.style] = "_Q1292119",
[PiPi.k.student_of] = "_P1066",
[PiPi.k.student] = "_Q48282",
[PiPi.k.influenced_by] = "_P737",
[PiPi.k.influences_on] = "_Q55559565",
-- 6.2. WRITER & JOURNALIST BLOCK -->
[PiPi.k.languages] = "_Q2390977",
[PiPi.k.represented_by] = "_Q1344174",
[PiPi.k.editor] = "_Q1607826",
[PiPi.k.base_salary] = "_Q194489",
[PiPi.k.net_worth] = "_Q1933764",
[PiPi.k.other_positions] = "_Q55619396",
-- 6.3. MUSICIEN BLOCK -->
[PiPi.k.voice_type] = "_Q1063547",
[PiPi.k.instrument] = "_Q34379",
[PiPi.k.featured_instruments] = "_Q55568438",
[PiPi.k.record_label] = "_Q18127",
[PiPi.k.catalog] = "_Q2352616",
[PiPi.k.orchestra] = "_Q42998",
[PiPi.k.related_artists] = "_Q55567783",
[PiPi.k.musical_conductor] = "_P3300",
[PiPi.k.deputy_music_director] = "_Q55568330",
[PiPi.k.art_patron] = "_Q15472169",
-- 6.4. MILITARY AND ASTRONAUT BLOCK -->
[PiPi.k.hd_military] = "_Q20872118",
[PiPi.k.allegiance] = "_Q1132131",
[PiPi.k.military_period] = "_Q209572",
[PiPi.k.military_branch] = "_Q781132",
[PiPi.k.military_rank] = "_Q56019",
[PiPi.k.military_unit] = "_Q176799",
[PiPi.k.commander_of] = "_Q2008856",
[PiPi.k.conflict] = "_Q645883",
[PiPi.k.victory] = "_Q50000",
[PiPi.k.time_in_space] = "_P2873",
[PiPi.k.extra_vehicular] = "_Q182020",
[PiPi.k.astronaut_mission] = "_Q2133344",
[PiPi.k.mission_logo] = "_Q552345",
-- 6.5. RELIGIOUS BLOCK -->
[PiPi.k.religious_order] = "_Q2061186",
[PiPi.k.date_ordination] = "_Q41463697",
[PiPi.k.consecration] = "_Q125375",
[PiPi.k.created_cardinal] = "_Q41154026",
[PiPi.k.canonization_status] = "_P411",
[PiPi.k.veneration] = "_Q1579384",
[PiPi.k.date_beatification] = "_Q51620",
[PiPi.k.beatification_by] = "Beatification by",
[PiPi.k.date_canonization] = "_Q51621",
[PiPi.k.canonization_by] = "Canonization by",
[PiPi.k.place_devotion] = "_Q1644573",
[PiPi.k.feast_day] = "_P841",
[PiPi.k.significant_event] = "_Q130788",
[PiPi.k.cause_destruction] = "_P770",
[PiPi.k.has_cause] = "_P828",
[PiPi.k.iconography] = "_P4185",
[PiPi.k.domain_saint] = "_P2925",
-- 6.6. SPORTS BLOCK -->
[PiPi.k.country_sport] = "_Q3337001",
[PiPi.k.sport] = "_Q349",
[PiPi.k.sports_discipline] = "_Q2312410",
[PiPi.k.competition_class] = "_Q22936940",
[PiPi.k.league] = "_Q623109",
[PiPi.k.position_team] = "_Q1781513",
[PiPi.k.playing_hand] = "_P741",
[PiPi.k.current_club] = "_Q89189408",
[PiPi.k.sport_number] = "_Q599003",
[PiPi.k.date_debut] = "_Q1181693",
[PiPi.k.date_service_retirement] = "_Q29933838",
[PiPi.k.co_driver] = "_Q2465611",
[PiPi.k.coach] = "_Q41583",
[PiPi.k.drafted_by] = "_P647",
[PiPi.k.kit_supplier] = "_P5995",
[PiPi.k.sponsor] = "_P859",
-- 6.6.1 Chess block -->
[PiPi.k.title_chess] = "_Q5093327",
[PiPi.k.maximum] = "_Q10578722",
[PiPi.k.elo_rating] = "_P1087",
[PiPi.k.fide_id] = "_P1440",
-- 6.6.2 Tennis block -->
[PiPi.k.modality] = "_Q1516917",
[PiPi.k.personal_record] = "_Q21142177",
[PiPi.k.tennis_match] = "_Q47459169",
[PiPi.k.doub_record] = "_Q18123885",
[PiPi.k.sing_record] = "_Q18123880",
[PiPi.k.mixed_doubles] = "_Q16629853",
[PiPi.k.hof] = "_Q52454",
[PiPi.k.atp] = "_Q744089",
[PiPi.k.wta] = "_Q948442",
[PiPi.k.ATP_WTA_ranking] = "_Q1571500",
[PiPi.k.last_record] = "_Q30013662",
[PiPi.k.record] = "_Q1241356",
-- 6.6.3 Sports race -->
[PiPi.k.period] = "_Q2199864",
[PiPi.k.youth_team] = "_Q599867",
[PiPi.k.national_team] = "_Q1194951",
[PiPi.k.team] = "_Q327245",
[PiPi.k.competition] = "_Q841654",
[PiPi.k.vehicle] = "_Q42889",
[PiPi.k.matches_played] = "_P1350",
[PiPi.k.goals_scored] = "_P1351",
-- 6.6.4 Unclassified block -->
[PiPi.k.hd_participant_of] = "_P1344",
-- 6.7. WORK BLOCK -->
[PiPi.k.hd_works] = "_Q386724",
[PiPi.k.early_works] = "_Q55561371",
[PiPi.k.broadcasting_program] = "_Q11578774",
-- 6.7.1. ACTOR BLOCK -->
[PiPi.k.series] = "_Q7725310",
[PiPi.k.films] = "_Q1371849",
[PiPi.k.cast] = "_Q11578774",
-- 6.7.2. CREATOR & ARTIST BLOCK -->
[PiPi.k.hd_notable_work] = "_P800",
-- 6.7.3. ARCHITECT BLOCK -->
[PiPi.k.project] = "_Q55562011",
-- 6.7.4. SCIENTIFIC BLOCK -->
[PiPi.k.doctoral_student] = "_Q12764792",
[PiPi.k.botanist_author_abbrev] = "_P428",
[PiPi.k.zoologist_author_abbrev]= "_Q788451",
[PiPi.k.archives_at] = "_Q166118",
[PiPi.k.hd_repertoire] = "_Q2145110",
[PiPi.k.hd_trajectory] = "_Q193139",
-- 7. FAMILY/OTHER SECTION -->
-- 7.1 FAMILY BLOCK -->
[PiPi.k.hd_family] = "_Q8436",
[PiPi.k.noble_title] = "_Q355567",
[PiPi.k.family] = "_P53",
[PiPi.k.spouse] = "_Q1196129",
[PiPi.k.partner] = "_Q841509",
[PiPi.k.child] = "_P40",
[PiPi.k.progenitors] = "_Q7566",
[PiPi.k.father] = "_Q7565",
[PiPi.k.mother] = "_Q7560",
[PiPi.k.sibling] = "_Q31184",
[PiPi.k.relatives] = "_P1038",
-- 7.2 OTHER BLOCK -->
[PiPi.k.hd_others] = "_Q55107540",
[PiPi.k.charge] = "_P1595",
[PiPi.k.convicted_of] = "_P1399",
[PiPi.k.end_cause] = "_Q22087155",
[PiPi.k.court] = "_P4884",
[PiPi.k.dedicated_article] = "_Q1200750",
[PiPi.k.significant_event] = "_Q130788",
-- 8. AWARD SECTION -->
[PiPi.k.hd_award_received] = "_Q618779",
[PiPi.k.for_work] = "_P1686",
[PiPi.k.conferred_by] = "_P1027",
[PiPi.k.of] = "_P642",
[PiPi.k.memorials] = "_Q4989906",
-- 9. NOTABLE WORK SECTION (ARTISTS AND ARCHITECTS) -->
-- 10. BOTTOM SECTION -->
[PiPi.k.signature] = "_P109",
[PiPi.k.voice_recording] = "_P990",
[PiPi.k.official_website] = "_Q35127",
[PiPi.k.medal_table] = "_Q1915979",
[PiPi.k.notes] = "_Q12823770",
},
}
function p.infobox(frame)
local pargs, NPArgs, args, NArgs = SA.GetArgsT (frame)
MLMT.SetLang (args)
GIBTi18n = require (SA.I18nName ("Global infobox tools/prova"))
PiPi18n = require (SA.I18nName ("Preinfobox person/prova"))
GIBT.SetColorsAndIcon (ModuleName,
GIBTi18n.lcol.person, --group color
GIBTi18n.licon.person) --icon key, and optional hint
items, PiPi18n.items = GIBT.CheckArgLab (ModuleName, items, PiPi18n.items, PiPi18n.omit_params, PiPi18n.preset_params)
PiPi.arg_lims = GIBT.CheckAddLocalAdminLims (ModuleName, PiPi.arg_lims, PiPi18n.new_lims)
local itemsM = GIBT.tableMerge (ModuleName, items, PiPi18n.items)
PiPi.idx = GIBT.CheckIdx_arglab (ModuleName, PiPi.idx, PiPi18n.omit_params)
GIBT.i_LoadI18n ()
--read arguments---
args = GIBT.SetRsv_2ToArgs (ModuleName, frame, pargs, args, rs, PiPi18n.rs_val, cat, rss, PiPi18n.rss_val, PiPi.arg_lims)
itemsM, items, PiPi.idx = GIBT.GetParamNFromT (ModuleName, itemsM, items, PiPi.idx, PiPi18n.new_args, PiPi18n.new_pos)
--SD.vtos (itemsM[MLMT.k.Args][GIBTi.rk.name])
--SD.vtos (itemsM[MLMT.k.Args][PiPi.k.religion])
--error (SD.s)
MLMT.IniLang (frame, args)
--local icon_at_position = GIBT.GetRSBool (PiPi.k.rs_icon_at_position, PiPi18n.preset_val, true)
SA.Error.handle = true
--END INITIALIZATION
---LABEL FUNCTIONS---
function label_of_keys (key, labels)
--Send a text label, but the hint text contains several argument names.
GIBT.lbl_of_key (key, GIBT.label_of_key_w_hint_txts (args, itemsM, key, labels))
end
--BEGIN--
local res = GIBT.ItemList_or_TempData (args, 'PiP', ModuleName, items, PiPi18n.items, PiPi.idx, PiPi.arg_lims)
if res == nil then
GIBT.IniPreinfo (args, itemsM, PiPi18n.preset_params)
-- set of unusual labels/arguments to send --
local rss = { --reserved keys and their values for this infobox (specific)
[PiPi.krs.rs_icon_at_position] = true,
}
---GIBT.arg_of_rsbool (args, PiPi.k.rs_icon_at_position, icon_at_position)
--GIBT.rsval_of_key (GIBT.GetCateg (args, itemsM, GIBTi.k.rs_categ_no_image)) ??
label_of_keys (PiPi.k.birth, {PiPi.k.date_birth,PiPi.k.place_birth})
label_of_keys (PiPi.k.death, {PiPi.k.date_death,PiPi.k.place_death})
label_of_keys (PiPi.k.date_beatification, {PiPi.k.date_beatification,PiPi.k.place_beatification,PiPi.k.beatification_by})
label_of_keys (PiPi.k.date_canonization, {PiPi.k.date_canonization,PiPi.k.place_canonization,PiPi.k.canonization_by})
GIBT.std_lab_arg_to_tab (frame, args, itemsM, PiPi.idx, PiPi.arg_lims,
PiPi18n.local_func, PiPi.lab_no_ruby, PiPi18n.omit_params) --set of usual labels/arguments to send --
return GIBT.SendToTemplate (frame, args, itemsM, 'Global infobox person')
else
return res
end
end --infobox
return p