Difference between revisions of "Template:Infobox/Part/Parameters"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (!cat name;) |
m (*new name;) |
||
Line 4: | Line 4: | ||
{{!}}- | {{!}}- | ||
! colspan="3" {{!}} Parameters of {{Tl|Infobox/Part}}}} | ! colspan="3" {{!}} Parameters of {{Tl|Infobox/Part}}}} | ||
− | {{ | + | {{Parameter Row|name|Name of part.|<nowiki>{{BASEPAGENAME}}</nowiki>}} |
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | ||
− | {{ | + | {{Parameter Row|role|Role of the part}} |
− | {{ | + | {{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|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|costs|Costs of the part}} |
− | {{ | + | {{Parameter Row|mass|Mass of the part}} |
− | {{ | + | {{Parameter Row|drag|Drag of the part}} |
{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part| | ||
− | {{ | + | {{Parameter Row|drag type|Drag type of the part}}}} |
− | {{ | + | {{Parameter Row|temp|Temperature resistance 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:Manufacturer]]). Automatically uses {{Tl|Infobox/Part/Manufacturer}} on it.|Not set/Hidden}} |
− | {{#if: {{{more|}}}{{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|1}}|{{ | + | {{#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 }}[[Template:Infobox/Part#More_Parameter|More Parameter]]).|Not set}}}} |
− | {{ | + | {{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>.}} |
− | {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|{{ | + | {{#ifeq: {{FULLPAGENAME}}|Template:Infobox/Part|{{Parameter Row|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|Infobox/Part}}. | }}</includeonly><noinclude>Creates a parameters table for the templates of {{Tl|Infobox/Part}}. | ||
== Parameters == | == Parameters == | ||
{{Parameter Table|name=text|parameters= | {{Parameter Table|name=text|parameters= | ||
− | {{ | + | {{Parameter Row|additional|List additional parameters.|Not set}} |
− | {{ | + | {{Parameter Row|more|Allow <tt>{{{More}}}</tt> parameter.|No}} |
− | {{ | + | {{Parameter Row|def size|Default size value.|<tt>Not set</tt>}} |
}} | }} | ||
== Additional parameters == | == Additional parameters == | ||
− | To add additional parameters add a row for each parameter using {{Tl| | + | To add additional parameters add a row for each parameter using {{Tl|Parameter Row}}. |
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 15:46, 12 July 2013
Creates a parameters table for the templates of {{Infobox/Part}}.
Parameters
Additional parameters
To add additional parameters add a row for each parameter using {{Parameter Row}}.