Changes

Jump to navigation Jump to search
650 bytes added ,  13:36, 20 July 2012
Update documentation to reflect new link=no parameter
{{documentation subpage}}
Link to a ConTeXt commandin the [[:Category:Commands|command reference]]. You can mention some parameters while you're at it; any and you can mention the command without linking to it by specifying {{code|1=link=no}}. When the text in passed to one of the second template parameters contains an equals sign, you must explicitly address that template parameter by name or number. This will usually happen with template parameter 2, which is comes right after used to specify the command, in typewriter font. Passing ConTeXt parameters is optional.
Usage:
<nowiki>{{cmd|startalignmentframed}}</nowiki> <nowiki>{{cmd|startalignmentframed|{text}}}</nowiki> <nowiki>{{cmd|framed|2=[width=2em]{text}}}</nowiki> <nowiki>{{cmd|framed|link=no}}</nowiki> <nowiki>{{cmd|framed|2=[middlewidth=2em]{text}|link=no}}</nowiki> <nowiki>{{cmd|sectionframed|2=[width=2em]{First sectiontext}|link=stuff}}</nowiki>
Result:
<nowiki><tt>[[Command/startalignmentframed|\startalignmentframed]]</tt></nowiki> <nowiki><tt>[[Command/startalignmentframed|\startalignmentframed]][middle]{text}</tt></nowiki> <nowiki><tt>[[Command/startalignmentframed|\startalignmentframed]][width=2em]{First sectiontext}</tt></nowiki> <nowiki><tt>\framed</tt></nowiki> <nowiki><tt>\framed[width=2em]{text}</tt></nowiki> '''(A warning)'''
Display:
* {{cmd|startalignmentframed}}* {{cmd|startalignmentframed|{text}}}* {{cmd|framed|2=[middlewidth=2em]{text}}}* {{cmd|sectionframed|link=no}}* {First section{cmd|framed|2=[width=2em]{text}|link=no}}* {{cmd|framed|2=[width=2em]{text}|link=stuff}}

Navigation menu