Template:Navbox Parts: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Removed parts type param mention Tag: 2017 source edit  | 
				 Added part type template data for part categories Tag: 2017 source edit  | 
				||
| Line 3: | Line 3: | ||
</noinclude>  | </noinclude>  | ||
<  | <noinclude>  | ||
[[Category:  | [[Category:Templates]]  | ||
</  | <templatedata>  | ||
{  | |||
	"params": {  | |||
		"Part Type": {  | |||
			"label": "Part Type",  | |||
			"description": "The category of parts this part belongs to.",  | |||
			"example": "Engines, Fuel Tanks, Utility, etc.",  | |||
			"type": "string",  | |||
			"suggestedvalues": [  | |||
				"[[Category:Command Modules]]",  | |||
				"[[Category:Fuel Tanks]]",  | |||
				"[[Category:Engines]]",  | |||
				"[[Category:Structures]]",  | |||
				"[[Category:Couplings]]",  | |||
				"[[Category:Payloads]]",  | |||
				"[[Category:Aerodynamics]]",  | |||
				"[[Category:Ground]]",  | |||
				"[[Category:Thermal]]",  | |||
				"[[Category:Electrical]]",  | |||
				"[[Category:Communication]]",  | |||
				"[[Category:Utility]]",  | |||
				"[[Category:Science]]"  | |||
			],  | |||
			"suggested": true  | |||
		}  | |||
	},  | |||
	"description": "Navigation box for all parts in the game, separated by type. Accepts a part type to automatically add that Category to the page."  | |||
}  | |||
</templatedata></noinclude>  | |||
{{Navbox  | {{Navbox  | ||
| Line 187: | Line 215: | ||
}}  | }}  | ||
<  | |||
[[Category:  | <includeonly>  | ||
</  | [[Category:Parts]]  | ||
</includeonly>  | |||
Revision as of 16:58, 8 September 2024
This is the layout for the Parts Navbox which goes at the bottom of each part article. The navbox sections are collapsed by default because this thing is huge and would take up more screen space than the content of most part articles. It adds the [[Parts]] category by default and can add a part type category via parameter.
Navigation box for all parts in the game, separated by type. Accepts a part type to automatically add that Category to the page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Part Type | Part Type | The category of parts this part belongs to. 
  | String | suggested |