Template:Part config

From Kerbal Space Program Wiki
Revision as of 00:04, 31 October 2021 by MasterShadow (talk | contribs)
Jump to: navigation, search
This is the configuration file for a part.
{{#if: {{{2}}}|
</includeonly> style="white-space:pre-wrap;"><!--
-->{{#if:{{{2|}}}|{{{2}}}<noinclude>|Sample text
on several lines</noinclude>}}<!--
-->
Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Part config

Usage

{{Part config|Part name|2=Config file}}

# 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 adds the page to Category:Part configuration files.