Difference between revisions of "Template:Parameter row"
From Kerbal Space Program Wiki
m (XZise moved page Template:ParameterRow to Template:Parameter Row: Nicer name) |
m (*new name;) |
||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
| {{#if: {{{4|}}}|style="padding-left:{{#expr: {{{4}}}*2}}em" {{!}}|}} <tt>{{{1}}}</tt> {{#if: {{{name2|}}}|{{#if: {{{name3|}}}|,|or}} <tt>{{{name2|}}}</tt> {{#if: {{{name3|}}}|or <tt>{{{name3|}}}</tt>}}}} | | {{#if: {{{4|}}}|style="padding-left:{{#expr: {{{4}}}*2}}em" {{!}}|}} <tt>{{{1}}}</tt> {{#if: {{{name2|}}}|{{#if: {{{name3|}}}|,|or}} <tt>{{{name2|}}}</tt> {{#if: {{{name3|}}}|or <tt>{{{name3|}}}</tt>}}}} | ||
− | | {{#if: {{{3|}}}|{{Yes}}|{{No}}}} | + | | {{#if: {{{3|}}}|{{Yes}}|{{No}}}} |
| {{{2}}} {{#if: {{{3|}}}|Default: {{{3}}}}}</includeonly><noinclude>Creates one row of a parameter table. | | {{{2}}} {{#if: {{{3|}}}|Default: {{{3}}}}}</includeonly><noinclude>Creates one row of a parameter table. | ||
{{Parameter Table|name=both|parameters= | {{Parameter Table|name=both|parameters= | ||
− | {{ | + | {{Parameter Row|1|Name}} |
− | {{ | + | {{Parameter Row|2|Description}} |
− | {{ | + | {{Parameter Row|3|Default value. If set, set parameter to optional.|Not set}} |
− | {{ | + | {{Parameter Row|4|Indentation of parameter name to show dependency. Any number > 0.|No indentation}} |
− | {{ | + | {{Parameter Row|name2|name2=name3|Alternative name.|Not set/Hidden}} |
}} | }} | ||
− | [[Category:Templates | + | [[Category:Templates]]</noinclude> |
Revision as of 15:14, 12 July 2013
Creates one row of a parameter table.