Template:Cmd
Jump to navigation
Jump to search
[[Command/{{{1}}}|\{{{1}}}]]
Link to a command; any text in the second template parameter is comes right after the command, in typewriter font. Passing parameters is optional.
Usage:
{{cmd|startalign}} {{cmd|startalign|[middle]}} {{cmd|section|{First section}}}
Result:
<tt>[[Command/startalign|\startalign]]</tt> <tt>[[Command/startalign|\startalign]][middle]</tt> <tt>[[Command/startalign|\startalign]]{First section}</tt>
Display:
- \startalignment
- \startalignment[middle]
- \section{First section}