Template:Property row: Difference between revisions

Template: one row of a property table
 
American spelling
 
Line 8: Line 8:
== Parameters ==
== Parameters ==
* <code>name</code>: the label exactly as the editor shows it.
* <code>name</code>: the label exactly as the editor shows it.
* <code>type</code>: what kind of value it is (Check box, Number, Metres, Colour, List...).
* <code>type</code>: what kind of value it is (Check box, Number, Meters, Color, List...).
* <code>default</code>: its value on a new object or a fresh install.
* <code>default</code>: its value on a new object or a fresh install.
* <code>desc</code>: what it does. Use <code>&#124;</code> or <code><nowiki>{{!}}</nowiki></code> for a pipe character.
* <code>desc</code>: what it does. Use <code>&#124;</code> or <code><nowiki>{{!}}</nowiki></code> for a pipe character.