Template:Parameter Row: Difference between revisions

Jump to navigation Jump to search
Added revision note. Fixed category.
imported>Rockdtben
(Created page with "<includeonly>|-| {{#if: {{{4|}}}|style="padding-left:{{#expr: {{{4}}}*2}}em" {{!}}|}} <tt style="white-space:nowrap;">{{{1}}}</tt> {{#if: {{{name2|}}}|{{#if: {{{name3|}}}|,|or...")
 
(Added revision note. Fixed category.)
 
Line 1: Line 1:
<includeonly>|-| {{#if: {{{4|}}}|style="padding-left:{{#expr: {{{4}}}*2}}em" {{!}}|}} <tt style="white-space:nowrap;">{{{1}}}</tt> {{#if: {{{name2|}}}|{{#if: {{{name3|}}}|,|or}} <tt style="white-space:nowrap;">{{{name2|}}}</tt> {{#if: {{{name3|}}}|or <tt style="white-space:nowrap;">{{{name3|}}}</tt>}}}}| {{#if: {{{3|}}}|{{Yes}}|{{No}}}}| {{{2}}}{{if|eq|{{lc:{{{default paragraphed|}}}}}|y|| }}{{#if: {{{3|}}}|Default: {{{3}}}}}</includeonly><noinclude>Creates one row of a parameter table.{{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}}{{Parameter Row|default paragraphed|Set to <tt>y</tt> if the default value should be shown in a separate paragraph.|Not set}}}}[[Category:Documentation templates]]</noinclude>
<includeonly>|-| {{#if: {{{4|}}}|style="padding-left:{{#expr: {{{4}}}*2}}em" {{!}}|}} <tt style="white-space:nowrap;">{{{1}}}</tt> {{#if: {{{name2|}}}|{{#if: {{{name3|}}}|,|or}} <tt style="white-space:nowrap;">{{{name2|}}}</tt> {{#if: {{{name3|}}}|or <tt style="white-space:nowrap;">{{{name3|}}}</tt>}}}}| {{#if: {{{3|}}}|{{Yes}}|{{No}}}}| {{{2}}}{{if|eq|{{lc:{{{default paragraphed|}}}}}|y|| }}{{#if: {{{3|}}}|Default: {{{3}}}}}</includeonly><noinclude>
{{Needs revision
|reason = Only used in [[Template:Parameter_Table]]? Possible delete-candidate. Needs full review / analysis.
|user = [[User:Helpful Herbert|Helpful Herbert]] ([[User talk:Helpful Herbert|talk]]) 21:13, 24 April 2020 (UTC)
}}
 
Creates one row of a parameter table.
{{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}}{{Parameter Row|default paragraphed|Set to <tt>y</tt> if the default value should be shown in a separate paragraph.|Not set}}}}[[Category:Templates]]</noinclude>
1,133

edits

Navigation menu