Template:Parameter Row: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
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>

Latest revision as of 21:13, 24 April 2020


Pen.png This page needs revising!

The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example.
The revision reason is: "Only used in Template:Parameter_Table? Possible delete-candidate. Needs full review / analysis."
Marked by: "Helpful Herbert (talk) 21:13, 24 April 2020 (UTC)"



Creates one row of a parameter table.

#/Name -| 1 | Template:No| NameTemplate:If|-| 2 | Template:No| DescriptionTemplate:If|-| 3 | Template:Yes| Default value. If set, set parameter to optional.Template:IfDefault: Not set|-| 4 | Template:Yes| Indentation of parameter name to show dependency. Any number > 0.Template:IfDefault: No indentation|-| name2 or name3| Template:Yes| Alternative name.Template:IfDefault: Not set/Hidden|-| default paragraphed | Template:Yes| Set to y if the default value should be shown in a separate paragraph.Template:IfDefault: Not set|}