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
(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>


<includeonly>
<noinclude>
[[Category:Parts]]
[[Category:Templates]]
</includeonly>
<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:
}}
}}


<noinclude>
 
[[Category:Templates]]
<includeonly>
</noinclude>
[[Category:Parts]]
</includeonly>

Revision as of 15: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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Part TypePart 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