Difference between revisions of "Template:Parameter table"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';)
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable {{#ifeq: {{{style|}}}|hover|mw-datatable}}"
+
<includeonly>{| class="wikitable {{#ifeq: {{{style|}}}|hover|mw-datatable}}"
 
! {{#switch: {{{name|number}}}|text=Name|both=&#35;/Name|#default|number=&#35;}}
 
! {{#switch: {{{name|number}}}|text=Name|both=&#35;/Name|#default|number=&#35;}}
 
! Optional
 
! Optional
 
! Description
 
! Description
 +
! Default
 
{{{parameters|{{!}}-
 
{{{parameters|{{!}}-
{{!}} colspan="3" {{!}} parameters have to be set!}}}
+
{{!}} colspan="4" {{!}} parameters have to be set!}}}
|}<noinclude>Parameter table header.
+
|}</includeonly><noinclude>=== Parameter table header ===
  
{{Parameter Table|name=text|parameters=
+
{{Parameter table|name=text|parameters=
 
{{Parameter row|parameter|All parameters. It is recommended to use {{Tl|Parameter row}}.}}
 
{{Parameter row|parameter|All parameters. It is recommended to use {{Tl|Parameter row}}.}}
 
{{Parameter row|name|2=Show either “Name“ (<tt>name=text</tt>), “&#35;” (<tt>name=number</tt>) or “#/Name” (<tt>name=both</tt>) for the parameters name.|3=<tt>number</tt>}}
 
{{Parameter row|name|2=Show either “Name“ (<tt>name=text</tt>), “&#35;” (<tt>name=number</tt>) or “#/Name” (<tt>name=both</tt>) for the parameters name.|3=<tt>number</tt>}}

Latest revision as of 19:19, 2 February 2020

Parameter table header

Name Optional Description Default
parameter No All parameters. It is recommended to use {{Parameter row}}.
name Yes Show either “Name“ (name=text), “#” (name=number) or “#/Name” (name=both) for the parameters name. number
style Yes When set to hover all rows have rover style. Not set