Difference between revisions of "Template:Parameter table"
From Kerbal Space Program Wiki
m (!hover now uses correct class;) |
m (+both;) |
||
Line 1: | Line 1: | ||
{| class="wikitable {{#ifeq: {{{style|}}}|hover|mw-datatable}}" | {| class="wikitable {{#ifeq: {{{style|}}}|hover|mw-datatable}}" | ||
− | ! {{#switch: {{{name|number}}}|text=Name|#default|number=#}} | + | ! {{#switch: {{{name|number}}}|text=Name|both=#/Name|#default|number=#}} |
! Optional | ! Optional | ||
! Description | ! Description | ||
Line 9: | Line 9: | ||
{{Parameter Table|name=text|parameters= | {{Parameter Table|name=text|parameters= | ||
{{ParameterRow|parameter|All parameters. Should use {{Tl|ParameterRow}}.}} | {{ParameterRow|parameter|All parameters. Should use {{Tl|ParameterRow}}.}} | ||
− | {{ParameterRow|name|2=Show either “Name“ (<tt>name=text</tt>) | + | {{ParameterRow|name|2=Show either “Name“ (<tt>name=text</tt>), “#” (<tt>name=number</tt>) or “#/Name” (<tt>name=both</tt>) for the parameters name.|3=<tt>number</tt>}} |
{{ParameterRow|style|When set to <tt>hover</tt> all rows have rover style.|Not set}} | {{ParameterRow|style|When set to <tt>hover</tt> all rows have rover style.|Not set}} | ||
}} | }} |
Revision as of 23:14, 24 April 2013
# | Optional | Description |
---|---|---|
parameters have to be set! |