Policy: Scripting Command Page Syntax – Talk
Jump to navigation
Jump to search
m (Removed bogus |) |
(Extended syntax line policy) |
||
Line 4: | Line 4: | ||
Types are written with leading uppercase. | Types are written with leading uppercase. | ||
'''Syntax line:''' | |||
The parameters should be specified as names only, with types specified below, like this: | The parameters should be specified as names only, with types specified below, like this: | ||
Line 12: | Line 14: | ||
Parameter 2: b: [[Number]] | Parameter 2: b: [[Number]] | ||
In the syntax line the parameter names are written bold, command is in plain text. | |||
What to do with array parameters? | |||
--[[User:Suma|Suma]] 10:36, 6 September 2007 (CEST) | --[[User:Suma|Suma]] 10:36, 6 September 2007 (CEST) |
Revision as of 09:42, 6 September 2007
Proposal:
Values and commands are written with leading lowercase
Types are written with leading uppercase.
Syntax line:
The parameters should be specified as names only, with types specified below, like this:
Syntax: a min b
Parameter 1: a: Number
Parameter 2: b: Number
In the syntax line the parameter names are written bold, command is in plain text.
What to do with array parameters?
--Suma 10:36, 6 September 2007 (CEST)