Difference between revisions of "User:Esteis/New command template"
Jump to navigation
Jump to search
Line 40: | Line 40: | ||
| commandname = placefigure | | commandname = placefigure | ||
| mechanism1 = placefigure | | mechanism1 = placefigure | ||
− | | invocation1 = \placefigure[''placement | + | | invocation1 = \placefigure[''placement''][''label'']{''caption''}{''float contents''} |
− | | invocation2 = \placefigure[''placement | + | | invocation2 = \placefigure[''placement'']{''caption''}{''float contents''} |
| invocation2 = \placefigure{''caption''}{''float contents''} | | invocation2 = \placefigure{''caption''}{''float contents''} | ||
<!-- --> | <!-- --> | ||
Line 53: | Line 53: | ||
| bracket4 = { | | bracket4 = { | ||
<!-- argument description section --> | <!-- argument description section --> | ||
+ | | describe_arg1 = stuff and bother | ||
<!-- rest --> | <!-- rest --> | ||
| description = ... | | description = ... |
Revision as of 17:57, 13 February 2013
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 = placefigure | 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 = ... }}