Difference between revisions of "Template:Parameter table"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed Parameter Table to Parameter table;)
m
 
(One intermediate revision by one other user 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=

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