User:Utcursch/Migrate Infobox Indian Jurisdiction to Infobox settlement/main.js: Difference between revisions

Content deleted Content added
m fix
+
Line 177:
if (orig_infobox_params["districts"]) {
other_info["No. of districts"] = orig_infobox_params["districts"];
}
if (orig_infobox_params["taluk_names"]) {
other_info["[[Talukas]]"] = orig_infobox_params["taluk_names"];
}
if (orig_infobox_params["coastline"]) {
Line 349 ⟶ 346:
"| founder = " + "\n" +
"| named_for = " + "\n";
 
if (orig_infobox_params["taluk_names"]) {
new_infobox_str +=
"| parts_type = [[Taluka]]s" + "\n" +
other_info["[[Talukas]]"]| parts = " + orig_infobox_params["taluk_names"] + "\n";
}
 
if (orig_infobox_params["capital"]) {