Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Navbox Parts: Difference between revisions

Template page
(Added part type template data for part categories)
Tag: 2017 source edit
(Added part type category param to article categories section)
Tag: 2017 source edit
Line 9: Line 9:
"params": {
"params": {
"Part Type": {
"Part Type": {
"label": "Part Type",
"label": "Part Type Category",
"description": "The category of parts this part belongs to.",
"description": "The category of parts this part belongs to.",
"example": "Engines, Fuel Tanks, Utility, etc.",
"example": "Engines, Fuel Tanks, Utility, etc.",
Line 217: Line 217:


<includeonly>
<includeonly>
{{{Part Type Category}}}
[[Category:Parts]]
[[Category:Parts]]
</includeonly>
</includeonly>

Revision as of 16:01, 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Part Type CategoryPart Type

The category of parts this part belongs to.

Suggested values
[[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]]
Example
Engines, Fuel Tanks, Utility, etc.
Stringsuggested


MediaWiki Appliance - Powered by TurnKey Linux