Difference between revisions of "Template:Infobox/Part/Parameters"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+research (page);)
m (*link to svg instead of the png; -random case; -"not official" research (page) parameters;)
Line 8: Line 8:
 
{{Parameter Row|role|Role of the part}}
 
{{Parameter Row|role|Role of the part}}
 
{{Parameter Row|class|The Part module the part uses|Unknown}}}}
 
{{Parameter Row|class|The Part module the part uses|Unknown}}}}
{{Parameter Row|file|Filename to image of the part.|[[:File:Image-needed.png]]}}
+
{{Parameter Row|file|Filename to image of the part.|[[:File:Image needed.svg]]}}
 
{{Parameter Row|size|Radial size of the part (uses {{Tl|Radial Size}}).|{{#if: {{{def size|}}}|<tt>{{{def size}}}</tt> ({{Radial Size|{{{def size}}}}})|Not set/Hidden}}}}
 
{{Parameter Row|size|Radial size of the part (uses {{Tl|Radial Size}}).|{{#if: {{{def size|}}}|<tt>{{{def size}}}</tt> ({{Radial Size|{{{def size}}}}})|Not set/Hidden}}}}
 
{{Parameter Row|size2|Second radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden|1}}
 
{{Parameter Row|size2|Second radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden|1}}
Line 18: Line 18:
 
{{Parameter Row|temp|Temperature resistance of the part}}
 
{{Parameter Row|temp|Temperature resistance of the part}}
 
{{Parameter Row|tolerance|Impact tolerance of the part}}
 
{{Parameter Row|tolerance|Impact tolerance of the part}}
{{Parameter Row|manufacturer|Manufacturer of the part. If set linked to the category of this name (see also [[:Category:Manufacturers]]). Automatically uses {{Tl|Infobox/Part/Manufacturer}} on it.|Not set/Hidden}}
+
{{Parameter Row|manufacturer|Manufacturer of the part. If set linked to the category of this name (see also [[:Category:Manufacturers]]). Automatically uses {{Tl|Infobox/Part/Manufacturer}} and {{Tl|Infobox/Part/Manufacturer Entry}} on it.|Not set/Hidden}}
{{#if: {{{more|}}}{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|1}}|{{Parameter Row|more|More module-specific information (see {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part||{{Tl|Infobox/Part}} section&#32;}}[[Template:Infobox/Part#More_Parameter|More Parameter]]).|Not set}}}}
+
{{#if: {{{more|}}}{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|1}}|{{Parameter Row|more|More module-specific information (see {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part||{{Tl|Infobox/Part}} section&#32;}}[[Template:Infobox/Part#More parameter|More parameter]]).|Not set}}}}
{{Parameter Row|research|Research node required for this part. '''Not official'''; please [[Template_talk:Infobox/Part#tech_tree|discuss this]].|Unknown}}
+
{{Parameter Row|research|Research node required for this part. Not all subtemplates support this parameter yet.|Unknown}}
{{Parameter Row|research page|Article of the research node required for this part. Don't use link to [[technology tree]], but instead redirect from the node if wished. '''Not official.'''|The same as research|1}}
+
{{Parameter Row|research page|Article of the research node required for this part. Don't use link to [[technology tree]], but instead redirect from the node if wished. Not all subtemplates support this parameter yet.|The same as {{{research}}}|1}}
 
{{Parameter Row|since|Version the part first appeared in. It will be used in {{Tl|version}}.|Unknown}}
 
{{Parameter Row|since|Version the part first appeared in. It will be used in {{Tl|version}}.|Unknown}}
 
{{Parameter Row|part|Name of the part folder. Used for link to cfg-entry in wiki. It will create a link to <tt><nowiki>Parts/{{{parent}}}/{{{part}}}/part.cfg</nowiki></tt>.}}
 
{{Parameter Row|part|Name of the part folder. Used for link to cfg-entry in wiki. It will create a link to <tt><nowiki>Parts/{{{parent}}}/{{{part}}}/part.cfg</nowiki></tt>.}}

Revision as of 14:37, 28 December 2013

Creates a parameters table for the templates of {{Infobox/Part}}.

Parameters

Template:Parameter Table

Additional parameters

To add additional parameters add a row for each parameter using {{Parameter Row}}.