User:Esteis/New command template

From ConTeXt wiki

Example of a Semantic Form: http://www.placeography.org/index.php?title=470_Hopkins_Street%2C_Saint_Paul%2C_Minnesota&action=formedit

{{command infobox
| commandname = ...
| alias1 = ...
| alias2 = ...
| inheritsfrom1 = ... (mechanism it inherits from; possibly ''primitive'')
| inheritsfrom2 = ... (some things, like footnotes, use multiple mechanisms)
}}

{{command invocation
| commandname = ...
| argname1 = ...
| brackettype1 = ...
| arg2 = ...
| brackettype2 = ...
}}

{{command invocation
| commandname = ...
| argname1 = ...
| brackettype1 = ...
| arg2 = ...
| brackettype2 = ...
}}

{{arg
| command = somecommandthat
| argname = 
| brackettype = square/brace|braces|curly/none
| argtype = keywords/keyval/other
| possible values described = ... (a wikitable)
}}
{{command page
| commandname = placefigure
| mechanism1 = placeFLOAT
| invocation1 = \placefigure[''placement''][''label'']{''caption''}{''float contents''}
| invocation2 = \placefigure[''placement'']{''caption''}{''float contents''}
| invocation2 = \placefigure{''caption''}{''float contents''}
<!-- -->
| arg1     = ''placement keywords''
| bracket1 = [
| arg2     = ''references''
| bracket2 = [
| arg3     = ''caption''
| bracket3 = {
| arg4     = ''float contents''
| bracket4 = {
<!-- argument description section -->
| describe_arg1 = stuff and bother
<!-- rest -->
| description = ...
| examples = ...
| seealso = ...
}}