Difference between revisions of "Template:Part config"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';)
m (*renamed Parameter Table to Parameter table;)
Line 4: Line 4:
 
<includeonly>[[Category:Part configuration files|{{#titleparts:{{PAGENAME}}|1|{{#if: {{#titleparts:{{PAGENAME}}|1|4}}|3|2}}}}]]</includeonly><noinclude>
 
<includeonly>[[Category:Part configuration files|{{#titleparts:{{PAGENAME}}|1|{{#if: {{#titleparts:{{PAGENAME}}|1|4}}|3|2}}}}]]</includeonly><noinclude>
 
----
 
----
{{Parameter Table|parameters=
+
{{Parameter table|parameters=
 
{{Parameter row|1|The part's name. Creates a link to it when set.|Not set/<tt>a part</tt>}}
 
{{Parameter row|1|The part's name. Creates a link to it when set.|Not set/<tt>a part</tt>}}
 
{{Parameter row|2|2=The part's config without &lt;pre&gt; tags. When multiple curly brackets (<tt>}</tt>) are in the configuration directly together use the HTML entity &amp;#125;. Most likely this has to be given explicitly (''<tt>2=...</tt>'').|3=Not set/Hidden}}
 
{{Parameter row|2|2=The part's config without &lt;pre&gt; tags. When multiple curly brackets (<tt>}</tt>) are in the configuration directly together use the HTML entity &amp;#125;. Most likely this has to be given explicitly (''<tt>2=...</tt>'').|3=Not set/Hidden}}

Revision as of 12:12, 19 December 2014

This is the configuration file for a part.
{{{2}}}

# Optional Description Default
1 Yes The part's name. Creates a link to it when set. Not set/a part
2 Yes The part's config without <pre> tags. When multiple curly brackets (}) are in the configuration directly together use the HTML entity &#125;. Most likely this has to be given explicitly (2=...). Not set/Hidden

This template automatically add the file to Category:Part configuration files.