Difference between revisions of "Template:Parameter table"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed Parameter Table to Parameter table;)
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
Line 5: Line 5:
 
{{{parameters|{{!}}-
 
{{{parameters|{{!}}-
 
{{!}} colspan="3" {{!}} parameters have to be set!}}}
 
{{!}} colspan="3" {{!}} parameters have to be set!}}}
|}<noinclude>Parameter table header.
+
|}</includeonly><noinclude>=== Parameter table header ===
  
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=

Revision as of 18:16, 15 October 2015

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