Module:Data/PageSections: Difference between revisions

Current answers. Practical procedures. Reliable reference.
Jump to navigation Jump to search
Add primary topic hub section mappings
Add Ships hub section mapping
Line 21: Line 21:
["Game Reference"] = "Reference",
["Game Reference"] = "Reference",
["Ships and Equipment"] = "Ships & Equipment",
["Ships and Equipment"] = "Ships & Equipment",
["Ships"] = "Ships & Equipment",
["Ship Modules"] = "Ships & Equipment",
["Ship Modules"] = "Ships & Equipment",
["Engineering"] = "Engineering",
["Engineering"] = "Engineering",

Revision as of 21:27, 24 August 2026

Documentation for this module may be created at Module:Data/PageSections/doc

return {
	fallback = "Reference",
	typeToSection = {
		engineer = "Engineering",
		ship = "Ships & Equipment",
		ship_module = "Ships & Equipment",
		ship_weapon = "Ships & Equipment",
		guardian_module = "Guardian Technology",
		thargoid_module = "Thargoids",
		mining_method = "Mining",
		mining_equipment = "Mining",
		mining_location = "Mining",
		mining_commodity = "Mining",
		field_procedure = "Field Procedures",
	},
	exactSections = {
		["Start Here"] = "New Commanders",
		["New Commander Roadmap"] = "New Commanders",
		["Returning Commander Overview"] = "Returning Commanders",
		["Field Procedures"] = "Field Procedures",
		["Game Reference"] = "Reference",
		["Ships and Equipment"] = "Ships & Equipment",
		["Ships"] = "Ships & Equipment",
		["Ship Modules"] = "Ships & Equipment",
		["Engineering"] = "Engineering",
		["Engineers"] = "Engineering",
		["Engineer Unlock Guide"] = "Engineering",
		["Engineer Capability Comparison"] = "Engineering",
		["Engineering Blueprints"] = "Engineering",
		["Engineering Materials"] = "Engineering",
		["Experimental Effects"] = "Engineering",
		["Mining"] = "Mining",
		["Combat"] = "Combat",
		["Exploration"] = "Exploration",
		["Exobiology"] = "Exobiology",
		["Background Simulation"] = "Background Simulation",
		["Guardian"] = "Guardian Technology",
		["Guardian Tech"] = "Guardian Technology",
		["Guardian Technology"] = "Guardian Technology",
		["Thargoids"] = "Thargoids",
		["Thargoid"] = "Thargoids",
		["Odyssey"] = "Odyssey",
		["Powerplay"] = "Powerplay",
		["Colonisation"] = "Colonisation",
		["Operations"] = "Operations",
		["Fleet Carriers"] = "Fleet Carriers",
		["Lore and History"] = "Lore & History",
		["Tools and Resources"] = "Reference",
	},
	familyRules = {
		{ prefix = "Unlocking ", section = "Field Procedures", reason = "Dedicated unlock procedure page family" },
		{ prefix = "How to ", section = "Field Procedures", reason = "Dedicated task procedure page family" },
	},
	titleContainsRules = {
		{ text = "Guardian", section = "Guardian Technology", reason = "Guardian technology article family" },
		{ text = "Thargoid", section = "Thargoids", reason = "Thargoid/xeno article family" },
		{ text = "Xeno", section = "Thargoids", reason = "Thargoid/xeno article family" },
		{ text = "AX ", section = "Thargoids", reason = "Anti-xeno article family" },
	},
}