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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Template:Partbox/Parameters to Template:Infobox/Part/Parameters: new name structure)
m (*change links to new name;)
Line 1: Line 1:
 
<includeonly>{{Parameter Table|name=text|style=hover|parameters=
 
<includeonly>{{Parameter Table|name=text|style=hover|parameters=
{{#ifeq: {{FULLPAGENAME}}|Template:Partbox||
+
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part||
 
{{{additional|}}}
 
{{{additional|}}}
 
{{!}}-
 
{{!}}-
! colspan="3" {{!}} Parameters of {{Tl|Partbox}}}}
+
! colspan="3" {{!}} Parameters of {{Tl|Infobox/Part}}}}
 
{{ParameterRow|name|Name of part.|<nowiki>{{BASEPAGENAME}}</nowiki>}}
 
{{ParameterRow|name|Name of part.|<nowiki>{{BASEPAGENAME}}</nowiki>}}
{{#ifeq: {{FULLPAGENAME}}|Template:Partbox|
+
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|
 
{{ParameterRow|role|Role of the part}}
 
{{ParameterRow|role|Role of the part}}
 
{{ParameterRow|class|The Part module the part uses|Unknown}}}}
 
{{ParameterRow|class|The Part module the part uses|Unknown}}}}
Line 16: Line 16:
 
{{ParameterRow|temp|Temperature resistance of the part}}
 
{{ParameterRow|temp|Temperature resistance of the part}}
 
{{ParameterRow|tolerance|Impact tolerance of the part}}
 
{{ParameterRow|tolerance|Impact tolerance of the part}}
{{ParameterRow|manufacturer|Manufacturer of the part. If set linked to the category of this name (see also [[:Category:Manufacturers]]). Automatically uses {{Tl|Partbox/Manufacturer}} on it.|Not set/Hidden}}
+
{{ParameterRow|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}}
{{#if: {{{more|}}}{{#ifeq: {{FULLPAGENAME}}|Template:Partbox|1}}|{{ParameterRow|more|More module-specific information (see {{#ifeq: {{FULLPAGENAME}}|Template:Partbox||{{Tl|Partbox}} section&#32;}}[[Template:Partbox#More_Parameter|More Parameter]]).|Not set}}}}
+
{{#if: {{{more|}}}{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|1}}|{{ParameterRow|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}}}}
 
{{ParameterRow|since|Version the part first appeared in. It will be used in {{Tl|version}}.|Unknown}}
 
{{ParameterRow|since|Version the part first appeared in. It will be used in {{Tl|version}}.|Unknown}}
 
{{ParameterRow|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>.}}
 
{{ParameterRow|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>.}}
{{#ifeq: {{FULLPAGENAME}}|Template:Partbox|{{ParameterRow|parent|Parent directory of the part folder. Used for ''part.cfg'' file, see above.}}}}
+
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|{{ParameterRow|parent|Parent directory of the part folder. Used for ''part.cfg'' file, see above.}}}}
}}</includeonly><noinclude>Creates a parameters table for the templates of {{Tl|Partbox}}.
+
}}</includeonly><noinclude>Creates a parameters table for the templates of {{Tl|Infobox/Part}}.
  
 
== Parameters ==
 
== Parameters ==
Line 31: Line 31:
  
 
== Additional parameters ==
 
== Additional parameters ==
To add additional parameters add a row for each parameter using {{Tl|ParameterRow}}.</noinclude>
+
To add additional parameters add a row for each parameter using {{Tl|ParameterRow}}.
 +
 
 +
[[Category:Templates]]</noinclude>

Revision as of 22:44, 24 June 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 {{ParameterRow}}.