Difference between revisions of "Template:Infobox/Part/Parameters"
From Kerbal Space Program Wiki
< Template:Infobox | Part
(Created page with "<includeonly>{| class="wikitable mw-datatable" ! Name ! Optional ! Description {{#ifeq: {{FULLPAGENAME}}|Template:Partbox|| {{{additional|}}} {{!}}- ! colspan="3" {{!}} Parame...") |
m (*update to lower case parameters;) |
||
Line 7: | Line 7: | ||
{{!}}- | {{!}}- | ||
! colspan="3" {{!}} Parameters of {{Tl|Partbox}}}} | ! colspan="3" {{!}} Parameters of {{Tl|Partbox}}}} | ||
− | {{ParameterRow| | + | {{ParameterRow|name|Name of part.|<nowiki>{{BASEPAGENAME}}</nowiki>}} |
{{#ifeq: {{FULLPAGENAME}}|Template:Partbox| | {{#ifeq: {{FULLPAGENAME}}|Template:Partbox| | ||
− | {{ParameterRow| | + | {{ParameterRow|role|Role of the part}} |
− | {{ParameterRow| | + | {{ParameterRow|class|The Part module the part uses|Unknown}}}} |
− | {{ParameterRow| | + | {{ParameterRow|file|Filename to image of the part.|[[:File:Image-needed.png]]}} |
{{ParameterRow|size|Radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden}} | {{ParameterRow|size|Radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden}} | ||
{{ParameterRow|size2|Second radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden|1}} | {{ParameterRow|size2|Second radial size of the part (uses {{Tl|Radial Size}}).|Not set/Hidden|1}} | ||
− | {{ParameterRow| | + | {{ParameterRow|costs|Costs of the part}} |
− | {{ParameterRow| | + | {{ParameterRow|mass|Mass of the part}} |
− | {{ParameterRow| | + | {{ParameterRow|drag|Drag of the part}} |
− | {{ParameterRow| | + | {{ParameterRow|temp|Temperature resistance of the part}} |
− | {{ParameterRow| | + | {{ParameterRow|tolerance|Impact tolerance of the part}} |
− | {{ParameterRow| | + | {{ParameterRow|manufacturer|Manufacturer of the part.|Not set/Hidden}} |
− | {{#if: {{{more|}}}{{#ifeq: {{FULLPAGENAME}}|Template:Partbox|1}}|{{ParameterRow| | + | {{#if: {{{more|}}}{{#ifeq: {{FULLPAGENAME}}|Template:Partbox|1}}|{{ParameterRow|more|More module-specific information (see {{#ifeq: {{FULLPAGENAME}}|Template:Partbox||{{Tl|Partbox}} section }}[[Template:Partbox#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|Link to cfg-entry in wiki. It will create a link to <tt><nowiki>Parts/{{{part}}}/parts.cfg</nowiki></tt>.}} | {{ParameterRow|part|Link to cfg-entry in wiki. It will create a link to <tt><nowiki>Parts/{{{part}}}/parts.cfg</nowiki></tt>.}} |
Revision as of 14:44, 13 April 2013
Creates a parameters table for the templates of {{Partbox}}.
Parameters
Name | Optional | Description |
---|---|---|
additional | Yes | List additional parameters. Default: Not set |
more | Yes | Allow {{{More}}} parameter. Default: No |
Additional parameters
To add additional parameters add a row for each parameter using {{ParameterRow}}.