Difference between revisions of "Template:Part config"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+explicit second paramter;)
m (+automatic categories;)
Line 1: Line 1:
 
{{Box|type=notice|2=This is the configuration file for {{#if: {{{1|}}}|[[{{{1}}}]]|a part}}.}}{{#if: {{{2<includeonly>|</includeonly>}}}|
 
{{Box|type=notice|2=This is the configuration file for {{#if: {{{1|}}}|[[{{{1}}}]]|a part}}.}}{{#if: {{{2<includeonly>|</includeonly>}}}|
  
<pre<includeonly></includeonly> style="white-space:pre-wrap;">{{{2}}}</pre>}}<noinclude>
+
<pre<includeonly></includeonly> style="white-space:pre-wrap;">{{{2}}}</pre>}}
 +
[[Category:Part configuration file]]<noinclude>
 
----
 
----
 
{{Parameter Table|parameters=
 
{{Parameter Table|parameters=
Line 7: Line 8:
 
{{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}}
 
}}
 
}}
 +
 +
This template automatically add the file to [[Category:Part configuration file]].
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 20:00, 14 December 2013

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

Template:Parameter Table

This template automatically add the file to.