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
m (closed Gumball apostrophes)
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
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 <nowiki>[[Parts]]</nowiki> category by default and can add a part type category via parameter.
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 <nowiki>[[Parts]]</nowiki> category by default and can add a part type category via parameter.
[[Category:Templates]]
<templatedata>
{
"params": {
"Part Type Category": {
"label": "Part Type Category",
"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>
</noinclude>


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


{{Navbox
{{Navbox
Line 15: Line 49:
  | state = collapsed
  | state = collapsed
  | group1 = Pods
  | group1 = Pods
  | list1 = [[Mk1 "Explorer"]] · [[Mk1 "Tin Can"]] · [[Mk1-3 "Gumball]] · [[Mk2 "Tuna Can"]] · [[PPD-12 "Sightseer"]] · [[Mk3-5 "Cockatoo"]] · [[Mk3-5 "Wanderer"]]
  | list1 = [[Mk1 "Explorer"]] · [[Mk1 "Tin Can"]] · [[Mk1-3 "Gumball"]] · [[Mk2 "Tuna Can"]] · [[PPD-12 "Sightseer"]] · [[Mk3-5 "Cockatoo"]] · [[Mk3-5 "Wanderer"]]
  | group2 = Probes
  | group2 = Probes
  | list2 = [["Stayputnik"]] · [[HECS]] · [[OKTO]] · [[OKTO2]] · [[QBE]] · [[HECS2]] · [[RC-001S]] · [[RC-R "RoveMate"]] · [[Mk2-DC]] · [[RC-L01]] · [[RCHL02]] · [[RC-XL01]]
  | list2 = [["Stayputnik"]] · [[HECS]] · [[OKTO]] · [[OKTO2]] · [[QBE]] · [[HECS2]] · [[RC-001S]] · [[RC-R "RoveMate"]] · [[Mk2-DC]] · [[RC-L01]] · [[RCHL02]] · [[RC-XL01]]
Line 186: Line 220:
  }}
  }}
}}
}}
<noinclude>
[[Category:Templates]]
</noinclude>

Latest revision as of 03:31, 13 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 Category

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