Difference between revisions of "User:Esteis/New command template"
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
| command = somecommandthat | | command = somecommandthat | ||
| argname = | | argname = | ||
− | | brackettype = square/brace/none | + | | brackettype = square/brace|braces|curly/none |
| argtype = keywords/keyval/other | | argtype = keywords/keyval/other | ||
| possible values described = ... (a wikitable) | | possible values described = ... (a wikitable) | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | |||
+ | </pre> | ||
+ | {{command page | ||
+ | | commandname = placefigure | ||
+ | | mechanism1 = placefigure | ||
+ | | invocation1 = \placefigure[''placement keywords''][''references'']{''caption''}{''float contents''} | ||
+ | | invocation2 = \placefigure[''placement keywords'']{''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 --> | ||
+ | <!-- rest --> | ||
+ | | description = ... | ||
+ | | examples = ... | ||
+ | | seealso = ... | ||
}} | }} | ||
</pre> | </pre> |
Revision as of 00:08, 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) }}