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
m (closed Gumball apostrophes)
Tag: 2017 source edit
 
(3 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.
</noinclude>


<noinclude>
[[Category:Templates]]
[[Category:Templates]]
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"Part Type": {
"Part Type Category": {
"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 33: Line 31:
"description": "Navigation box for all parts in the game, separated by type. Accepts a part type to automatically add that Category to the page."
"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>
</templatedata>
</noinclude>
 
 
<includeonly>
{{{Part Type Category}}}
[[Category:Parts]]
</includeonly>
 


{{Navbox
{{Navbox
Line 43: 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 214: Line 220:
  }}
  }}
}}
}}
<includeonly>
[[Category:Parts]]
</includeonly>

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